joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40e035
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.0047e19f
mov ecx, dword [ebp + 8]
add esp, 0x18
mov dword [ecx], eax
test eax, eax
jne 0x40e061
call fcn.0040dfd8
mov esi, eax
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x41047d
Capabilities:
Create directory

Disassembly:
push 0x38
mov eax, 0x4bd837
call fcn.00435d29
xor ebx, ebx
push ebx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x41049d
mov al, 1
jmp 0x4104e4
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x4104ae
xor al, al
jmp 0x4104e4
lea ecx, [ebp - 0x44]
call fcn.00410748
lea ecx, [ebp - 0x1c]
call fcn.0040e668
push dword [ebp + 8]
lea ecx, [ebp - 0x44]
mov dword [ebp - 4], ebx
call fcn.0041082d
test al, al
je 0x4104d9
mov ebx, dword [ebp - 0x24]
shr ebx, 4
and bl, 1
push dword [ebp - 0x1c]
call fcn.00435e05
pop ecx
mov al, bl
call fcn.00435cf2
ret

Function at 0x41053e
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x4f030c]
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.0040e767
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.00435ce1
mov esp, ebp
pop ebp
ret

Function at 0x4106b6
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 0x410d4d
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 0x410df9
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 0x410e1f
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x410e1f
xor al, al
jmp 0x410e33
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 0x411ebf
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov eax, dword [0x4f030c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push str.GlobalMemoryStatusEx
push 0x4c4c70
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 0x411f22
lea ecx, [ebp - 0x64]
push ecx
call eax
test eax, eax
je 0x411f22
push dword [ebp - 0x58]
push dword [ebp - 0x5c]
push dword [ebp - 0x38]
push dword [ebp - 0x3c]
call fcn.00411e42
add esp, 0x10
mov dword [esi + 4], edx
jmp 0x411f41
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.00435ce1
mov esp, ebp
pop ebp
ret
Function at 0x41a1b4
Capabilities:
Write file on windows

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

Function at 0x420d60
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c27e3
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x4f030c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
call fcn.00424b0f
lea ecx, [esi + 0x30]
call fcn.00420d06
push dword [esi + 0x24]
call fcn.00435e05
pop ecx
lea ecx, [esi + 0xc]
call fcn.00402a86
mov ecx, esi
call fcn.00420c1d
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4297ed
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 [0x4f030c]
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 0x4c6bb0
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x418], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x429835
xor eax, eax
jmp 0x42991f
push 0x208
lea eax, [ebp - 0x414]
push ebx
push eax
call fcn.0047a420
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 0x4c4338
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 0x429901
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x208
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.0047a420
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.004819f0
pop ecx
pop ecx
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42982e
lea ecx, [ebp - 0x20c]
push ecx
push esi
call fcn.0047df31
pop ecx
pop ecx
jmp 0x42991c
lea eax, [ebp - 0x414]
push eax
push esi
call fcn.0047df31
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.00435ce1
mov esp, ebp
pop ebp
ret 4
Function at 0x429931
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x4f030c]
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.0047a420
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 0x4c6b00
push SysReAllocStringLen
call esi
test eax, eax
je 0x4299a1
xor eax, eax
jmp 0x429a6f
lea eax, [ebp - 0x210]
push eax
push ebx
push edi
push str.shell
push dword [ebp - 0x218]
call esi
test eax, eax
jne 0x42999a
lea eax, [ebp - 0x214]
push eax
push ebx
push edi
push str.opencommand
push dword [ebp - 0x210]
call esi
test eax, eax
jne 0x42999a
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 0x4c4338
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.00481ed8
mov edi, 0x4c6bac
push edi
push eax
call fcn.0047b703
add esp, 0xc
test eax, eax
je 0x42999a
lea esi, [eax + 2]
push edi
push esi
call fcn.0047b703
pop ecx
pop ecx
test eax, eax
je 0x42999a
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.00435ce1
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1fa4
call fcn.00436c70
mov eax, dword [0x4f030c]
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.0047a420
push edi
lea eax, [ebp - 0x1004]
push ebx
push eax
call fcn.0047a420
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 0x4c6b98
call fcn.0047df53
pop ecx
lea ecx, [ebp - 0x1fa4]
lea eax, [ecx + eax*2]
push eax
call fcn.0047df31
lea eax, [ebp - 0x1fa4]
push eax
lea eax, [ebp - 0x1004]
push eax
call fcn.0047df31
lea eax, [ebp - 0x804]
push esi
push eax
call fcn.0047df31
lea eax, [ebp - 0x1fa4]
push esi
push eax
call fcn.004819f0
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 0x429b78
push ebx
push ebx
push ebx
lea ecx, [ebp - 0x804]
push ecx
lea ecx, [ebp - 0x1004]
push ecx
call fcn.00476048
add esp, 0x14
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
inc eax
pop ebx
call fcn.00435ce1
mov esp, ebp
pop ebp
ret 4
Function at 0x42a243
Capabilities:
Check if file exists

Disassembly:
push 0xb8
mov eax, 0x4bfbcb
call fcn.00435d5d
lea eax, [ebp - 0x88]
push str.ExtractAfterRun
push eax
call fcn.00426a98
mov ecx, eax
call fcn.0042b1cb
xor ebx, ebx
xor edi, edi
inc ebx
mov dword [ebp - 4], edi
cmp dword [ebp - 0x78], edi
je 0x42a44d
call fcn.00426a98
mov ecx, eax
call fcn.0042b203
push eax
lea ecx, [ebp - 0xb8]
call fcn.00401dcf
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, 0x4c6e1c
mov dword [ebp - 0x2c], 7
push esi
mov dword [ebp - 0x30], edi
mov word [ebp - 0x40], ax
call fcn.0047df53
pop ecx
push eax
push esi
lea ecx, [ebp - 0x40]
call fcn.0040246a
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.00401dcf
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.00401dcf
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.00475118
add esp, 0xc
lea ecx, [ebp - 0x58]
push edi
push ebx
call fcn.00402317
push edi
push ebx
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 3
call fcn.00402317
mov esi, dword [ebp - 0xc4]
jmp 0x42a41f
cmp dword [esi + 0x14], 8
jb 0x42a356
mov eax, dword [esi]
jmp 0x42a358
mov eax, esi
push eax
lea ecx, [ebp - 0x70]
call fcn.00401dcf
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.00474abb
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 0x42a3b7
lea eax, [ebp - 0x70]
push eax
call fcn.004023ae
jmp 0x42a3d2
lea eax, [ebp - 0xb8]
push eax
call fcn.004023ae
push 0xffffffffffffffff
push edi
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x28]
call fcn.00427265
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.00476279
pop ecx
test eax, eax
jne 0x42a3fa
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.004767a2
pop ecx
push edi
push ebx
lea ecx, [ebp - 0x28]
call fcn.00402317
push edi
push ebx
lea ecx, [ebp - 0x58]
call fcn.00402317
push edi
push ebx
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 3
call fcn.00402317
add esi, 0x18
cmp esi, dword [ebp - 0xc0]
jne 0x42a34c
push edi
push ebx
lea ecx, [ebp - 0x40]
call fcn.00402317
lea ecx, [ebp - 0xc4]
call fcn.0040236e
push edi
push ebx
lea ecx, [ebp - 0xb8]
call fcn.00402317
push edi
push ebx
lea ecx, [ebp - 0x88]
call fcn.00402317
call fcn.00435d07
ret
Function at 0x42c37e
Capabilities:
Check if file exists
Create thread

Disassembly:
push 0x64
mov eax, 0x4c0132
call fcn.00435d5d
mov edi, ecx
mov ecx, dword [edi + 0x14]
xor ebx, ebx
test ecx, ecx
je 0x42c469
lea eax, [ebp - 0x28]
push eax
call fcn.00430ca3
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 4], ebx
test ecx, ecx
je 0x42c3dc
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 0x42c3dc
cmp eax, 0x2f
je 0x42c3dc
mov esi, 0x4c6d88
push esi
call fcn.0047df53
pop ecx
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.00427304
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.00474abb
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 0x42c4a0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.00476352
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
pop ecx
cmovae eax, dword [ebp - 0x28]
push eax
call esi
test eax, eax
je 0x42c4a0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.00426a98
mov ecx, eax
call fcn.0042b7d6
push ebx
push 1
lea ecx, [ebp - 0x58]
call fcn.00402317
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
push ebx
push 1
call fcn.00402317
lea esi, [edi - 0x510]
mov dword [edi + 0x34], 1
mov ecx, esi
call fcn.0042c8f6
mov ecx, esi
call fcn.0042c55a
lea eax, [edi + 0x30]
push eax
push ebx
push esi
push 0x42c17a
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [edi + 0x2c], eax
call fcn.00435d07
ret
lea eax, [ebp - 0x70]
push eax
call fcn.00426a98
mov ecx, eax
call fcn.0042b21b
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.0047df53
pop ecx
push eax
push esi
lea ecx, [ebp - 0x40]
call fcn.0040246a
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x40]
call fcn.00427265
mov esi, 0x4c7588
push esi
call fcn.0047df53
pop ecx
push eax
push esi
lea ecx, [ebp - 0x40]
call fcn.00427304
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.00427f65
add esp, 0xc
lea ecx, [ebp - 0x40]
push ebx
push 1
call fcn.00402317
push ebx
push 1
lea ecx, [ebp - 0x70]
call fcn.00402317
push ebx
push 1
lea ecx, [ebp - 0x58]
call fcn.00402317
push ebx
push 1
lea ecx, [ebp - 0x28]
call fcn.00402317
jmp 0x42c49a
Function at 0x42ca8c
Capabilities:
Check if file exists
Delete file

Disassembly:
push 0x1c
mov eax, 0x4c034a
call fcn.00435d5d
push str.d86096
call fcn.0042ceb0
mov esi, eax
test esi, esi
je 0x42cacf
xor edi, edi
jmp 0x42cabd
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
inc edi
cmp edi, 0xa
jg 0x42cacf
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42caac
call fcn.00426a98
mov ecx, eax
call fcn.0042b20f
push eax
lea ecx, [ebp - 0x28]
call fcn.00401dcf
and dword [ebp - 4], 0
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.00476b26
pop ecx
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.00402317
xor eax, eax
inc eax
call fcn.00435d07
ret
Function at 0x42ea3f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x424
mov eax, 0x4c03dd
call fcn.00435dcb
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 0x42eabc
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 0x42eabc
call fcn.0042de10
mov esi, eax
jmp 0x42eb93
push dword [ebp - 0x41c]
push dword [ebp - 0x420]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x42eadf
call fcn.0042de10
jmp 0x42eb86
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x41c], eax
test eax, eax
je 0x42ead5
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 0x42eb0f
mov esi, 0x8007000e
jmp 0x42eb88
push eax
lea ecx, [ebp - 0x418]
mov byte [ebp - 4], 2
call fcn.0042dc2f
jmp 0x42eb35
cmp dword [ebp - 0x418], 0
mov dword [ebp - 4], 1
je 0x42eb08
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 0x42ead5
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.0042e904
mov esi, eax
test edi, edi
je 0x42eb93
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x42ebac
lea ecx, [ebp - 0x418]
call fcn.0042e164
mov eax, esi
call fcn.00435d18
ret 0x10
Function at 0x430cf6
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
mov eax, dword [0x4f030c]
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.0047a420
push esi
call fcn.0047df53
add esp, 0x10
cmp eax, 3
jl 0x430d4f
push 3
lea eax, [ebp - 0xc]
push esi
push eax
call fcn.004825c4
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.00436660
cvtsd2ss xmm0, xmm0
cmp dword [edi + 0x548], ebx
je 0x430ded
cvttss2si eax, xmm0
cmp eax, 0x400
jle 0x430dc6
mulss xmm0, dword [0x4c8b6c]
lea eax, [ebp - 0x214]
push ecx
push ecx
cvtss2sd xmm0, xmm0
movsd qword [esp], xmm0
push str._.2fGB
push eax
call fcn.00427a94
add esp, 0x10
jmp 0x430ddb
push eax
lea eax, [ebp - 0x214]
push str._dMB
push eax
call fcn.00427a94
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.00435ce1
mov esp, ebp
pop ebp
ret 4
Function at 0x43152f
Capabilities:
Check if file exists

Disassembly:
push 0xbc
mov eax, 0x4c097b
call fcn.00435d5d
mov ebx, ecx
mov ecx, dword [ebx + 0x540]
test ecx, ecx
je 0x431667
mov eax, dword [ecx]
lea edx, [ebp - 0xc4]
push edx
call dword [eax + 0x38]
xor edi, edi
mov ecx, eax
mov dword [ebp - 4], edi
call fcn.0043882c
push eax
lea ecx, [ebp - 0x28]
call fcn.00401dcf
lea ecx, [ebp - 0xc4]
mov byte [ebp - 4], 2
call fcn.004382e1
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.0047df53
pop ecx
cmp eax, 3
jle 0x431649
push 3
push edi
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.00429740
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
neg eax
lea ecx, [ebp - 0x40]
push edi
push 1
sbb esi, esi
call fcn.00402317
and esi, 1
je 0x431649
mov ecx, dword [ebx + 0x534]
test ecx, ecx
je 0x4315e2
mov eax, dword [ecx]
push 1
call dword [eax + 0xec]
mov eax, dword [ebx + 0x528]
mov ecx, edi
mov esi, dword [ebx + 0x524]
mov edi, eax
sub edi, esi
xor edx, edx
add edi, 3
shr edi, 2
cmp esi, eax
cmova edi, edx
test edi, edi
jmp 0x43162a
mov edx, dword [esi]
test edx, edx
je 0x431624
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
mov eax, dword [edx]
cmovae ecx, dword [ebp - 0x28]
push ecx
mov ecx, edx
call dword [eax + 4]
mov ecx, dword [ebp - 0xc8]
add esi, 4
inc ecx
cmp ecx, edi
mov dword [ebp - 0xc8], ecx
jne 0x431605
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov ecx, ebx
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.00430cf6
xor edi, edi
jmp 0x43165c
mov ecx, dword [ebx + 0x534]
test ecx, ecx
je 0x43165c
mov eax, dword [ecx]
push edi
call dword [eax + 0xec]
push edi
push 1
lea ecx, [ebp - 0x28]
call fcn.00402317
call fcn.00435d07
ret