joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40b9d0
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 0x40ba7d
lea edi, [esi + 0xc8]
mov ebx, ecx
cmp dword [edi + 8], edx
je 0x40ba5c
push edi
call fcn.0040b9a5
pop ecx
xor edx, edx
add edi, 0x28
sub ebx, 1
jne 0x40ba4e
cmp dword [esi + 0x5c], ebx
je 0x40ba78
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.0040be94
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.0040b967
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x40baff
lea eax, [ebx + 0x20]
push eax
call fcn.0040dfc3
mov edi, eax
pop ecx
test edi, edi
jne 0x40baff
lea eax, [ebx + 0x1c]
push eax
call fcn.0040dfc3
mov edi, eax
pop ecx
test edi, edi
jne 0x40baff
push ebx
call fcn.0040c86c
mov edi, eax
test edi, edi
je 0x40baff
and dword [esi + 0x44], 0
lea ebx, [esi + 0xc8]
push 0x20
pop esi
push ebx
call fcn.0040b8d9
add ebx, 0x28
pop ecx
sub esi, 1
jne 0x40baed
mov esi, dword [ebp + 8]
movzx eax, di
or eax, 0x80070000
test edi, edi
cmovle eax, edi
test eax, eax
je 0x40bb13
mov dword [esi + 0x40], eax
xor edx, edx
cmp dword [esi + 0x38], edx
jne 0x40bb27
cmp dword [esi + 0x40], edx
jne 0x40bb27
cmp dword [esi + 0x3c], edx
jne 0x40bb27
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 0x40dc5a
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 0x40e03c
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.0047abdf
mov ecx, dword [ebp + 8]
add esp, 0x18
mov dword [ecx], eax
test eax, eax
jne 0x40e068
call fcn.0040dfdf
mov esi, eax
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x410484
Capabilities:
Create directory

Disassembly:
push 0x38
mov eax, 0x4ba20d
call fcn.00431d3b
xor ebx, ebx
push ebx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x4104a4
mov al, 1
jmp 0x4104eb
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x4104b5
xor al, al
jmp 0x4104eb
lea ecx, [ebp - 0x44]
call fcn.0041074f
lea ecx, [ebp - 0x1c]
call fcn.0040e66f
push dword [ebp + 8]
lea ecx, [ebp - 0x44]
mov dword [ebp - 4], ebx
call fcn.00410834
test al, al
je 0x4104e0
mov ebx, dword [ebp - 0x24]
shr ebx, 4
and bl, 1
push dword [ebp - 0x1c]
call fcn.00431e17
pop ecx
mov al, bl
call fcn.00431d04
ret

Function at 0x410545
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x4ed290]
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.0040e76e
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.00431cf3
mov esp, ebp
pop ebp
ret

Function at 0x4106bd
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 0x410d54
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 0x410e00
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 0x410e26
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x410e26
xor al, al
jmp 0x410e3a
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 0x411ec6
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov eax, dword [0x4ed290]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push str.GlobalMemoryStatusEx
push 0x4c1c68
mov dword [ebp - 0x64], 0x40
and dword [esi + 4], 0
mov dword [esi], SysReAllocStringLen
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x411f29
lea ecx, [ebp - 0x64]
push ecx
call eax
test eax, eax
je 0x411f29
push dword [ebp - 0x58]
push dword [ebp - 0x5c]
push dword [ebp - 0x38]
push dword [ebp - 0x3c]
call fcn.00411e49
add esp, 0x10
mov dword [esi + 4], edx
jmp 0x411f48
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.00431cf3
mov esp, ebp
pop ebp
ret
Function at 0x41a1c4
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x14]
test esi, esi
je 0x41a1d2
and dword [esi], 0
mov eax, dword [ebp + 0x10]
xor edx, edx
inc edx
test eax, eax
je 0x41a214
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 0x41a214
add dword [esi], eax
test edx, edx
setne al
movzx eax, al
push eax
call fcn.00419d0f
pop ecx
pop esi
pop ebp
ret 0x10

Function at 0x420d2d
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bf1ab
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x4ed290]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
call fcn.00424ae1
lea ecx, [esi + 0x30]
call fcn.00420cd3
push dword [esi + 0x24]
call fcn.00431e17
pop ecx
lea ecx, [esi + 0xc]
call fcn.00402a56
mov ecx, esi
call fcn.00420bea
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4293da
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 [0x4ed290]
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 0x4c3bc8
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x418], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x429422
xor eax, eax
jmp 0x42950c
push 0x208
lea eax, [ebp - 0x414]
push ebx
push eax
call fcn.00476e90
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 0x4c0d38
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 0x4294ee
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x208
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.00476e90
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.0047e44b
pop ecx
pop ecx
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42941b
lea ecx, [ebp - 0x20c]
push ecx
push esi
call fcn.0047a971
pop ecx
pop ecx
jmp 0x429509
lea eax, [ebp - 0x414]
push eax
push esi
call fcn.0047a971
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.00431cf3
mov esp, ebp
pop ebp
ret 4
Function at 0x42951e
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x4ed290]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor edi, edi
lea eax, [ebp - 0x20c]
push 0x208
push edi
push eax
mov dword [ebp - 0x218], edi
mov dword [ebp - 0x210], edi
mov dword [ebp - 0x214], edi
mov dword [ebp - 0x21c], edi
call fcn.00476e90
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 0x218]
add esp, 0xc
mov ebx, 0x20019
push eax
push ebx
push edi
push 0x4c3b18
push SysReAllocStringLen
call esi
test eax, eax
je 0x42958e
xor eax, eax
jmp 0x42965c
lea eax, [ebp - 0x210]
push eax
push ebx
push edi
push str.shell
push dword [ebp - 0x218]
call esi
test eax, eax
jne 0x429587
lea eax, [ebp - 0x214]
push eax
push ebx
push edi
push str.opencommand
push dword [ebp - 0x210]
call esi
test eax, eax
jne 0x429587
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 edi
push 0x4c0d38
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.0047e933
mov edi, 0x4c3bc4
push edi
push eax
call fcn.00478163
add esp, 0xc
test eax, eax
je 0x429587
lea esi, [eax + 2]
push edi
push esi
call fcn.00478163
pop ecx
pop ecx
test eax, eax
je 0x429587
xor ecx, ecx
push esi
mov word [eax], cx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
neg eax
sbb eax, eax
neg eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00431cf3
mov esp, ebp
pop ebp
ret

Function at 0x429692
Capabilities:
Create process on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1fa4
call fcn.00432ca0
mov eax, dword [0x4ed290]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x804]
push edi
mov edi, 0x800
xor ebx, ebx
push edi
push ebx
push eax
call fcn.00476e90
push edi
lea eax, [ebp - 0x1004]
push ebx
push eax
call fcn.00476e90
add esp, 0x18
lea eax, [ebp - 0x1fa4]
push 0x7d0
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push str.Program_FilesInternet_Exploreriexplore.exe
push 0x4c3bb0
call fcn.0047a993
pop ecx
lea ecx, [ebp - 0x1fa4]
lea eax, [ecx + eax*2]
push eax
call fcn.0047a971
lea eax, [ebp - 0x1fa4]
push eax
lea eax, [ebp - 0x1004]
push eax
call fcn.0047a971
lea eax, [ebp - 0x804]
push esi
push eax
call fcn.0047a971
lea eax, [ebp - 0x1fa4]
push esi
push eax
call fcn.0047e44b
add esp, 0x20
push 1
push ebx
push ebx
push esi
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
ja 0x429765
push ebx
push ebx
push ebx
lea ecx, [ebp - 0x804]
push ecx
lea ecx, [ebp - 0x1004]
push ecx
call fcn.004748bb
add esp, 0x14
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
inc eax
pop ebx
call fcn.00431cf3
mov esp, ebp
pop ebp
ret 4
Function at 0x429e73
Capabilities:
Check if file exists

Disassembly:
push 0xb8
mov eax, 0x4bc566
call fcn.00431d6f
lea eax, [ebp - 0x88]
push str.ExtractAfterRun
push eax
call fcn.00426a87
mov ecx, eax
call fcn.0042add9
xor ebx, ebx
xor edi, edi
inc ebx
mov dword [ebp - 4], edi
cmp dword [ebp - 0x78], edi
je 0x42a07d
call fcn.00426a87
mov ecx, eax
call fcn.0042ae11
push eax
lea ecx, [ebp - 0xb8]
call fcn.00401daf
mov dword [ebp - 0xc4], edi
mov dword [ebp - 0xc0], edi
mov dword [ebp - 0xbc], edi
xor eax, eax
mov byte [ebp - 4], 2
mov esi, 0x4c3e50
mov dword [ebp - 0x2c], 7
push esi
mov dword [ebp - 0x30], edi
mov word [ebp - 0x40], ax
call fcn.0047a993
pop ecx
push eax
push esi
lea ecx, [ebp - 0x40]
call fcn.00402440
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 3
cmovae eax, dword [ebp - 0x40]
push eax
call fcn.00401daf
cmp dword [ebp - 0x74], 8
lea eax, [ebp - 0x88]
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 4
cmovae eax, dword [ebp - 0x88]
push eax
call fcn.00401daf
lea eax, [ebp - 0xc4]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.004741db
add esp, 0xc
lea ecx, [ebp - 0x58]
push edi
push ebx
call fcn.004022ed
push edi
push ebx
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 3
call fcn.004022ed
mov esi, dword [ebp - 0xc4]
jmp 0x42a04f
cmp dword [esi + 0x14], 8
jb 0x429f86
mov eax, dword [esi]
jmp 0x429f88
mov eax, esi
push eax
lea ecx, [ebp - 0x70]
call fcn.00401daf
cmp dword [ebp - 0x5c], 8
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 6
cmovae eax, dword [ebp - 0x70]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.00473e51
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 - 0x44], 8
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 8
cmovae eax, dword [ebp - 0x58]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea ecx, [ebp - 0x28]
push 0xffffffffffffffff
push edi
test eax, eax
je 0x429fe7
lea eax, [ebp - 0x70]
push eax
call fcn.00402384
jmp 0x42a002
lea eax, [ebp - 0xb8]
push eax
call fcn.00402384
push 0xffffffffffffffff
push edi
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x28]
call fcn.00427254
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.00474a67
pop ecx
test eax, eax
jne 0x42a02a
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.00474ccc
pop ecx
push edi
push ebx
lea ecx, [ebp - 0x28]
call fcn.004022ed
push edi
push ebx
lea ecx, [ebp - 0x58]
call fcn.004022ed
push edi
push ebx
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 3
call fcn.004022ed
add esi, 0x18
cmp esi, dword [ebp - 0xc0]
jne 0x429f7c
push edi
push ebx
lea ecx, [ebp - 0x40]
call fcn.004022ed
lea ecx, [ebp - 0xc4]
call fcn.00402344
push edi
push ebx
lea ecx, [ebp - 0xb8]
call fcn.004022ed
push edi
push ebx
lea ecx, [ebp - 0x88]
call fcn.004022ed
call fcn.00431d19
ret
Function at 0x42c073
Capabilities:
Check if file exists
Create thread

Disassembly:
push 0x64
mov eax, 0x4bcacb
call fcn.00431d6f
mov edi, ecx
mov ecx, dword [edi + 0x14]
xor ebx, ebx
test ecx, ecx
je 0x42c15e
lea eax, [ebp - 0x28]
push eax
call fcn.00430aa2
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 4], ebx
test ecx, ecx
je 0x42c0d1
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 0x42c0d1
cmp eax, 0x2f
je 0x42c0d1
mov esi, 0x4c3da0
push esi
call fcn.0047a993
pop ecx
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.004272f3
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.00473e51
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 0x42c195
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.00474a8c
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
pop ecx
cmovae eax, dword [ebp - 0x28]
push eax
call esi
test eax, eax
je 0x42c195
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.00426a87
mov ecx, eax
call fcn.0042b3e4
push ebx
push 1
lea ecx, [ebp - 0x58]
call fcn.004022ed
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
push ebx
push 1
call fcn.004022ed
lea esi, [edi - 0x504]
mov dword [edi + 0x34], 1
mov ecx, esi
call fcn.0042c5eb
mov ecx, esi
call fcn.0042c24f
lea eax, [edi + 0x30]
push eax
push ebx
push esi
push 0x42be6f
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [edi + 0x2c], eax
call fcn.00431d19
ret
lea eax, [ebp - 0x70]
push eax
call fcn.00426a87
mov ecx, eax
call fcn.0042ae29
xor eax, eax
mov byte [ebp - 4], 2
mov esi, str.Failed_to_create_folder
mov dword [ebp - 0x2c], 7
push esi
mov dword [ebp - 0x30], ebx
mov word [ebp - 0x40], ax
call fcn.0047a993
pop ecx
push eax
push esi
lea ecx, [ebp - 0x40]
call fcn.00402440
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x40]
call fcn.00427254
mov esi, 0x4c45b8
push esi
call fcn.0047a993
pop ecx
push eax
push esi
lea ecx, [ebp - 0x40]
call fcn.004272f3
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.00427b6e
add esp, 0xc
lea ecx, [ebp - 0x40]
push ebx
push 1
call fcn.004022ed
push ebx
push 1
lea ecx, [ebp - 0x70]
call fcn.004022ed
push ebx
push 1
lea ecx, [ebp - 0x58]
call fcn.004022ed
push ebx
push 1
lea ecx, [ebp - 0x28]
call fcn.004022ed
jmp 0x42c18f
Function at 0x42c75f
Capabilities:
Check if file exists
Delete file

Disassembly:
push 0x1c
mov eax, 0x4bcc07
call fcn.00431d6f
push str.FileName
call fcn.0042cc2d
mov esi, eax
test esi, esi
je 0x42c7a2
xor edi, edi
jmp 0x42c790
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
inc edi
cmp edi, 0xa
jg 0x42c7a2
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42c77f
call fcn.00426a87
mov ecx, eax
call fcn.0042ae1d
push eax
lea ecx, [ebp - 0x28]
call fcn.00401daf
and dword [ebp - 4], 0
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.00474ec1
pop ecx
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.004022ed
xor eax, eax
inc eax
call fcn.00431d19
ret
Function at 0x42e7e2
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x424
mov eax, 0x4bcd26
call fcn.00431ddd
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 0x42e85f
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 0x42e85f
call fcn.0042dbb3
mov esi, eax
jmp 0x42e936
push dword [ebp - 0x41c]
push dword [ebp - 0x420]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x42e882
call fcn.0042dbb3
jmp 0x42e929
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x41c], eax
test eax, eax
je 0x42e878
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 0x42e8b2
mov esi, 0x8007000e
jmp 0x42e92b
push eax
lea ecx, [ebp - 0x418]
mov byte [ebp - 4], 2
call fcn.0042d9d2
jmp 0x42e8d8
cmp dword [ebp - 0x418], 0
mov dword [ebp - 4], 1
je 0x42e8ab
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 0x42e878
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.0042e6a7
mov esi, eax
test edi, edi
je 0x42e936
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x42e94f
lea ecx, [ebp - 0x418]
call fcn.0042df04
mov eax, esi
call fcn.00431d2a
ret 0x10
Function at 0x430af5
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
mov eax, dword [0x4ed290]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
xor eax, eax
push edi
xor ebx, ebx
mov word [ebp - 0xc], ax
push 0x208
lea eax, [ebp - 0x214]
mov dword [ebp - 0xa], ebx
push ebx
push eax
mov edi, ecx
mov word [ebp - 6], bx
call fcn.00476e90
push esi
call fcn.0047a993
add esp, 0x10
cmp eax, 3
jl 0x430b4e
push 3
lea eax, [ebp - 0xc]
push esi
push eax
call fcn.0047f024
add esp, 0xc
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
mov ecx, dword [ebp - 0x21c]
mov edx, dword [ebp - 0x218]
shrd ecx, edx, 0x14
shr edx, 0x14
call fcn.00432670
cvtsd2ss xmm0, xmm0
cmp dword [edi + 0x548], ebx
je 0x430bec
cvttss2si eax, xmm0
cmp eax, 0x400
jle 0x430bc5
mulss xmm0, dword [0x4c5ba4]
lea eax, [ebp - 0x214]
push ecx
push ecx
cvtss2sd xmm0, xmm0
movsd qword [esp], xmm0
push str._.2fGB
push eax
call fcn.004276a2
add esp, 0x10
jmp 0x430bda
push eax
lea eax, [ebp - 0x214]
push str._dMB
push eax
call fcn.004276a2
add esp, 0xc
mov ecx, dword [edi + 0x548]
lea edx, [ebp - 0x214]
push edx
mov eax, dword [ecx]
call dword [eax + 0x3c]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00431cf3
mov esp, ebp
pop ebp
ret 4