joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40ba69
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 0x40bb16
lea edi, [esi + 0xc8]
mov ebx, ecx
cmp dword [edi + 8], edx
je 0x40baf5
push edi
call fcn.0040ba3e
pop ecx
xor edx, edx
add edi, 0x28
sub ebx, 1
jne 0x40bae7
cmp dword [esi + 0x5c], ebx
je 0x40bb11
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.0040bf2d
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.0040ba00
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x40bb98
lea eax, [ebx + 0x20]
push eax
call fcn.0040e05c
mov edi, eax
pop ecx
test edi, edi
jne 0x40bb98
lea eax, [ebx + 0x1c]
push eax
call fcn.0040e05c
mov edi, eax
pop ecx
test edi, edi
jne 0x40bb98
push ebx
call fcn.0040c905
mov edi, eax
test edi, edi
je 0x40bb98
and dword [esi + 0x44], 0
lea ebx, [esi + 0xc8]
push 0x20
pop esi
push ebx
call fcn.0040b972
add ebx, 0x28
pop ecx
sub esi, 1
jne 0x40bb86
mov esi, dword [ebp + 8]
movzx eax, di
or eax, 0x80070000
test edi, edi
cmovle eax, edi
test eax, eax
je 0x40bbac
mov dword [esi + 0x40], eax
xor edx, edx
cmp dword [esi + 0x38], edx
jne 0x40bbc0
cmp dword [esi + 0x40], edx
jne 0x40bbc0
cmp dword [esi + 0x3c], edx
jne 0x40bbc0
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 0x40dcf3
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 0x40e0d5
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.0047e29f
mov ecx, dword [ebp + 8]
add esp, 0x18
mov dword [ecx], eax
test eax, eax
jne 0x40e101
call fcn.0040e078
mov esi, eax
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4104f1
Capabilities:
Create directory

Disassembly:
push 0x38
mov eax, 0x4be019
call fcn.00435ec9
xor ebx, ebx
push ebx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x410511
mov al, 1
jmp 0x410558
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x410522
xor al, al
jmp 0x410558
lea ecx, [ebp - 0x44]
call fcn.004107bc
lea ecx, [ebp - 0x1c]
call fcn.0040e708
push dword [ebp + 8]
lea ecx, [ebp - 0x44]
mov dword [ebp - 4], ebx
call fcn.004108a1
test al, al
je 0x41054d
mov ebx, dword [ebp - 0x24]
shr ebx, 4
and bl, 1
push dword [ebp - 0x1c]
call fcn.00435fa5
pop ecx
mov al, bl
call fcn.00435e92
ret

Function at 0x4105b2
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.0040e807
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.00435e81
mov esp, ebp
pop ebp
ret

Function at 0x41072a
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 0x410dc1
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 0x410e6d
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 0x410e93
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x410e93
xor al, al
jmp 0x410ea7
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 0x411f33
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 0x4c5c90
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 0x411f96
lea ecx, [ebp - 0x64]
push ecx
call eax
test eax, eax
je 0x411f96
push dword [ebp - 0x58]
push dword [ebp - 0x5c]
push dword [ebp - 0x38]
push dword [ebp - 0x3c]
call fcn.00411eb6
add esp, 0x10
mov dword [esi + 4], edx
jmp 0x411fb5
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.00435e81
mov esp, ebp
pop ebp
ret
Function at 0x41a1f2
Capabilities:
Write file on windows

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

Function at 0x420d8b
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c0a2b
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.00424b32
lea ecx, [esi + 0x30]
call fcn.00420d31
push dword [esi + 0x24]
call fcn.00435fa5
pop ecx
lea ecx, [esi + 0xc]
call fcn.00402aeb
mov ecx, esi
call fcn.00420c48
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4297fc
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 [0x4f230c]
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 0x4c7bd8
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x418], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x429844
xor eax, eax
jmp 0x42992e
push 0x208
lea eax, [ebp - 0x414]
push ebx
push eax
call fcn.0047a540
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 0x4c4ce0
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 0x429910
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x208
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.0047a540
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.00481b0b
pop ecx
pop ecx
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42983d
lea ecx, [ebp - 0x20c]
push ecx
push esi
call fcn.0047e031
pop ecx
pop ecx
jmp 0x42992b
lea eax, [ebp - 0x414]
push eax
push esi
call fcn.0047e031
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.00435e81
mov esp, ebp
pop ebp
ret 4
Function at 0x429940
Capabilities:
Check if file exists
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.0047a540
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 0x4c7b28
push SysReAllocString
call esi
test eax, eax
je 0x4299b0
xor eax, eax
jmp 0x429a7e
lea eax, [ebp - 0x210]
push eax
push ebx
push edi
push str.shell
push dword [ebp - 0x218]
call esi
test eax, eax
jne 0x4299a9
lea eax, [ebp - 0x214]
push eax
push ebx
push edi
push str.opencommand
push dword [ebp - 0x210]
call esi
test eax, eax
jne 0x4299a9
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 0x4c4ce0
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.00481ff3
mov edi, 0x4c7bd4
push edi
push eax
call fcn.0047b823
add esp, 0xc
test eax, eax
je 0x4299a9
lea esi, [eax + 2]
push edi
push esi
call fcn.0047b823
pop ecx
pop ecx
test eax, eax
je 0x4299a9
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.00435e81
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1fa4
call fcn.00436e30
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.0047a540
push edi
lea eax, [ebp - 0x1004]
push ebx
push eax
call fcn.0047a540
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 0x4c7bc0
call fcn.0047e053
pop ecx
lea ecx, [ebp - 0x1fa4]
lea eax, [ecx + eax*2]
push eax
call fcn.0047e031
lea eax, [ebp - 0x1fa4]
push eax
lea eax, [ebp - 0x1004]
push eax
call fcn.0047e031
lea eax, [ebp - 0x804]
push esi
push eax
call fcn.0047e031
lea eax, [ebp - 0x1fa4]
push esi
push eax
call fcn.00481b0b
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 0x429b87
push ebx
push ebx
push ebx
lea ecx, [ebp - 0x804]
push ecx
lea ecx, [ebp - 0x1004]
push ecx
call fcn.00475fce
add esp, 0x14
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
inc eax
pop ebx
call fcn.00435e81
mov esp, ebp
pop ebp
ret 4
Function at 0x42a252
Capabilities:
Check if file exists

Disassembly:
push 0xb8
mov eax, 0x4c0398
call fcn.00435efd
lea eax, [ebp - 0x88]
push str.ExtractAfterRun
push eax
call fcn.00426ab2
mov ecx, eax
call fcn.0042b1da
xor ebx, ebx
xor edi, edi
inc ebx
mov dword [ebp - 4], edi
cmp dword [ebp - 0x78], edi
je 0x42a45c
call fcn.00426ab2
mov ecx, eax
call fcn.0042b212
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, 0x4c7e44
mov dword [ebp - 0x2c], 7
push esi
mov dword [ebp - 0x30], edi
mov word [ebp - 0x40], ax
call fcn.0047e053
pop ecx
push eax
push esi
lea ecx, [ebp - 0x40]
call fcn.004024a6
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.0047509e
add esp, 0xc
lea ecx, [ebp - 0x58]
push edi
push ebx
call fcn.00402353
push edi
push ebx
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 3
call fcn.00402353
mov esi, dword [ebp - 0xc4]
jmp 0x42a42e
cmp dword [esi + 0x14], 8
jb 0x42a365
mov eax, dword [esi]
jmp 0x42a367
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.00474a41
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 0x42a3c6
lea eax, [ebp - 0x70]
push eax
call fcn.004023ea
jmp 0x42a3e1
lea eax, [ebp - 0xb8]
push eax
call fcn.004023ea
push 0xffffffffffffffff
push edi
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x28]
call fcn.00427288
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.004761ff
pop ecx
test eax, eax
jne 0x42a409
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.00476728
pop ecx
push edi
push ebx
lea ecx, [ebp - 0x28]
call fcn.00402353
push edi
push ebx
lea ecx, [ebp - 0x58]
call fcn.00402353
push edi
push ebx
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 3
call fcn.00402353
add esi, 0x18
cmp esi, dword [ebp - 0xc0]
jne 0x42a35b
push edi
push ebx
lea ecx, [ebp - 0x40]
call fcn.00402353
lea ecx, [ebp - 0xc4]
call fcn.004023aa
push edi
push ebx
lea ecx, [ebp - 0xb8]
call fcn.00402353
push edi
push ebx
lea ecx, [ebp - 0x88]
call fcn.00402353
call fcn.00435ea7
ret
Function at 0x42c378
Capabilities:
Check if file exists
Create thread

Disassembly:
push 0x64
mov eax, 0x4c08ca
call fcn.00435efd
mov edi, ecx
mov ecx, dword [edi + 0x14]
xor ebx, ebx
test ecx, ecx
je 0x42c463
lea eax, [ebp - 0x28]
push eax
call fcn.00430e42
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 4], ebx
test ecx, ecx
je 0x42c3d6
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 0x42c3d6
cmp eax, 0x2f
je 0x42c3d6
mov esi, 0x4c7db0
push esi
call fcn.0047e053
pop ecx
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.00427327
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.00474a41
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 0x42c49a
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.004762d8
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
pop ecx
cmovae eax, dword [ebp - 0x28]
push eax
call esi
test eax, eax
je 0x42c49a
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.00426ab2
mov ecx, eax
call fcn.0042b7e8
push ebx
push 1
lea ecx, [ebp - 0x58]
call fcn.00402353
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
push ebx
push 1
call fcn.00402353
lea esi, [edi - 0x510]
mov dword [edi + 0x34], 1
mov ecx, esi
call fcn.0042c8f0
mov ecx, esi
call fcn.0042c554
lea eax, [edi + 0x30]
push eax
push ebx
push esi
push 0x42c16f
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [edi + 0x2c], eax
call fcn.00435ea7
ret
lea eax, [ebp - 0x70]
push eax
call fcn.00426ab2
mov ecx, eax
call fcn.0042b22d
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.0047e053
pop ecx
push eax
push esi
lea ecx, [ebp - 0x40]
call fcn.004024a6
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x40]
call fcn.00427288
mov esi, 0x4c85b0
push esi
call fcn.0047e053
pop ecx
push eax
push esi
lea ecx, [ebp - 0x40]
call fcn.00427327
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.00427f9d
add esp, 0xc
lea ecx, [ebp - 0x40]
push ebx
push 1
call fcn.00402353
push ebx
push 1
lea ecx, [ebp - 0x70]
call fcn.00402353
push ebx
push 1
lea ecx, [ebp - 0x58]
call fcn.00402353
push ebx
push 1
lea ecx, [ebp - 0x28]
call fcn.00402353
jmp 0x42c494
Function at 0x42cb84
Capabilities:
Check if file exists
Delete file

Disassembly:
push 0x1c
mov eax, 0x4bd93d
call fcn.00435efd
push str.d86096
call fcn.0042cfb2
mov esi, eax
test esi, esi
je 0x42cbc7
xor edi, edi
jmp 0x42cbb5
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
inc edi
cmp edi, 0xa
jg 0x42cbc7
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42cba4
call fcn.00426ab2
mov ecx, eax
call fcn.0042b221
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.00476a8e
pop ecx
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.00402353
xor eax, eax
inc eax
call fcn.00435ea7
ret
Function at 0x42eb66
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x424
mov eax, 0x4c0b40
call fcn.00435f6b
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 0x42ebe3
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 0x42ebe3
call fcn.0042df3a
mov esi, eax
jmp 0x42ecba
push dword [ebp - 0x41c]
push dword [ebp - 0x420]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x42ec06
call fcn.0042df3a
jmp 0x42ecad
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x41c], eax
test eax, eax
je 0x42ebfc
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 0x42ec36
mov esi, 0x8007000e
jmp 0x42ecaf
push eax
lea ecx, [ebp - 0x418]
mov byte [ebp - 4], 2
call fcn.0042dd59
jmp 0x42ec5c
cmp dword [ebp - 0x418], 0
mov dword [ebp - 4], 1
je 0x42ec2f
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 0x42ebfc
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.0042ea2b
mov esi, eax
test edi, edi
je 0x42ecba
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x42ecd3
lea ecx, [ebp - 0x418]
call fcn.0042e28b
mov eax, esi
call fcn.00435eb8
ret 0x10
Function at 0x430e95
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.0047a540
push esi
call fcn.0047e053
add esp, 0x10
cmp eax, 3
jl 0x430eee
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.00436800
cvtsd2ss xmm0, xmm0
cmp dword [edi + 0x548], ebx
je 0x430f8c
cvttss2si eax, xmm0
cmp eax, 0x400
jle 0x430f65
mulss xmm0, dword [0x4c9b94]
lea eax, [ebp - 0x214]
push ecx
push ecx
cvtss2sd xmm0, xmm0
movsd qword [esp], xmm0
push str._.2fGB
push eax
call fcn.00427ad1
add esp, 0x10
jmp 0x430f7a
push eax
lea eax, [ebp - 0x214]
push str._dMB
push eax
call fcn.00427ad1
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.00435e81
mov esp, ebp
pop ebp
ret 4