joyce8/EMBER2024-capa huggingface dataset:
Function at 0x408739
Capabilities:
Check os version
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3e8
mov eax, dword [0x4f230c]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x3e8]
mov dword [ebp - 0x3e8], 0x114
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x408779
cmp dword [ebp - 0x3e4], 6
jne 0x408779
cmp dword [ebp - 0x3e0], 0
je 0x4087a3
push str.SetDefaultDllDirectories
push 0x4c5ca0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4087a3
push 0xc00
call eax
test eax, eax
jne 0x408838
push 0x106
lea eax, [ebp - 0x2d4]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x408838
cmp eax, 0x104
ja 0x408838
lea eax, [ebp - 0x2d4]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push 0x5c
pop ecx
cmp word [ebp + eax*2 - 0x2d6], cx
je 0x4087e3
mov word [ebp + eax*2 - 0x2d4], cx
inc eax
cmp byte [0x4c5e10], 0
push esi
mov esi, 0x4c5e10
je 0x408837
push edi
lea edi, [ebp - 0x2d4]
lea edi, [edi + eax*2]
mov edx, edi
mov cl, byte [esi]
inc esi
movzx eax, cl
mov word [edx], ax
lea edx, [edx + 2]
test cl, cl
jne 0x4087fe
push str..dll
lea eax, [ebp - 0x2d4]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push 8
push 0
lea eax, [ebp - 0x2d4]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
cmp byte [esi], 0
jne 0x4087fc
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00435ea6
mov esp, ebp
pop ebp
ret
Function at 0x40b9af
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 0x40ba5c
lea edi, [esi + 0xc8]
mov ebx, ecx
cmp dword [edi + 8], edx
je 0x40ba3b
push edi
call fcn.0040b984
pop ecx
xor edx, edx
add edi, 0x28
sub ebx, 1
jne 0x40ba2d
cmp dword [esi + 0x5c], ebx
je 0x40ba57
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.0040be73
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.0040b946
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x40bade
lea eax, [ebx + 0x20]
push eax
call fcn.0040dfa2
mov edi, eax
pop ecx
test edi, edi
jne 0x40bade
lea eax, [ebx + 0x1c]
push eax
call fcn.0040dfa2
mov edi, eax
pop ecx
test edi, edi
jne 0x40bade
push ebx
call fcn.0040c84b
mov edi, eax
test edi, edi
je 0x40bade
and dword [esi + 0x44], 0
lea ebx, [esi + 0xc8]
push 0x20
pop esi
push ebx
call fcn.0040b8b8
add ebx, 0x28
pop ecx
sub esi, 1
jne 0x40bacc
mov esi, dword [ebp + 8]
movzx eax, di
or eax, 0x80070000
test edi, edi
cmovle eax, edi
test eax, eax
je 0x40baf2
mov dword [esi + 0x40], eax
xor edx, edx
cmp dword [esi + 0x38], edx
jne 0x40bb06
cmp dword [esi + 0x40], edx
jne 0x40bb06
cmp dword [esi + 0x3c], edx
jne 0x40bb06
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 0x40dc39
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 0x40e01b
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.0047e2bf
mov ecx, dword [ebp + 8]
add esp, 0x18
mov dword [ecx], eax
test eax, eax
jne 0x40e047
call fcn.0040dfbe
mov esi, eax
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x41048b
Capabilities:
Create directory

Disassembly:
push 0x38
mov eax, 0x4be026
call fcn.00435eee
xor ebx, ebx
push ebx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x4104ab
mov al, 1
jmp 0x4104f2
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x4104bc
xor al, al
jmp 0x4104f2
lea ecx, [ebp - 0x44]
call fcn.004106e6
lea ecx, [ebp - 0x1c]
call fcn.0040e64e
push dword [ebp + 8]
lea ecx, [ebp - 0x44]
mov dword [ebp - 4], ebx
call fcn.004107cb
test al, al
je 0x4104e7
mov ebx, dword [ebp - 0x24]
shr ebx, 4
and bl, 1
push dword [ebp - 0x1c]
call fcn.00435fca
pop ecx
mov al, bl
call fcn.00435eb7
ret

Function at 0x410659
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 0x410ceb
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 0x410d97
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 0x410dbd
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x410dbd
xor al, al
jmp 0x410dd1
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 0x4110e5
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x4f230c]
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.0040e74d
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.00435ea6
mov esp, ebp
pop ebp
ret
Function at 0x411ec8
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov eax, dword [0x4f230c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push str.GlobalMemoryStatusEx
push 0x4c5ca0
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 0x411f2b
lea ecx, [ebp - 0x64]
push ecx
call eax
test eax, eax
je 0x411f2b
push dword [ebp - 0x58]
push dword [ebp - 0x5c]
push dword [ebp - 0x38]
push dword [ebp - 0x3c]
call fcn.00411e4b
add esp, 0x10
mov dword [esi + 4], edx
jmp 0x411f4a
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.00435ea6
mov esp, ebp
pop ebp
ret
Function at 0x41a1c1
Capabilities:
Write file on windows

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

Function at 0x420d3c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c2e0d
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x4f230c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
call fcn.00424a81
lea ecx, [esi + 0x30]
call fcn.00420ce2
push dword [esi + 0x24]
call fcn.00435fca
pop ecx
lea ecx, [esi + 0xc]
call fcn.00402ae6
mov ecx, esi
call fcn.00420bf9
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4297b5
Capabilities:
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 [0x4f230c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x418]
push edi
push eax
push 0x20019
xor edi, edi
push edi
push 0x4c7be8
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x418], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x4297fd
xor eax, eax
jmp 0x4298e7
push ebx
push 0x208
lea eax, [ebp - 0x414]
push edi
push eax
call fcn.0047a570
add esp, 0xc
mov dword [ebp - 0x41c], 0x104
lea eax, [ebp - 0x41c]
xor ebx, ebx
inc ebx
mov dword [ebp - 0x420], ebx
push eax
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x420]
push eax
push edi
push 0x4c4d10
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0x414]
push eax
call fcn.00476a35
pop ecx
test al, al
jne 0x4298c9
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x208
lea eax, [ebp - 0x20c]
push edi
push eax
call fcn.0047a570
add esp, 0xc
lea eax, [ebp - 0x20c]
push edi
push 0x26
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x20c]
push str.Internet_Exploreriexplore.exe
push eax
call fcn.00481b10
lea eax, [ebp - 0x20c]
push eax
call fcn.00476a35
add esp, 0xc
test al, al
jne 0x4298b8
xor eax, eax
jmp 0x4298e6
lea ecx, [ebp - 0x20c]
push ecx
push esi
call fcn.0047e051
pop ecx
pop ecx
jmp 0x4298e4
lea eax, [ebp - 0x414]
push eax
push esi
call fcn.0047e051
pop ecx
pop ecx
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00435ea6
mov esp, ebp
pop ebp
ret 4
Function at 0x4298f9
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x4f230c]
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.0047a570
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 0x4c7b38
push SysReAllocString
call esi
test eax, eax
je 0x429969
xor eax, eax
jmp 0x429a3a
lea eax, [ebp - 0x210]
push eax
push ebx
push edi
push str.shell
push dword [ebp - 0x218]
call esi
test eax, eax
jne 0x429962
lea eax, [ebp - 0x214]
push eax
push ebx
push edi
push str.opencommand
push dword [ebp - 0x210]
call esi
test eax, eax
jne 0x429962
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 0x4c4d10
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.00481ffa
mov edi, 0x4c7be4
push edi
push eax
call fcn.0047b843
add esp, 0xc
test eax, eax
je 0x429962
lea esi, [eax + 2]
push edi
push esi
call fcn.0047b843
pop ecx
pop ecx
test eax, eax
je 0x429962
xor ecx, ecx
push esi
mov word [eax], cx
call fcn.00476a35
pop ecx
xor ecx, ecx
test al, al
setne cl
mov eax, ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00435ea6
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1fa4
call fcn.00436e50
mov eax, dword [0x4f230c]
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.0047a570
push edi
lea eax, [ebp - 0x1004]
push ebx
push eax
call fcn.0047a570
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 0x4c7bd0
call fcn.0047e073
pop ecx
lea ecx, [ebp - 0x1fa4]
lea eax, [ecx + eax*2]
push eax
call fcn.0047e051
lea eax, [ebp - 0x1fa4]
push eax
lea eax, [ebp - 0x1004]
push eax
call fcn.0047e051
lea eax, [ebp - 0x804]
push esi
push eax
call fcn.0047e051
lea eax, [ebp - 0x1fa4]
push esi
push eax
call fcn.00481b10
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 0x429b43
push ebx
push ebx
push ebx
lea ecx, [ebp - 0x804]
push ecx
lea ecx, [ebp - 0x1004]
push ecx
call fcn.00476ab8
add esp, 0x14
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
inc eax
pop ebx
call fcn.00435ea6
mov esp, ebp
pop ebp
ret 4
Function at 0x42a240
Capabilities:
Check if file exists

Disassembly:
push 0xb8
mov eax, 0x4c0457
call fcn.00435f22
lea eax, [ebp - 0x88]
push str.ExtractAfterRun
push eax
call fcn.00426a5b
mov ecx, eax
call fcn.0042b1a6
xor ebx, ebx
xor edi, edi
inc ebx
mov dword [ebp - 4], edi
cmp dword [ebp - 0x78], edi
je 0x42a44a
call fcn.00426a5b
mov ecx, eax
call fcn.0042b1de
push eax
lea ecx, [ebp - 0xb8]
call fcn.00401e2f
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, 0x4c7e54
mov dword [ebp - 0x2c], 7
push esi
mov dword [ebp - 0x30], edi
mov word [ebp - 0x40], ax
call fcn.0047e073
pop ecx
push eax
push esi
lea ecx, [ebp - 0x40]
call fcn.004024ca
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.00401e2f
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.00401e2f
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.00475116
add esp, 0xc
lea ecx, [ebp - 0x58]
push edi
push ebx
call fcn.00402377
push edi
push ebx
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 3
call fcn.00402377
mov esi, dword [ebp - 0xc4]
jmp 0x42a41c
cmp dword [esi + 0x14], 8
jb 0x42a353
mov eax, dword [esi]
jmp 0x42a355
mov eax, esi
push eax
lea ecx, [ebp - 0x70]
call fcn.00401e2f
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.00474ab9
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 0x42a3b4
lea eax, [ebp - 0x70]
push eax
call fcn.0040240e
jmp 0x42a3cf
lea eax, [ebp - 0xb8]
push eax
call fcn.0040240e
push 0xffffffffffffffff
push edi
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x28]
call fcn.00427231
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.00476ce9
pop ecx
test eax, eax
jne 0x42a3f7
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.004771dc
pop ecx
push edi
push ebx
lea ecx, [ebp - 0x28]
call fcn.00402377
push edi
push ebx
lea ecx, [ebp - 0x58]
call fcn.00402377
push edi
push ebx
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 3
call fcn.00402377
add esi, 0x18
cmp esi, dword [ebp - 0xc0]
jne 0x42a349
push edi
push ebx
lea ecx, [ebp - 0x40]
call fcn.00402377
lea ecx, [ebp - 0xc4]
call fcn.004023ce
push edi
push ebx
lea ecx, [ebp - 0xb8]
call fcn.00402377
push edi
push ebx
lea ecx, [ebp - 0x88]
call fcn.00402377
call fcn.00435ecc
ret
Function at 0x42c457
Capabilities:
Check if file exists
Create thread

Disassembly:
push 0x64
mov eax, 0x4c09bc
call fcn.00435f22
mov edi, ecx
mov ecx, dword [edi + 0x14]
xor ebx, ebx
test ecx, ecx
je 0x42c542
lea eax, [ebp - 0x28]
push eax
call fcn.00430e35
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 4], ebx
test ecx, ecx
je 0x42c4b5
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 0x42c4b5
cmp eax, 0x2f
je 0x42c4b5
mov esi, 0x4c7dc0
push esi
call fcn.0047e073
pop ecx
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.004272d0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.00474ab9
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 0x42c579
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.00476d94
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
pop ecx
cmovae eax, dword [ebp - 0x28]
push eax
call esi
test eax, eax
je 0x42c579
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.00426a5b
mov ecx, eax
call fcn.0042b7b4
push ebx
push 1
lea ecx, [ebp - 0x58]
call fcn.00402377
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
push ebx
push 1
call fcn.00402377
lea esi, [edi - 0x510]
mov dword [edi + 0x34], 1
mov ecx, esi
call fcn.0042c9cf
mov ecx, esi
call fcn.0042c633
lea eax, [edi + 0x30]
push eax
push ebx
push esi
push 0x42c252
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [edi + 0x2c], eax
call fcn.00435ecc
ret
lea eax, [ebp - 0x70]
push eax
call fcn.00426a5b
mov ecx, eax
call fcn.0042b1f9
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.0047e073
pop ecx
push eax
push esi
lea ecx, [ebp - 0x40]
call fcn.004024ca
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x40]
call fcn.00427231
mov esi, 0x4c85c0
push esi
call fcn.0047e073
pop ecx
push eax
push esi
lea ecx, [ebp - 0x40]
call fcn.004272d0
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 - 0x50c]
call fcn.00427f2c
add esp, 0xc
lea ecx, [ebp - 0x40]
push ebx
push 1
call fcn.00402377
push ebx
push 1
lea ecx, [ebp - 0x70]
call fcn.00402377
push ebx
push 1
lea ecx, [ebp - 0x58]
call fcn.00402377
push ebx
push 1
lea ecx, [ebp - 0x28]
call fcn.00402377
jmp 0x42c573
Function at 0x42cb70
Capabilities:
Check if file exists
Delete file

Disassembly:
push 0x1c
mov eax, 0x4c0bd4
call fcn.00435f22
push str.d86096
call fcn.0042cfb6
mov esi, eax
test esi, esi
je 0x42cbb3
xor edi, edi
jmp 0x42cba1
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
inc edi
cmp edi, 0xa
jg 0x42cbb3
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42cb90
call fcn.00426a5b
mov ecx, eax
call fcn.0042b1ed
push eax
lea ecx, [ebp - 0x28]
call fcn.00401e2f
and dword [ebp - 4], 0
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.0047615e
pop ecx
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.00402377
xor eax, eax
inc eax
call fcn.00435ecc
ret
Function at 0x42eb62
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x424
mov eax, 0x4c0c67
call fcn.00435f90
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 0x42ebdf
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 0x42ebdf
call fcn.0042df36
mov esi, eax
jmp 0x42ecb6
push dword [ebp - 0x41c]
push dword [ebp - 0x420]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x42ec02
call fcn.0042df36
jmp 0x42eca9
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x41c], eax
test eax, eax
je 0x42ebf8
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 0x42ec32
mov esi, 0x8007000e
jmp 0x42ecab
push eax
lea ecx, [ebp - 0x418]
mov byte [ebp - 4], 2
call fcn.0042dd55
jmp 0x42ec58
cmp dword [ebp - 0x418], 0
mov dword [ebp - 4], 1
je 0x42ec2b
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 0x42ebf8
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.0042ea27
mov esi, eax
test edi, edi
je 0x42ecb6
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x42eccf
lea ecx, [ebp - 0x418]
call fcn.0042e287
mov eax, esi
call fcn.00435edd
ret 0x10
Function at 0x430e88
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
mov eax, dword [0x4f230c]
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.0047a570
push esi
call fcn.0047e073
add esp, 0x10
cmp eax, 3
jl 0x430ee1
push 3
lea eax, [ebp - 0xc]
push esi
push eax
call fcn.004826e4
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.00436820
cvtsd2ss xmm0, xmm0
cmp dword [edi + 0x548], ebx
je 0x430f7f
cvttss2si eax, xmm0
cmp eax, 0x400
jle 0x430f58
mulss xmm0, dword [0x4c9ba4]
lea eax, [ebp - 0x214]
push ecx
push ecx
cvtss2sd xmm0, xmm0
movsd qword [esp], xmm0
push str._.2fGB
push eax
call fcn.00427a60
add esp, 0x10
jmp 0x430f6d
push eax
lea eax, [ebp - 0x214]
push str._dMB
push eax
call fcn.00427a60
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.00435ea6
mov esp, ebp
pop ebp
ret 4