joyce8/EMBER2024-capa huggingface dataset:
Function at 0x416e1a
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
push esi
sar ecx, 6
push edi
imul edi, eax, 0x38
mov dword [ebp - 8], ecx
mov eax, dword [ecx*4 + 0x426a70]
push 0xa
pop edx
mov dword [ebp - 0x18], edx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x416e60
cmp word [ebx], dx
jne 0x416e60
or byte [eax + edi + 0x28], 4
jmp 0x416e65
and byte [eax + edi + 0x28], 0xfb
lea edx, [ebx + ecx*2]
mov eax, ebx
mov dword [ebp - 0xc], edx
mov esi, ebx
mov dword [ebp - 4], eax
cmp ebx, edx
jae 0x416fc8
mov dword [ebp - 0x10], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 0xc]
cmp ecx, 0x1a
je 0x416fa8
add eax, 2
cmp cx, word [ebp - 0x10]
je 0x416ea6
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x416edc
cmp eax, edx
jae 0x416eea
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x18]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 0xc]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
push 2
pop ecx
add esi, ecx
cmp eax, edx
jb 0x416e81
jmp 0x416fc8
push 0
lea eax, [ebp - 0x18]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x416fa3
cmp dword [ebp - 0x18], 0
je 0x416fa3
mov edx, dword [ebp - 8]
push 0xa
mov eax, dword [edx*4 + 0x426a70]
test byte [eax + edi + 0x28], 0x48
je 0x416f79
lea eax, [esi + 2]
mov dword [ebp - 0x1c], eax
mov ax, word [ebp - 4]
pop ecx
mov word [ebp - 2], ax
cmp ax, cx
jne 0x416f3d
mov word [esi], cx
jmp 0x416f74
push 0xd
pop ecx
mov word [esi], cx
movzx ecx, ax
mov eax, dword [edx*4 + 0x426a70]
mov dx, word [ebp - 2]
shr ecx, 8
push 0xa
mov byte [eax + edi + 0x2a], dl
mov edx, dword [ebp - 8]
mov eax, dword [edx*4 + 0x426a70]
mov byte [eax + edi + 0x2b], cl
mov eax, dword [edx*4 + 0x426a70]
pop ecx
mov byte [eax + edi + 0x2c], cl
mov esi, dword [ebp - 0x1c]
jmp 0x416fc8
pop eax
cmp word [ebp - 4], ax
jne 0x416f89
cmp esi, ebx
jne 0x416f89
mov word [esi], ax
jmp 0x416fc5
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.00414503
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x416fc8
push 0xd
pop eax
jmp 0x416f84
mov edx, dword [ebp - 8]
mov edx, dword [edx*4 + 0x426a70]
mov al, byte [edx + edi + 0x28]
test al, 0x40
jne 0x416fc2
or al, 2
mov byte [edx + edi + 0x28], al
jmp 0x416fc8
mov word [esi], cx
add esi, 2
sub esi, ebx
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x430002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x430072
nop
nop
nop
mov ebx, 0x408ecc
nop
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x167366e6
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x430060
nop
nop
mov eax, section..rsrc
nop
nop
cmp eax, 0
nop
je 0x4300d2
nop
nop
nop
nop
nop
mov ebx, 0x42e1d0
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x6c9a0743
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x40db80
Capabilities:
Query environment variable

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
cmp dword [0x4143d8], 0
jne 0x40dc01
cmp dword [0x4143f8], 0
jne 0x40dbb0
call sub.KERNEL32.DLL_GetEnvironmentStrings
mov dword [0x4143f8], eax
test eax, eax
jne 0x40dbb0
push str.GetEnvironmentStrings_failed
call fcn.0040cbf0
pop ecx
xor ebp, ebp
xor esi, esi
mov ebx, dword [0x4143f8]
jmp 0x40dbc4
lea eax, [edi + 1]
inc esi
add ebp, eax
add ebx, eax
push ebx
call fcn.00406b08
pop ecx
mov edi, eax
test eax, eax
jne 0x40dbbc
lea edi, [ebp + 1]
push edi
call fcn.00405c3c
pop ecx
mov ebx, eax
mov dword [0x4143dc], ebx
test ebx, ebx
jne 0x40dbee
xor eax, eax
jmp 0x40dcc4
push edi
mov edx, dword [0x4143f8]
push edx
push ebx
call fcn.004069b8
add esp, 0xc
jmp 0x40dc21
xor esi, esi
mov ebx, dword [0x4143d8]
jmp 0x40dc1b
push eax
call fcn.00406b08
pop ecx
test eax, eax
jne 0x40dc17
dec esi
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x40dc0b
lea ebx, [esi + 4]
push 4
mov dword [0x4143e0], ebx
inc ebx
push ebx
call fcn.00405a3c
add esp, 8
test eax, eax
mov dword [esp], eax
jne 0x40dc44
xor eax, eax
jmp 0x40dcc4
cmp dword [0x4143d8], 0
jne 0x40dc75
xor esi, esi
mov ebx, dword [0x4143dc]
mov eax, dword [esp]
mov ebp, eax
jmp 0x40dc66
mov dword [ebp], ebx
add ebp, 4
inc esi
inc edi
add ebx, edi
push ebx
call fcn.00406b08
pop ecx
mov edi, eax
test eax, eax
jne 0x40dc5c
jmp 0x40dca6
xor esi, esi
mov ebx, dword [0x4143d8]
mov eax, dword [esp]
mov edi, eax
jmp 0x40dca0
push eax
call fcn.00406b08
pop ecx
test eax, eax
je 0x40dc95
mov eax, dword [ebx]
mov dword [edi], eax
jmp 0x40dc99
dec esi
add edi, 0xfffffffc
add edi, 4
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x40dc84
mov eax, dword [0x4143d8]
test eax, eax
je 0x40dcb6
push eax
call fcn.00405c4c
pop ecx
mov edx, dword [esp]
mov eax, 1
mov dword [0x4143d8], edx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..idata
nop
nop
push 4
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
je 0x430072
nop
nop
nop
nop
nop
mov ebx, 0x408ecc
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x46c97124
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x430060
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
je 0x4300d2
nop
nop
nop
nop
nop
mov ebx, 0x42e1d0
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x45e2467d
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x4300c0
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x412722
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
cmp dword [0x4186e0], 0
push ebx
push esi
mov esi, 0x4186e8
jne 0x41274e
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
push esi
mov dword [0x418700], eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [0x4186e0], 1
push dword [0x418700]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
test ebx, ebx
jne 0x4127eb
push 0x14
push 8
push dword [0x418068]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, eax
test ebx, ebx
je 0x412815
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x4186e4]
test eax, eax
je 0x412790
mov dword [eax], ebx
push edi
push esi
mov dword [ebx + 4], eax
mov dword [0x4186e4], ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea edi, [ebx + 0x10]
push 0
push 0
push 0x100000
push edi
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call esi
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
push 8
push 0xffffffffffffffff
push ebx
push 0x41281a
push dword [edi]
lea eax, [ebx + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_RegisterWaitForSingleObject]
push ebx
push dword [0x418700]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
pop edi
push 0xc
push 0
push dword [0x418068]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x412815
mov ecx, dword [esp + 0xc]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x10]
mov dword [eax + 8], ecx
mov ecx, dword [ebx + 8]
mov dword [eax], ecx
mov dword [ebx + 8], eax
pop esi
pop ebx
ret 8

Function at 0x433004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
call 0x43300c
nop
nop
nop
pop eax
nop
nop
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x433030
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43301e
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x403f90
Capabilities:
Log keystrokes via polling
Terminate process

Disassembly:
push esi
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push edi
push 0x11
call esi
mov edi, 0x8000
test di, ax
je 0x403fce
push 0x10
call esi
test di, ax
je 0x403fce
push 0x14
call esi
test al, 1
je 0x403fce
push 0x10000
push 0x4414a4
push str.Starting_up...
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
pop edi
pop esi
jmp 0x41a780
push 0x14
push 0x449b90
call fcn.0041b270
push 1
call fcn.0041a840
pop ecx
test al, al
je 0x41a76a
xor bl, bl
mov byte [ebp - 0x19], bl
and dword [ebp - 4], 0
call fcn.0041a80e
mov byte [ebp - 0x24], al
mov eax, dword [0x44cf60]
xor ecx, ecx
inc ecx
cmp eax, ecx
je 0x41a76a
test eax, eax
jne 0x41a68e
mov dword [0x44cf60], ecx
push 0x43b470
push 0x43b450
call fcn.004296da
pop ecx
pop ecx
test eax, eax
je 0x41a671
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x41a75a
push 0x43b44c
push 0x43b424
call fcn.0042967e
pop ecx
pop ecx
mov dword [0x44cf60], 2
jmp 0x41a693
mov bl, cl
mov byte [ebp - 0x19], bl
push dword [ebp - 0x24]
call fcn.0041a9b2
pop ecx
call fcn.0041b01c
mov esi, eax
xor edi, edi
cmp dword [esi], edi
je 0x41a6c4
push esi
call fcn.0041a91e
pop ecx
test al, al
je 0x41a6c4
mov esi, dword [esi]
push edi
push 2
push edi
mov ecx, esi
call dword [0x43b420]
call esi
call fcn.0041b022
mov esi, eax
cmp dword [esi], edi
je 0x41a6e2
push esi
call fcn.0041a91e
pop ecx
test al, al
je 0x41a6e2
push dword [esi]
call fcn.0042997d
pop ecx
call fcn.0041b142
movzx eax, ax
push eax
call fcn.00429638
push eax
push edi
push 0x400000
call fcn.00403f6a
mov esi, eax
call fcn.0041b178
test al, al
je 0x41a771
test bl, bl
jne 0x41a710
call fcn.00429958
push edi
push 1
call fcn.0041a9cf
pop ecx
pop ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
jmp 0x41a75a
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret
push 7
call fcn.0041b028
push esi
call fcn.004299b5
push dword [ebp - 0x20]
call fcn.00429967
int3
call fcn.0041af71
jmp 0x41a604
Function at 0x4095f0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x44c00c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
mov edx, 0xca
push edi
lea ecx, [ebp - 0x1c]
call fcn.0040d18a
mov ecx, dword [esi + 0x64]
push eax
add ecx, 0x14
call fcn.0040fad7
lea ecx, [ebp - 0x1c]
call fcn.00404129
mov ecx, dword [esi + 0x64]
xor edi, edi
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [esi + 0x64]
push edi
add ecx, 4
call fcn.0040fca0
mov ecx, esi
call fcn.004098be
mov ecx, dword [esi + 0x74]
mov eax, dword [esi + 4]
push edi
push edi
mov dword [ecx + 0x8c], eax
mov eax, dword [esi + 0x74]
mov dword [eax + 0xb8], 0x412
push dword [esi + 0x74]
push 0x40954d
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
push edi
push 0xfa
push 0x1234
push dword [esi + 4]
mov dword [esi + 0x78], eax
call dword [sym.imp.USER32.dll_SetTimer]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0041a4f0
leave
ret
Function at 0x40b670
Capabilities:
Timestomp file

Disassembly:
push 0x98
mov eax, 0x43912c
call fcn.004368bd
mov dword [ebp - 0x9c], edx
mov edi, ecx
lea ecx, [ebp - 0x98]
call fcn.00416c87
push dword [ebp + 0xc]
xor ebx, ebx
lea ecx, [ebp - 0x98]
push 0x80
push 2
push ebx
push 0x40000000
push edi
mov dword [ebp - 4], ebx
call fcn.00416d45
test al, al
je 0x40b73d
mov esi, dword [ebp + 8]
test esi, esi
jne 0x40b6d4
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ecx, ecx
cmp eax, 0xb7
setne cl
mov esi, ecx
mov eax, dword [ebp - 0x9c]
cmp dword [eax + 0x14], 0x10
mov ecx, dword [eax + 0x10]
jb 0x40b6e5
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0x98]
call fcn.00416f4a
test al, al
je 0x40b723
cmp dword [ebp - 0x98], 0xffffffff
je 0x40b789
push dword [ebp - 0x98]
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
test eax, eax
jne 0x40b750
push str.FlushFileBuffer
lea ecx, [ebp - 0x98]
call fcn.004170ce
lea ecx, [ebp - 0x98]
call fcn.00416e4e
cmp dword [edi + 0x14], 8
jb 0x40b736
mov edi, dword [edi]
mov ecx, edi
call fcn.00419cdb
lea ecx, [ebp - 0x98]
call fcn.00416ce5
mov al, bl
call fcn.00436878
ret
test esi, esi
jle 0x40b785
lea eax, [ebp - 0xa4]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
lea ecx, [ebp - 0xa4]
call fcn.00404d1e
push ebx
push ebx
lea eax, [ebp - 0xa4]
push eax
push dword [ebp - 0x98]
call dword [sym.imp.KERNEL32.dll_SetFileTime]
test eax, eax
je 0x40b723
mov bl, 1
jmp 0x40b73d
call fcn.00428d1b
int3
Function at 0x40bcf3
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x44c00c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push edi
push 0xb
mov edi, ecx
call esi
push eax
push ecx
lea ecx, [edi + 0x64]
call fcn.004102cf
push dword [edi + 0x68]
mov ebx, 0x80
mov ecx, edi
push 1
push ebx
call fcn.0040fdb3
push 0x31
call esi
push eax
push ecx
lea ecx, [edi + 0x74]
call fcn.004102cf
push dword [edi + 0x78]
mov ecx, edi
push 0
push ebx
call fcn.0040fdb3
mov esi, vtable.sfc_hwnd.0
mov ecx, edi
push 0x3ff
mov dword [ebp - 0x20], esi
call fcn.0040fd95
xor ebx, ebx
mov dword [ebp - 0x1c], eax
push 0x405
mov ecx, edi
mov byte [ebp - 0x18], bl
mov dword [ebp - 0x2c], esi
call fcn.0040fd95
push dword [edi + 4]
mov dword [ebp - 0x28], eax
lea ecx, [ebp - 0x2c]
lea eax, [ebp - 0x14]
mov byte [ebp - 0x24], bl
push eax
call fcn.0040fbc3
push dword [edi + 4]
mov esi, dword [ebp - 8]
lea eax, [ebp - 0x14]
sub esi, dword [ebp - 0x10]
lea ecx, [ebp - 0x20]
push eax
call fcn.0040fbc3
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x20]
add eax, esi
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x10]
add eax, esi
mov dword [ebp - 8], eax
lea eax, [ebp - 0x14]
push eax
call fcn.0040fc65
push ebx
push dword [edi + 0x68]
lea ecx, [ebp - 0x20]
push 0x170
call fcn.0040fdb3
push 0x443118
push ebx
push 0xc
mov ecx, edi
call fcn.0040fdb3
mov ecx, dword [edi + 0x84]
mov eax, dword [ecx + 0x3c]
cmp dword [eax + 0x5c], 3
jge 0x40bdf7
push ecx
mov ecx, edi
call fcn.0040fcec
mov ecx, dword [edi + 0x84]
or dword [ecx + 0x98], 0xffffffff
push ebx
push ebx
push dword [edi + 0x84]
push 0x40bcab
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
push ebx
push 0xfa
push 0x1234
push dword [edi + 4]
mov dword [edi + 0x88], eax
call dword [sym.imp.USER32.dll_SetTimer]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041a4f0
leave
ret

Function at 0x40c75c
Capabilities:
Create thread

Disassembly:
push 4
mov eax, 0x439282
call fcn.00436889
cmp dword [0x44e07c], 0
jne 0x40c7f8
push 0x8c
call fcn.0041a501
mov esi, eax
pop ecx
mov dword [ebp - 0x10], esi
xor ebx, ebx
mov ecx, esi
mov dword [ebp - 4], ebx
call fcn.0040f45a
push ebx
push ebx
mov dword [esi], vtable.validate_window.0
mov eax, vtable.sfc_icon.0
push ebx
mov dword [esi + 0x68], ebx
mov dword [esi + 0x70], ebx
mov dword [esi + 0x6c], ebx
mov dword [esi + 0x64], eax
push 0x40c73e
push ebx
mov dword [esi + 0x78], ebx
mov dword [esi + 0x80], ebx
mov dword [esi + 0x7c], ebx
mov dword [esi + 0x74], eax
push ebx
mov byte [esi + 0x84], bl
mov dword [0x44e080], esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x44e07c], eax
test eax, eax
jne 0x40c7f2
mov ecx, dword [0x44e080]
test ecx, ecx
je 0x40c7ec
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [0x44e080], ebx
call fcn.00436863
ret
call fcn.00428d1b
int3
Function at 0x4148d8
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x44c00c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x210]
push edi
push eax
push 0x104
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x414921
test esi, esi
je 0x41497f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.GetTempPath
mov ecx, esi
call fcn.004175cd
jmp 0x41497f
lea eax, [ebp - 0x210]
mov ecx, edi
push eax
call fcn.004011c3
mov ecx, dword [edi + 0x10]
test ecx, ecx
jne 0x414954
test esi, esi
je 0x41497f
mov eax, dword [esi]
push 0x440ef8
push 0x3039
push str._CheckTempPath
push esi
call dword [eax + 8]
add esp, 0x10
jmp 0x41497f
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x41495e
mov eax, dword [edi]
push 0x5c
pop edx
cmp word [eax + ecx*2 - 2], dx
je 0x414970
push edx
mov ecx, edi
call fcn.004152af
push esi
xor edx, edx
mov ecx, edi
call fcn.00414993
pop ecx
test al, al
jne 0x414983
xor al, al
jmp 0x414985
mov al, 1
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0041a4f0
leave
ret
Function at 0x414da6
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push esi
mov esi, ecx
cmp dword [esi + 0x14], 8
jb 0x414dba
mov ecx, dword [esi]
call fcn.00419a4a
cmp eax, 0xffffffff
jne 0x414de5
cmp dword [ebp + 0xc], 0
je 0x414e42
push esi
lea ecx, [esp + 0xc]
call fcn.00404232
mov eax, ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.GetFileAttributes
jmp 0x414e3a
test al, 1
je 0x414dfd
and eax, 0xfffffffe
mov ecx, esi
cmp dword [esi + 0x14], 8
jb 0x414df6
mov ecx, dword [esi]
mov edx, eax
call fcn.00419a8b
cmp dword [esi + 0x14], 8
mov ecx, esi
jb 0x414e07
mov ecx, dword [esi]
call fcn.00419cdb
test eax, eax
jne 0x414e46
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x414e46
cmp dword [ebp + 0xc], 0
je 0x414e42
push esi
lea ecx, [esp + 0xc]
call fcn.00404232
mov eax, ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.DeleteFile
mov ecx, dword [ebp + 0xc]
call fcn.004176f4
xor al, al
jmp 0x414e48
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x414e4d
Capabilities:
Check if file exists

Disassembly:
push 0x1c
mov eax, 0x4399f9
call fcn.004368bd
mov edx, ecx
lea ecx, [ebp - 0x28]
call fcn.0041921f
xor ebx, ebx
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x14], 8
cmovae ecx, dword [ebp - 0x28]
call fcn.00419bc1
test eax, eax
jne 0x414e8c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x414e8c
cmp eax, 3
jne 0x414e8e
mov bl, 1
lea ecx, [ebp - 0x28]
call fcn.00404129
mov al, bl
call fcn.00436878
ret
Function at 0x414f7b
Capabilities:
Check if file exists
Get disk information
Get file attributes

Disassembly:
push 0x70
mov eax, 0x439a61
call fcn.004368bd
mov esi, edx
mov edx, ecx
mov dword [ebp - 0x44], edx
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x7c]
call fcn.004187c6
xor ebx, ebx
xor eax, eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
push edx
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 1
call fcn.00404232
push ecx
lea edx, [ebp - 0x7c]
call fcn.00418fed
pop ecx
test al, al
jne 0x414fd1
mov ecx, dword [ebp - 0x44]
jmp 0x41510f
cmp dword [ebp - 0x7c], 3
je 0x414fdd
cmp dword [ebp - 0x7c], 4
jne 0x414fc9
mov eax, dword [ebp - 0x5c]
lea ecx, [ebp - 0x7c]
cmp eax, dword [ebp - 0x58]
lea eax, [ebp - 0x40]
push dword [ebp - 0x78]
jne 0x4150ee
push 1
push eax
mov byte [ebp - 0x50], 1
call fcn.0041888f
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.004040b2
lea ecx, [ebp - 0x40]
call fcn.00404129
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 4
jne 0x4150a3
push ebx
push dword [ebp - 0x50]
lea eax, [ebp - 0x40]
mov dword [ebp - 0x78], ebx
push eax
lea ecx, [ebp - 0x7c]
call fcn.0041888f
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.004040b2
lea ecx, [ebp - 0x40]
call fcn.00404129
push 0x2e
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x40]
call fcn.004152ee
pop ecx
cmp dword [eax + 0x14], 8
jb 0x415066
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
lea ecx, [ebp - 0x40]
mov dword [esi], eax
call fcn.00404129
cmp dword [esi], 0xffffffff
jne 0x4150ae
mov dword [esi], ebx
test edi, edi
je 0x41511a
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x4c]
call fcn.00404232
mov eax, ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.GetFileAttributes
jmp 0x4150e5
cmp eax, 1
jbe 0x4150b2
mov dword [esi], 0x10
mov bl, 1
jmp 0x41511a
cmp dword [ebp - 0x7c], 3
push 0x37
pop eax
push 0x15
pop ecx
cmove eax, ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
test edi, edi
je 0x41511a
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x4c]
call fcn.00404232
mov eax, ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.GetDriveType
mov ecx, edi
call fcn.004176f4
jmp 0x41511a
push ebx
push eax
mov byte [ebp - 0x50], bl
call fcn.0041888f
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.004040b2
lea ecx, [ebp - 0x40]
call fcn.00404129
lea ecx, [ebp - 0x28]
push edi
mov edx, esi
call fcn.00414807
pop ecx
mov bl, al
lea ecx, [ebp - 0x28]
call fcn.00404129
lea ecx, [ebp - 0x5c]
call fcn.0040bc30
mov al, bl
call fcn.00436878
ret
Function at 0x41547f
Capabilities:
Get file version info

Disassembly:
push 0x48
mov eax, 0x439ad6
call fcn.004368bd
mov esi, edx
mov dword [ebp - 0x44], edx
mov ebx, ecx
mov edi, dword [ebp + 8]
xor eax, eax
xor ecx, ecx
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], cx
mov dword [ebp - 4], eax
test ebx, ebx
jne 0x4154d0
mov edx, edi
lea ecx, [ebp - 0x40]
call fcn.0041485a
test al, al
je 0x4155d2
cmp dword [ebp - 0x2c], 8
lea ebx, [ebp - 0x40]
cmovae ebx, dword [ebp - 0x40]
xor eax, eax
mov dword [ebp - 0x18], eax
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea edx, [ebp - 0x28]
mov byte [ebp - 4], 1
mov ecx, ebx
call fcn.00419d1c
push 0
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x50], eax
mov byte [ebp - 4], 0
call fcn.00404129
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x48], eax
test eax, eax
jne 0x41552a
test edi, edi
je 0x4155d2
push ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.GetFileVersionInfoSize
jmp 0x4155cb
push ecx
push eax
mov ecx, esi
call fcn.00401f13
cmp dword [esi + 0x14], 0x10
jb 0x41553e
mov esi, dword [esi]
mov dword [ebp - 0x44], esi
mov esi, dword [ebp - 0x48]
xor eax, eax
and dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea edx, [ebp - 0x28]
mov byte [ebp - 4], 2
mov ecx, ebx
call fcn.00419d1c
push dword [ebp - 0x44]
push esi
push 0
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
mov esi, eax
call fcn.00404129
test esi, esi
jne 0x415592
test edi, edi
je 0x4155d2
push ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.GetFileVersionInfo
jmp 0x4155cb
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x54]
push eax
push 0x4450e4
push dword [ebp - 0x44]
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x4155ba
cmp dword [ebp - 0x48], 0
je 0x4155ba
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x4c], eax
jmp 0x4155d2
test edi, edi
je 0x4155d2
push ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.VerQueryValue
mov ecx, edi
call fcn.004177b7
lea ecx, [ebp - 0x40]
call fcn.00404129
mov eax, dword [ebp - 0x4c]
call fcn.00436878
ret