joyce8/EMBER2024-capa huggingface dataset:
Function at 0x409488
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
xor edx, edx
xor eax, eax
push ebx
push esi
mov esi, dword [ebp + 8]
inc eax
push edi
push 0x20
pop ecx
or dword [esi + 0x90], 0xffffffff
or dword [esi + 0x94], 0xffffffff
mov dword [esi + 0x30], eax
mov dword [esi + 0x44], eax
mov eax, dword [esi + 4]
cmp eax, ecx
mov dword [esi + 0x78], edx
cmova eax, ecx
mov dword [esi + 0x7c], edx
mov dword [esi + 0x54], eax
mov eax, dword [esi]
mov dword [esi + 0x34], edx
mov dword [esi + 0x38], edx
mov dword [esi + 0x3c], edx
mov dword [esi + 0x40], edx
mov dword [esi + 0x70], edx
mov dword [esi + 0x88], edx
mov dword [esi + 0x68], edx
mov dword [esi + 0x6c], edx
mov dword [esi + 0x48], edx
mov dword [esi + 0x4c], edx
mov dword [esi + 0x50], edx
mov dword [esi + 0x60], edx
mov dword [esi + 0x64], edx
mov dword [esi + 0x80], edx
mov dword [esi + 0x84], edx
mov dword [esi + 0x58], edx
cmp eax, dword [esi + 0x20]
je 0x409535
lea edi, [esi + 0xc8]
mov ebx, ecx
cmp dword [edi + 8], edx
je 0x409514
push edi
call fcn.0040945d
pop ecx
xor edx, edx
add edi, 0x28
sub ebx, 1
jne 0x409506
cmp dword [esi + 0x5c], ebx
je 0x409530
mov eax, dword [esi + 0x14]
push dword [esi + 0x5c]
push eax
call dword [eax + 4]
and dword [esi + 0x5c], ebx
pop ecx
pop ecx
mov eax, dword [esi]
mov dword [esi + 0x20], eax
push dword [esi + 0x10]
lea eax, [esi + 0x98]
push eax
call fcn.0040994c
mov ecx, dword [esi + 0x58]
and dword [esi + 0x24], 0
and dword [esi + 0x28], 0
lea eax, [ecx + 5]
imul ebx, eax, 0x28
lea eax, [ecx + 1]
mov dword [esi + 0x58], eax
add ebx, esi
push ebx
call fcn.0040941f
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x4095b7
lea eax, [ebx + 0x20]
push eax
call fcn.0040ba7b
mov edi, eax
pop ecx
test edi, edi
jne 0x4095b7
lea eax, [ebx + 0x1c]
push eax
call fcn.0040ba7b
mov edi, eax
pop ecx
test edi, edi
jne 0x4095b7
push ebx
call fcn.0040a324
mov edi, eax
test edi, edi
je 0x4095b7
and dword [esi + 0x44], 0
lea ebx, [esi + 0xc8]
push 0x20
pop esi
push ebx
call fcn.00409391
add ebx, 0x28
pop ecx
sub esi, 1
jne 0x4095a5
mov esi, dword [ebp + 8]
movzx eax, di
or eax, 0x80070000
test edi, edi
cmovle eax, edi
test eax, eax
je 0x4095cb
mov dword [esi + 0x40], eax
xor edx, edx
cmp dword [esi + 0x38], edx
jne 0x4095df
cmp dword [esi + 0x40], edx
jne 0x4095df
cmp dword [esi + 0x3c], edx
jne 0x4095df
mov dword [esi + 0x44], edx
xor ecx, ecx
cmp dword [esi + 0x44], edx
pop edi
pop esi
cmovne eax, ecx
pop ebx
pop ebp
ret

Function at 0x40b712
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
and dword [eax + 0x20], 0
and dword [eax + 0x24], 0
mov dword [eax], 0x6a09e667
mov dword [eax + 4], 0xbb67ae85
mov dword [eax + 8], 0x3c6ef372
mov dword [eax + 0xc], 0xa54ff53a
mov dword [eax + 0x10], 0x510e527f
mov dword [eax + 0x14], 0x9b05688c
mov dword [eax + 0x18], 0x1f83d9ab
mov dword [eax + 0x1c], 0x5be0cd19
pop ebp
ret
Function at 0x40baf4
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
lea eax, [ebp - 4]
xor esi, esi
push eax
push esi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push esi
push esi
call fcn.00479151
mov ecx, dword [ebp + 8]
add esp, 0x18
mov dword [ecx], eax
test eax, eax
jne 0x40bb20
call fcn.0040ba97
mov esi, eax
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x40da65
Capabilities:
Create directory

Disassembly:
push 0x38
mov eax, 0x48f731
call fcn.004302ad
xor ebx, ebx
push ebx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x40da85
mov al, 1
jmp 0x40dacc
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x40da96
xor al, al
jmp 0x40dacc
lea ecx, [ebp - 0x44]
call fcn.0040dd30
lea ecx, [ebp - 0x1c]
call fcn.0040c127
push dword [ebp + 8]
lea ecx, [ebp - 0x44]
mov dword [ebp - 4], ebx
call fcn.0040ddc8
test al, al
je 0x40dac1
mov ebx, dword [ebp - 0x24]
shr ebx, 4
and bl, 1
push dword [ebp - 0x1c]
call fcn.00430389
pop ecx
mov al, bl
call fcn.00430276
ret

Function at 0x40db26
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x4c02d0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
xor ecx, ecx
mov eax, dword [edi]
and dword [edi + 4], 0
mov word [eax], cx
xor eax, eax
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x210]
push eax
push 0x105
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov esi, eax
mov ecx, edi
lea eax, [ebp - 0x210]
push eax
call fcn.0040c226
lea eax, [esi - 1]
mov ecx, 0x103
cmp ecx, eax
mov ecx, dword [ebp - 4]
pop edi
sbb eax, eax
xor ecx, ebp
inc eax
pop esi
call fcn.00430265
mov esp, ebp
pop ebp
ret

Function at 0x40dc9e
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
setne al
pop ebp
ret

Function at 0x40e2e8
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
or ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, eax
mov eax, ecx
pop ebp
ret

Function at 0x40e394
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
lea eax, [ebp - 4]
push eax
push dword [ecx]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x40e3ba
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x40e3ba
xor al, al
jmp 0x40e3ce
mov eax, dword [ebp + 8]
xor ecx, ecx
mov edx, dword [ebp - 4]
add ecx, esi
adc edx, 0
mov dword [eax], ecx
mov dword [eax + 4], edx
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x40f45a
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov eax, dword [0x4c02d0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push str.GlobalMemoryStatusEx
push 0x496b18
mov dword [ebp - 0x64], 0x40
and dword [esi + 4], 0
mov dword [esi], SysReAllocString
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40f4bd
lea ecx, [ebp - 0x64]
push ecx
call eax
test eax, eax
je 0x40f4bd
push dword [ebp - 0x58]
push dword [ebp - 0x5c]
push dword [ebp - 0x38]
push dword [ebp - 0x3c]
call fcn.0040f3dd
add esp, 0x10
mov dword [esi + 4], edx
jmp 0x40f4dc
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], 0x20
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0xc], eax
cmovb eax, dword [ebp - 0xc]
and dword [esi + 4], 0
mov ecx, dword [ebp - 4]
mov dword [esi], eax
xor ecx, ebp
mov al, 1
pop esi
call fcn.00430265
mov esp, ebp
pop ebp
ret
Function at 0x4176e9
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x14]
test esi, esi
je 0x4176f7
and dword [esi], 0
mov eax, dword [ebp + 0x10]
xor edx, edx
inc edx
test eax, eax
je 0x417739
push 0
lea ecx, [ebp + 0x14]
push ecx
mov ecx, 0x8000
cmp eax, ecx
cmovae eax, ecx
push eax
push dword [ebp + 0xc]
push 0xfffffffffffffff5
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [ebp + 8]
mov edx, eax
mov eax, dword [ebp + 0x14]
add dword [ecx + 8], eax
adc dword [ecx + 0xc], 0
test esi, esi
je 0x417739
add dword [esi], eax
test edx, edx
setne al
movzx eax, al
push eax
call fcn.00417234
pop ecx
pop esi
pop ebp
ret 0x10

Function at 0x41e220
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4944a3
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x4c02d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
call fcn.00421fdd
lea ecx, [esi + 0x30]
call fcn.0041e1c6
push dword [esi + 0x24]
call fcn.00430389
pop ecx
lea ecx, [esi + 0xc]
call fcn.00402bc0
mov ecx, esi
call fcn.0041e0dd
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x42615b
Capabilities:
Create process on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xfe0
mov eax, dword [0x4c02d0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0xfa4]
push edi
push 0x7d0
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push str.Program_FilesInternet_Exploreriexplore.exe
push 0x498ec0
call fcn.00478f03
pop ecx
lea ecx, [ebp - 0xfa4]
lea eax, [ecx + eax*2]
push eax
call fcn.00478ee1
lea eax, [ebp - 0xfa4]
push esi
push eax
call fcn.0047c3eb
push 0x3c
xor edi, edi
lea eax, [ebp - 0xfe0]
push edi
push eax
call fcn.00475400
add esp, 0x1c
mov dword [ebp - 0xfdc], 0x200
xor eax, eax
mov dword [ebp - 0xfcc], esi
inc eax
mov ecx, str.open
mov dword [ebp - 0xfd4], ecx
push eax
push edi
push edi
push esi
push ecx
push edi
mov dword [ebp - 0xfc4], eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
ja 0x42620c
push edi
push edi
lea eax, [ebp - 0xfa4]
push edi
push eax
call fcn.004710d5
add esp, 0x10
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00430265
mov esp, ebp
pop ebp
ret 4

Function at 0x4262f4
Capabilities:
Check if file exists
Get common file path
Get program files directory
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x4c02d0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x418]
push eax
push 0x20019
xor ebx, ebx
push ebx
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_PathsIEXPLORE.EXE
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x418], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x42633c
xor eax, eax
jmp 0x426426
push 0x208
lea eax, [ebp - 0x414]
push ebx
push eax
call fcn.00475400
add esp, 0xc
mov dword [ebp - 0x41c], 0x104
lea eax, [ebp - 0x41c]
mov dword [ebp - 0x420], 1
push eax
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x420]
push eax
push ebx
push 0x496acc
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x426408
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x208
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.00475400
add esp, 0xc
lea eax, [ebp - 0x20c]
push ebx
push 0x26
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x20c]
push str.Internet_Exploreriexplore.exe
push eax
call fcn.0047c3eb
pop ecx
pop ecx
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x426335
lea ecx, [ebp - 0x20c]
push ecx
push esi
call fcn.00478ee1
pop ecx
pop ecx
jmp 0x426423
lea eax, [ebp - 0x414]
push eax
push esi
call fcn.00478ee1
pop ecx
pop ecx
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00430265
mov esp, ebp
pop ebp
ret 4
Function at 0x426455
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x4c02d0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x20c]
xor ebx, ebx
push 0x208
push ebx
push eax
mov dword [ebp - 0x218], ebx
mov dword [ebp - 0x210], ebx
mov dword [ebp - 0x214], ebx
mov dword [ebp - 0x21c], ebx
call fcn.00475400
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 0x218]
add esp, 0xc
push eax
push 0x20019
push ebx
push str.http
push SysReAllocString
call esi
test eax, eax
je 0x4264c7
xor eax, eax
jmp 0x426570
lea eax, [ebp - 0x210]
push eax
push 0x20019
push ebx
push str.shell
push dword [ebp - 0x218]
call esi
test eax, eax
jne 0x4264c0
lea eax, [ebp - 0x214]
push eax
push 0x20019
push ebx
push str.opencommand
push dword [ebp - 0x210]
call esi
test eax, eax
jne 0x4264c0
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0x104
push eax
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x220], 1
push eax
lea eax, [ebp - 0x220]
push eax
push ebx
push 0x496acc
push dword [ebp - 0x214]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x210]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x214]
call esi
lea eax, [ebp - 0x20c]
push eax
call fcn.0047c8d3
push edi
push eax
call fcn.004766d3
add esp, 0xc
neg eax
sbb eax, eax
neg eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00430265
mov esp, ebp
pop ebp
ret 4
Function at 0x4277a8
Capabilities:
Get disk information

Disassembly:
push 0x4e0
mov eax, 0x491bb3
call fcn.004302e1
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x4e0]
mov ebx, dword [ebp + 0xc]
xor edi, edi
push edi
xor eax, eax
mov dword [ebp - 0x4ec], edi
push 0x496acc
mov dword [ebp - 0x4cc], 7
mov dword [ebp - 0x4d0], edi
mov word [ebp - 0x4e0], ax
call fcn.00402510
mov dword [ebp - 4], edi
test ebx, ebx
je 0x4278de
lea eax, [ebp - 0x4c8]
push eax
push 0x3e8
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
test eax, eax
je 0x4278de
mov dword [ebp - 0x4e4], edi
cmp word [ebp - 0x4c8], di
je 0x4278de
and dword [ebp - 0x4e8], 0
lea edi, [ebp - 0x4c8]
push 0x498b58
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x4278b2
push 0x498b60
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x4278b2
mov ax, word [edi]
mov word [ebp - 0x18], ax
mov eax, dword [ebp - 0x4e8]
push 0x64
mov ax, word [ebp + eax - 0x4c6]
mov word [ebp - 0x16], ax
xor eax, eax
mov word [ebp - 0x14], ax
lea eax, [ebp - 0xe0]
push eax
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x42795c
lea eax, [ebp - 0xe0]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, eax
lea eax, [ebp - 0xe0]
push edi
push eax
push ebx
call fcn.0047c591
add esp, 0xc
test eax, eax
je 0x427904
mov eax, dword [ebp - 0x4e4]
lea edi, [ebp - 0x4c8]
add eax, 4
mov dword [ebp - 0x4e4], eax
add eax, eax
add edi, eax
mov dword [ebp - 0x4e8], eax
xor eax, eax
cmp word [edi], ax
jne 0x427834
xor edi, edi
lea eax, [ebp - 0x4e0]
mov ecx, esi
push eax
call fcn.0042483e
push edi
push 1
lea ecx, [ebp - 0x4e0]
call fcn.004023bd
mov eax, esi
call fcn.0043028b
ret 8
cmp word [ebp - 0x18], 0
jne 0x42790f
xor eax, eax
jmp 0x427919
lea eax, [ebp - 0x18]
push eax
call fcn.00478f03
pop ecx
push eax
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x4e0]
call fcn.00424580
lea edi, [ebx + edi*2]
xor ebx, ebx
cmp word [edi], bx
jne 0x427937
mov eax, ebx
jmp 0x42793e
push edi
call fcn.00478f03
pop ecx
push eax
push edi
lea ecx, [ebp - 0x4e0]
call fcn.00424580
lea eax, [ebp - 0x4e0]
mov ecx, esi
push eax
call fcn.0042483e
push ebx
jmp 0x4278ed
xor ecx, ecx
mov dword [esi + 0x14], 7
xor eax, eax
mov dword [esi + 0x10], ecx
mov word [esi], ax
push ecx
jmp 0x4278ed
Function at 0x428093
Capabilities:
Check if file exists

Disassembly:
push 0xa0
mov eax, 0x491cd3
call fcn.004302e1
lea eax, [ebp - 0x70]
push str.ExtractAfterRun
push eax
call fcn.0042424f
mov ecx, eax
call fcn.00429191
xor ebx, ebx
xor edi, edi
inc ebx
mov dword [ebp - 4], edi
cmp dword [ebp - 0x60], edi
je 0x42825f
call fcn.0042424f
mov ecx, eax
call fcn.004291fd
push eax
lea ecx, [ebp - 0xa0]
call fcn.00401f2f
mov dword [ebp - 0xac], edi
mov dword [ebp - 0xa8], edi
mov dword [ebp - 0xa4], edi
xor eax, eax
mov byte [ebp - 4], 2
mov esi, 0x49908c
mov dword [ebp - 0x2c], 7
push esi
mov dword [ebp - 0x30], edi
mov word [ebp - 0x40], ax
call fcn.00478f03
pop ecx
push eax
push esi
lea ecx, [ebp - 0x40]
call fcn.00402510
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0x40]
lea edx, [ebp - 0xac]
mov byte [ebp - 4], 3
cmovae ecx, dword [ebp - 0x40]
lea eax, [ebp - 0x70]
cmp dword [ebp - 0x5c], 8
push edx
cmovae eax, dword [ebp - 0x70]
push ecx
push eax
call fcn.004720b9
mov esi, dword [ebp - 0xac]
add esp, 0xc
jmp 0x428231
cmp dword [esi + 0x14], 8
jb 0x42815c
mov eax, dword [esi]
jmp 0x42815e
mov eax, esi
push eax
lea ecx, [ebp - 0x58]
call fcn.00401f2f
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 4
cmovae eax, dword [ebp - 0x58]
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.00472035
pop ecx
pop ecx
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], edi
mov word [ebp - 0x28], ax
cmp dword [ebp - 0x74], 8
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 6
cmovae eax, dword [ebp - 0x88]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea ecx, [ebp - 0x28]
push 0xffffffffffffffff
push edi
test eax, eax
je 0x4281c6
lea eax, [ebp - 0x58]
push eax
call fcn.00402454
jmp 0x4281e1
lea eax, [ebp - 0xa0]
push eax
call fcn.00402454
push 0xffffffffffffffff
push edi
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x28]
call fcn.004244e1
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.0047134a
pop ecx
test eax, eax
jne 0x428209
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.00470f00
pop ecx
push edi
push ebx
lea ecx, [ebp - 0x28]
call fcn.004023bd
push edi
push ebx
lea ecx, [ebp - 0x88]
call fcn.004023bd
push edi
push ebx
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 3
call fcn.004023bd
add esi, 0x18
cmp esi, dword [ebp - 0xa8]
jne 0x428152
push edi
push ebx
lea ecx, [ebp - 0x40]
call fcn.004023bd
lea ecx, [ebp - 0xac]
call fcn.00402414
push edi
push ebx
lea ecx, [ebp - 0xa0]
call fcn.004023bd
push edi
push ebx
lea ecx, [ebp - 0x70]
call fcn.004023bd
call fcn.0043028b
ret
Function at 0x42a91b
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 1
mov ecx, esi
call fcn.00435a9d
pop esi
ret 4

Function at 0x42a95e
Capabilities:
Check if file exists
Create thread

Disassembly:
push 0x64
mov eax, 0x4921ef
call fcn.004302e1
mov edi, ecx
mov ecx, dword [edi + 0x14]
xor ebx, ebx
test ecx, ecx
je 0x42aa49
lea eax, [ebp - 0x28]
push eax
call fcn.0042f052
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 4], ebx
test ecx, ecx
je 0x42a9bc
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
movzx eax, word [eax + ecx*2 - 2]
cmp eax, 0x5c
je 0x42a9bc
cmp eax, 0x2f
je 0x42a9bc
mov esi, 0x498fe8
push esi
call fcn.00478f03
pop ecx
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.00424580
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.00472035
pop ecx
pop ecx
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmovae eax, dword [ebp - 0x58]
push eax
mov byte [ebp - 4], 1
call esi
test eax, eax
je 0x42aa91
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.00470e71
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
pop ecx
cmovae eax, dword [ebp - 0x28]
push eax
call esi
test eax, eax
je 0x42aa91
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.0042424f
mov ecx, eax
call fcn.004299c6
push ebx
push 1
lea ecx, [ebp - 0x58]
call fcn.004023bd
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
push ebx
push 1
call fcn.004023bd
mov ecx, dword [edi + 0xc]
test ecx, ecx
je 0x42aa5a
mov eax, dword [ecx]
push str.ck_W
call dword [eax + 0x3c]
lea esi, [edi - 0x504]
mov dword [edi + 0x34], 1
mov ecx, esi
call fcn.0042af24
mov ecx, esi
call fcn.0042ab4b
lea eax, [edi + 0x30]
push eax
push ebx
push esi
push 0x42a789
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [edi + 0x2c], eax
call fcn.0043028b
ret
lea eax, [ebp - 0x70]
push eax
call fcn.0042424f
mov ecx, eax
call fcn.0042925c
xor eax, eax
mov byte [ebp - 4], 2
mov esi, 0x499830
mov dword [ebp - 0x2c], 7
push esi
mov dword [ebp - 0x30], ebx
mov word [ebp - 0x40], ax
call fcn.00478f03
pop ecx
push eax
push esi
lea ecx, [ebp - 0x40]
call fcn.00402510
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x40]
call fcn.004244e1
mov esi, 0x499848
push esi
call fcn.00478f03
pop ecx
push eax
push esi
lea ecx, [ebp - 0x40]
call fcn.00424580
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0x40]
lea eax, [ebp - 0x70]
cmovae ecx, dword [ebp - 0x40]
cmp dword [ebp - 0x5c], 8
push ecx
cmovae eax, dword [ebp - 0x70]
push eax
push dword [edi - 0x500]
call fcn.00424f8e
add esp, 0xc
lea ecx, [ebp - 0x40]
push ebx
push 1
call fcn.004023bd
push ebx
push 1
lea ecx, [ebp - 0x70]
call fcn.004023bd
push ebx
push 1
lea ecx, [ebp - 0x58]
call fcn.004023bd
push ebx
push 1
lea ecx, [ebp - 0x28]
call fcn.004023bd
jmp 0x42aa8b
Function at 0x42b0f8
Capabilities:
Check if file exists
Delete file

Disassembly:
push 0x1c
mov eax, 0x49221c
call fcn.004302e1
push 0x499990
call fcn.0042b536
mov esi, eax
test esi, esi
je 0x42b13b
xor edi, edi
jmp 0x42b129
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
inc edi
cmp edi, 0xa
jg 0x42b13b
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42b118
call fcn.0042424f
mov ecx, eax
call fcn.00429209
push eax
lea ecx, [ebp - 0x28]
call fcn.00401f2f
and dword [ebp - 4], 0
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.004714d5
pop ecx
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.004023bd
xor eax, eax
inc eax
call fcn.0043028b
ret
Function at 0x42cda6
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x424
mov eax, 0x49241a
call fcn.0043034f
mov eax, dword [ebp + 0xc]
xor ebx, ebx
mov esi, dword [ebp + 8]
mov dword [ebp - 0x420], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x430], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], ebx
mov dword [ebp - 0x418], ebx
push 0x60
push ebx
push esi
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x424], edi
test edi, edi
jne 0x42ce23
push 2
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x424], eax
test edi, edi
jne 0x42ce23
call fcn.0042c1a0
mov esi, eax
jmp 0x42cefa
push dword [ebp - 0x41c]
push dword [ebp - 0x420]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x42ce46
call fcn.0042c1a0
jmp 0x42ceed
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x41c], eax
test eax, eax
je 0x42ce3c
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
mov dword [ebp - 0x420], esi
lea eax, [esi + 1]
cmp eax, esi
jae 0x42ce76
mov esi, 0x8007000e
jmp 0x42ceef
push eax
lea ecx, [ebp - 0x418]
mov byte [ebp - 4], 2
call fcn.0042bfbf
jmp 0x42ce9c
cmp dword [ebp - 0x418], 0
mov dword [ebp - 4], 1
je 0x42ce6f
push esi
push dword [ebp - 0x418]
push esi
push dword [ebp - 0x41c]
push ebx
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
je 0x42ce3c
mov eax, dword [ebp - 0x418]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x42c]
push dword [ebp - 0x418]
call fcn.0042cc6b
mov esi, eax
test edi, edi
je 0x42cefa
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x42cf13
lea ecx, [ebp - 0x418]
call fcn.0042c509
mov eax, esi
call fcn.0043029c
ret 0x10