joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43b400
Capabilities:
Delete file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x589288
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x60e9b0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0xc4]
cmp eax, dword [esi + 0xc8]
jne 0x43b442
xor al, al
jmp 0x43b518
lea eax, [esi + 0x9c]
push eax
lea edx, [esi + 0x6c]
lea ecx, [ebp - 0x40]
call fcn.0043d870
push 0x6165a0
mov edx, eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.0043d820
mov eax, dword [ebp - 0x2c]
add esp, 8
cmp eax, 8
jb 0x43b482
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00407af0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 0
cmovae eax, dword [ebp - 0x28]
push 0x80
push 4
push 0
push 1
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x43b4ff
mov edi, dword [esi + 0xc8]
lea eax, [ebp - 0x44]
sub edi, dword [esi + 0xc4]
push 0
push eax
and edi, 0xffffffe0
mov dword [ebp - 0x44], 0
push edi
push dword [esi + 0xc4]
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x43b4e9
cmp edi, dword [ebp - 0x44]
je 0x43b4ff
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov bl, 1
jmp 0x43b501
xor bl, bl
mov ecx, dword [ebp - 0x14]
cmp ecx, 8
jb 0x43b516
inc ecx
push ecx
push dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
call fcn.00407af0
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00555b37
mov esp, ebp
pop ebp
ret
Function at 0x43b640
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5892be
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x60e9b0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0x6165a0
mov edx, esi
lea ecx, [ebp - 0x28]
call fcn.0043d870
add esp, 4
mov dword [ebp - 4], 0
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x6165b8
mov edx, esi
lea ecx, [ebp - 0x40]
call fcn.0043d870
add esp, 4
mov esi, eax
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x43b6e3
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x43b6c6
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00407af0
xor eax, eax
mov dword [ebp - 0x14], 7
push esi
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.0040f110
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x43b6f8
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00407af0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x43b71f
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00407af0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00555b37
mov esp, ebp
pop ebp
ret
Function at 0x43bad0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x589338
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x60e9b0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ecx + 0xc4]
lea edx, [ecx + 0x6c]
mov dword [ecx + 0xc8], eax
lea eax, [ecx + 0x9c]
push eax
lea ecx, [ebp - 0x40]
call fcn.0043d870
push 0x6165a0
mov edx, eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.0043d820
mov eax, dword [ebp - 0x2c]
add esp, 8
cmp eax, 8
jb 0x43bb45
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00407af0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 0x14]
cmp eax, 1
sete bl
cmp ecx, 8
jb 0x43bb72
inc ecx
push ecx
push dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
call fcn.00407af0
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00555b37
mov esp, ebp
pop ebp
ret
Function at 0x43bb90
Capabilities:
Check for time delay via gettickcount
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58936b
mov eax, dword fs:[0]
push eax
sub esp, 0x844
mov eax, dword [0x60e9b0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x834], edx
mov edi, ecx
xorps xmm0, xmm0
mov dword [ebp - 0x81c], 0xf
movsd qword [ebp - 0x840], xmm0
mov dword [ebp - 0x820], 0
mov byte [ebp - 0x830], 0
lea edx, [ebp - 0x830]
mov dword [ebp - 4], 0
call fcn.0043ba00
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x844], eax
call fcn.0046c9e0
cmp dword [ebp - 0x81c], 0x10
lea ecx, [ebp - 0x830]
mov esi, eax
cmovae ecx, dword [ebp - 0x830]
push ecx
push 0x2712
push esi
mov dword [ebp - 0x84c], esi
call fcn.0046ca40
add esp, 0xc
push 1
push 0x2c
push esi
call fcn.0046ca40
add esp, 0xc
push 0x5f33e4
push 0x2734
push esi
call fcn.0046ca40
add esp, 0xc
push 1
push 0x34
push esi
call fcn.0046ca40
add esp, 0xc
push 1
push 0x2a
push esi
call fcn.0046ca40
add esp, 0xc
push 0x14
push 0x44
push esi
call fcn.0046ca40
add esp, 0xc
mov ecx, edi
push 5
push 0
push str.https
call fcn.0043d4d0
test eax, eax
jne 0x43bcb5
push eax
push 0x40
push esi
call fcn.0046ca40
add esp, 0xc
push 0
push 0x51
push esi
call fcn.0046ca40
add esp, 0xc
push 0x1e
push 0xd
push esi
call fcn.0046ca40
add esp, 0xc
push 0x1e
push 0x4e
push esi
call fcn.0046ca40
add esp, 0xc
push 0x1e
push 0x5c
push esi
call fcn.0046ca40
add esp, 0xc
push esi
call fcn.0046ca20
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x43bd19
lea eax, [ebp - 0x840]
push eax
push 0x30000f
push esi
call fcn.0046c9c0
add esp, 0xc
push ebx
push 0x200002
push esi
call fcn.0046c9c0
movsd xmm1, qword [ebp - 0x840]
add esp, 0xc
jmp 0x43bd24
xorps xmm1, xmm1
movsd qword [ebp - 0x840], xmm1
cmp dword [ebp - 0x834], 0
je 0x43bdd2
movsd xmm0, qword [0x5f54d0]
comisd xmm0, xmm1
jbe 0x43bdd2
push 0x800
lea eax, [ebp - 0x818]
push 0
push eax
call fcn.00559270
add esp, 0xc
cmp dword [edi + 0x14], 8
jb 0x43bd61
mov edi, dword [edi]
push edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x844]
push eax
push 0
push ebx
push 0x5f33e8
lea eax, [ebp - 0x818]
push 0x400
push eax
call fcn.0040b760
add esp, 0x1c
lea eax, [ebp - 0x818]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp word [ebp - 0x818], 0
jne 0x43bda6
xor ecx, ecx
jmp 0x43bdbf
lea ecx, [ebp - 0x818]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43bdb0
sub ecx, edx
sar ecx, 1
push ecx
mov ecx, dword [ebp - 0x834]
lea eax, [ebp - 0x818]
push eax
call fcn.00406f40
push esi
call fcn.0046c9a0
add esp, 4
movsd xmm0, qword [ebp - 0x840]
mov eax, dword [ebp - 0x81c]
movsd qword [ebp - 0x850], xmm0
cmp eax, 0x10
jb 0x43be11
inc eax
lea ecx, [ebp - 0x830]
push eax
push dword [ebp - 0x830]
call fcn.00407990
movsd xmm0, qword [ebp - 0x850]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00555b37
mov esp, ebp
pop ebp
ret
Function at 0x43be40
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5893b0
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x60e9b0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [esi + 0x9c]
push eax
lea edx, [esi + 0x6c]
lea ecx, [ebp - 0x40]
call fcn.0043d870
add esp, 4
push 0x6165b8
mov edx, eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.0043d820
add esp, 4
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x43beb3
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00407af0
push 0
push 0x80
push 3
xor eax, eax
mov dword [ebp - 0x2c], 7
cmp dword [ebp - 0x14], 8
push 0
mov word [ebp - 0x40], ax
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push 1
push 0xc0000000
push eax
mov dword [ebp - 0x30], 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x43bf11
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, esi
call fcn.0043bad0
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 0
cmovae eax, dword [ebp - 0x28]
push 0x80
push 4
push 0
push 1
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ecx, dword [ebp - 0x14]
cmp eax, 0xffffffff
mov dword [esi + 0xd0], eax
setne bl
cmp ecx, 8
jb 0x43bf5d
inc ecx
push ecx
push dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
call fcn.00407af0
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00555b37
mov esp, ebp
pop ebp
ret

Function at 0x43bf80
Capabilities:
Create thread

Disassembly:
push edi
mov edi, ecx
push dword [edi + 0xd4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push 0
push 0
push 1
push 0
mov dword [edi + 0xd4], eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push 0
push 0
push edi
push 0x43c000
push 0
push 0
mov dword [edi + 0xd8], eax
call fcn.0056ab16
add esp, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
ret
Function at 0x43c040
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5893e8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x60e9b0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
push 0
call fcn.0043c180
xor edi, edi
mov dword [ebp - 0x14], edi
cmp dword [ebx + 0xb4], edi
jbe 0x43c11e
xor ecx, ecx
lea esi, [ebx + 0xb8]
mov dword [ebp - 0x18], ecx
nop dword [eax]
mov eax, dword [ebx + 0xc4]
push 0
push 0
add eax, ecx
push eax
push 0x43bfe0
push 0
push 0
call fcn.0056ab16
mov ecx, dword [esi + 4]
add esp, 0x18
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
cmp eax, ecx
jae 0x43c0e8
mov edx, dword [esi]
cmp edx, eax
ja 0x43c0e8
mov edi, eax
sub edi, edx
sar edi, 2
cmp ecx, dword [esi + 8]
jne 0x43c0d5
push ecx
mov ecx, esi
call fcn.00409920
mov ecx, dword [esi + 4]
mov eax, dword [esi]
test ecx, ecx
je 0x43c0e3
mov eax, dword [eax + edi*4]
mov dword [ecx], eax
mov edi, dword [ebp - 0x14]
jmp 0x43c101
cmp ecx, dword [esi + 8]
jne 0x43c0f5
push ecx
mov ecx, esi
call fcn.00409920
mov eax, dword [esi + 4]
test eax, eax
je 0x43c101
mov ecx, dword [ebp - 0x10]
mov dword [eax], ecx
mov ecx, dword [ebp - 0x18]
inc edi
add dword [esi + 4], 4
add ecx, 0x20
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], ecx
cmp edi, dword [ebx + 0xb4]
jb 0x43c090
lea esi, [ebx + 0x10c]
push esi
mov dword [ebp - 0x1c], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 4], 0
mov ecx, dword [ebx + 0x24]
test ecx, ecx
je 0x43c165
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0
push eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
lea eax, [ebx + 0x9c]
mov dword [ebp - 0x10], ebx
mov edx, dword [ecx]
push eax
lea eax, [ebp - 0x10]
push eax
call dword [edx + 8]
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x43c180
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push edi
xor edi, edi
mov eax, dword [esi + 0xbc]
sub eax, dword [esi + 0xb8]
sar eax, 2
test eax, eax
je 0x43c1d4
push ebx
nop dword [eax]
cmp byte [ebp + 8], 0
mov eax, dword [esi + 0xb8]
mov ebx, dword [eax + edi*4]
je 0x43c1b8
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esi + 0xbc]
inc edi
sub eax, dword [esi + 0xb8]
sar eax, 2
cmp edi, eax
jb 0x43c1a0
pop ebx
mov eax, dword [esi + 0xb8]
pop edi
mov dword [esi + 0xbc], eax
pop esi
pop ebp
ret 4
Function at 0x43c830
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58946b
mov eax, dword fs:[0]
push eax
sub esp, 0x238
mov eax, dword [0x60e9b0]
xor eax, ebp
mov dword [ebp - 0x18], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x238], ecx
mov ebx, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 0x240], edi
mov dword [ebp - 4], edi
call fcn.0046c9e0
mov esi, eax
mov dword [ebp - 0x23c], esi
test esi, esi
je 0x43ca73
mov dword [ebp - 0x220], 0xf
mov dword [ebp - 0x224], edi
mov byte [ebp - 0x234], 0
mov byte [ebp - 4], 1
lea edx, [ebp - 0x234]
mov edi, dword [ebp - 0x238]
lea ecx, [edi + 0x84]
call fcn.0043ba00
cmp dword [ebp - 0x220], 0x10
lea eax, [ebp - 0x234]
cmovae eax, dword [ebp - 0x234]
push eax
push 0x2712
push esi
call fcn.0046ca40
add esp, 0xc
push 0x43caa0
push 0x4e2b
push esi
call fcn.0046ca40
add esp, 0xc
push ebx
push 0x2711
push esi
call fcn.0046ca40
add esp, 0xc
push 0xf
push 0x5c
push esi
call fcn.0046ca40
mov eax, dword [ebx + 0x10]
add esp, 0xc
add eax, dword [ebx + 0x18]
push eax
push 0x15
push esi
call fcn.0046ca40
add esp, 0xc
push 0xf
push 0xd
push esi
call fcn.0046ca40
add esp, 0xc
push 0xf
push 0x4e
push esi
call fcn.0046ca40
add esp, 0xc
push 1
push 0x34
push esi
call fcn.0046ca40
add esp, 0xc
push 0x14
push 0x44
push esi
call fcn.0046ca40
add esp, 0xc
lea ecx, [edi + 0x84]
push 5
push 0
push str.https
call fcn.0043d4d0
test eax, eax
jne 0x43c985
push eax
push 0x40
push esi
call fcn.0046ca40
add esp, 0xc
push 0
push 0x51
push esi
call fcn.0046ca40
add esp, 0xc
mov eax, dword [edi + 0x134]
mov dword [ebx + 4], eax
xor eax, eax
mov ecx, dword [edi + 0x134]
shld eax, ecx, 0xa
push eax
shl ecx, 0xa
push ecx
push 0x75c2
push esi
call fcn.0046ca40
push esi
call fcn.0046ca20
mov edi, eax
add esp, 0x14
test edi, edi
jne 0x43c9e3
mov dword [ebp - 0x238], eax
lea eax, [ebp - 0x238]
push eax
push 0x200002
push esi
call fcn.0046c9c0
add esp, 0xc
cmp dword [ebp - 0x238], 0xc8
je 0x43c9e3
mov dword [ebx + 0x18], edi
push 0x200
lea eax, [ebp - 0x21c]
push 0
push eax
call fcn.00559270
mov ecx, dword [ebx + 0x10]
add esp, 0xc
mov eax, dword [ebx + 0x18]
add eax, ecx
push dword [ebx + 0x14]
push eax
push ecx
push edi
push dword [ebx + 8]
lea eax, [ebp - 0x21c]
push str.curl
push 0x100
push eax
call fcn.004254a0
add esp, 0x20
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push esi
call fcn.0046c9a0
mov eax, dword [ebp - 0x220]
add esp, 4
cmp eax, 0x10
jb 0x43ca73
inc eax
lea ecx, [ebp - 0x234]
push eax
push dword [ebp - 0x234]
call fcn.00407990
jmp 0x43ca73
test edi, edi
sete al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.00555b37
mov esp, ebp
pop ebp
ret 4
Function at 0x43cc60
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5894e0
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x60e9b0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push dword [esi + 0xd0]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea edi, [esi + 0x9c]
mov dword [esi + 0xd0], 0xffffffff
push edi
lea edx, [esi + 0x6c]
lea ecx, [ebp - 0x40]
call fcn.0043d870
push 0x6165b8
mov edx, eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x58]
call fcn.0043d820
add esp, 8
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x43cce6
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00407af0
xor eax, eax
mov dword [ebp - 0x2c], 7
push edi
lea edx, [esi + 0x6c]
mov dword [ebp - 0x30], 0
lea ecx, [ebp - 0x28]
mov word [ebp - 0x40], ax
call fcn.0043d870
add esp, 4
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
lea eax, [ebp - 0x58]
cmovae ecx, dword [ebp - 0x28]
cmp dword [ebp - 0x44], 8
push ecx
cmovae eax, dword [ebp - 0x58]
push eax
call fcn.0056cffb
mov eax, dword [ebp - 0x14]
add esp, 8
cmp eax, 8
jb 0x43cd50
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00407af0
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x18], 0
cmp eax, 8
jb 0x43cd79
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.00407af0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00555b37
mov esp, ebp
pop ebp
ret
Function at 0x43dc60
Capabilities:
Check if file exists
Delete file
Move file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x587c58
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x60e9b0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push edi
call esi
test eax, eax
je 0x43dd24
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push edi
call ebx
test eax, eax
jne 0x43dd24
push edi
call esi
test eax, eax
je 0x43dd24
push 0x80
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x43dcc4
push edi
call ebx
test eax, eax
jne 0x43dd24
lea ecx, [ebp - 0x10]
call fcn.00407f90
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push edi
lea eax, [ebp - 0x10]
push 0x5f34c4
push eax
call fcn.00406550
mov esi, dword [ebp - 0x10]
add esp, 0x10
push esi
call ebx
push 1
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_MoveFileExW]
call edi
push 4
push 0
push esi
call edi
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x43dd24
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43e200
Capabilities:
Check if file exists
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5896f0
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x60e9b0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov dword [ebp - 0x18], edi
mov ebx, ecx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], 0
call fcn.00402a90
mov ecx, eax
test ecx, ecx
jne 0x43e24e
push 0x80004005
call fcn.00402b10
mov eax, dword [ecx]
call dword [eax + 0xc]
mov dword [ebp - 0x14], eax
lea esi, [eax + 0x10]
mov dword [ebp - 0x2c], esi
mov dword [ebp - 4], 0
mov ecx, dword [edi]
cmp dword [ecx - 0xc], 0
je 0x43e376
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43e373
push 0x5e969c
lea ecx, [ebp - 0x10]
call fcn.004133a0
mov byte [ebp - 4], 1
push 0
push dword [edi]
mov dword [ebp - 0x1c], 0x34
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x43e35e
push eax
call fcn.0055622a
mov edi, eax
add esp, 4
test edi, edi
jne 0x43e2fe
push 0x5e90d4
mov ecx, ebx
call fcn.004078d0
mov byte [ebp - 4], 0
or edi, 0xffffffff
mov edx, dword [ebp - 0x10]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43e2e7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], edi
dec edi
test edi, edi
jmp 0x43e397
mov eax, dword [ebp - 0x18]
push edi
push dword [ebp - 0x14]
push 0
push dword [eax]
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x43e353
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x20]
push eax
push 0x5ec1f0
push edi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x43e353
mov ecx, dword [ebp - 0x20]
movzx eax, word [ecx + 0xc]
push eax
movzx eax, word [ecx + 0xe]
push eax
movzx eax, word [ecx + 8]
push eax
movzx eax, word [ecx + 0xa]
push eax
lea eax, [ebp - 0x10]
push str._d._d._d._d
push eax
call fcn.00406550
add esp, 0x18
push 1
push edi
call fcn.0055605e
add esp, 8
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.00407c00
add eax, 0x10
mov dword [ebx], eax
jmp 0x43e2c6
mov eax, dword [ebp - 0x14]
mov ecx, eax
call fcn.00407c00
add eax, 0x10
mov dword [ebp - 4], 0xffffffff
mov dword [ebx], eax
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x43e3a1
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43e460
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov eax, ecx
mov dword [ebp - 0xc], edx
push edi
lea ecx, [ebp - 4]
mov dword [ebp - 8], eax
push ecx
push eax
mov dword [ebp - 4], 0
xor ebx, ebx
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov edi, eax
test edi, edi
jne 0x43e490
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
push edi
call fcn.005643c2
mov esi, eax
add esp, 4
test esi, esi
jne 0x43e4a7
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
push edi
push 0
push dword [ebp - 8]
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x43e4e8
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
push 0x5ec1f0
push esi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x43e4e8
mov ecx, dword [ebp - 8]
mov ebx, 1
mov edx, dword [ebp - 0xc]
mov eax, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov dword [eax], ecx
push esi
call fcn.0055c217
add esp, 4
mov eax, ebx
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret