joyce8/EMBER2024-capa huggingface dataset:
Function at 0x425c70
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
mov eax, dword [0x4b7f60]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 7
pop ebx
mov esi, ecx
push 0
lea ecx, [ebp - 0x20]
mov edi, edx
mov dword [ebp - 8], ebx
call fcn.00401ca3
push 0
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x24], ebx
call fcn.00401ca3
lea eax, [esi + 0x17c]
push eax
lea ebx, [ebp - 0x20]
mov eax, edi
call fcn.00424cd1
pop ecx
lea ebx, [esi + 0x130]
push ebx
lea eax, [ebp - 0x20]
call fcn.004276b7
pop ecx
lea eax, [ebp - 0x3c]
push eax
mov eax, edi
call fcn.00424d6f
pop ecx
lea eax, [esi + 0x14c]
push eax
lea eax, [ebp - 0x3c]
call fcn.004276b7
pop ecx
xor edi, edi
push edi
push 1
call fcn.0040f450
pop ecx
pop ecx
cmp eax, edi
je 0x425cfc
lea ecx, [ebp - 0x5c]
mov dword [eax], ecx
mov dword [ebp - 0x5c], eax
jmp 0x425cff
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x44], 0x1e
dec dword [ebp - 0x44]
lea eax, [ebp - 0x5c]
call fcn.00426d9a
cmp dword [ebx + 0x18], 0x10
jb 0x425d25
mov eax, dword [ebx + 4]
jmp 0x425d28
lea eax, [ebx + 4]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov edi, eax
test edi, edi
jne 0x425d55
cmp dword [ebx + 0x18], 0x10
jb 0x425d40
mov eax, dword [ebx + 4]
jmp 0x425d43
lea eax, [ebx + 4]
push eax
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [esi + 0x178], eax
jmp 0x425ddb
mov eax, dword [edi + 0xc]
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [esi + 0x178], eax
mov eax, dword [edi + 0xc]
cmp dword [eax], 0
je 0x425ddb
and dword [ebp - 0x40], 0
mov ecx, dword [ebp - 0x40]
mov eax, dword [ecx + eax]
mov ecx, dword [ebp - 0x50]
mov eax, dword [eax]
add dword [ebp - 0x40], 4
mov dword [ebp - 0x60], eax
test ecx, ecx
jne 0x425d88
xor eax, eax
jmp 0x425d90
mov eax, dword [ebp - 0x48]
sub eax, ecx
sar eax, 2
mov edx, dword [ebp - 0x4c]
sub edx, ecx
sar edx, 2
cmp edx, eax
mov eax, dword [ebp - 0x4c]
jae 0x425dac
mov ecx, dword [ebp - 0x60]
mov dword [eax], ecx
add eax, 4
mov dword [ebp - 0x4c], eax
jmp 0x425dcf
mov dword [ebp - 0x64], eax
cmp ecx, eax
jbe 0x425db8
call fcn.0046d3d9
push dword [ebp - 0x64]
mov eax, dword [ebp - 0x5c]
push eax
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x5c]
call fcn.00426f0c
mov eax, dword [edi + 0xc]
mov ecx, dword [ebp - 0x40]
cmp dword [ecx + eax], 0
jne 0x425d6e
mov eax, dword [ebp - 0x4c]
sub eax, dword [ebp - 0x50]
sar eax, 2
test eax, eax
ja 0x425dfd
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [ebp - 0x44], 0
jne 0x425d0f
mov ebx, esi
call fcn.00425b2f
push esi
lea ebx, [ebp - 0x5c]
call fcn.004259b1
xor esi, esi
cmp dword [ebp - 0x50], esi
je 0x425e1d
push dword [ebp - 0x50]
call fcn.0046d271
pop ecx
push dword [ebp - 0x5c]
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x48], esi
call fcn.0046d271
pop ecx
push esi
push 1
lea ecx, [ebp - 0x3c]
call fcn.00401a1c
push esi
push 1
lea ecx, [ebp - 0x20]
call fcn.00401a1c
mov ecx, dword [ebp - 4]
pop edi
xor eax, eax
pop esi
xor ecx, ebp
inc eax
pop ebx
call fcn.0046d79a
leave
ret
Function at 0x4267c8
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xcc
mov eax, dword [0x4b7f60]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
cmp dword [esi + 0xa0], 8
push edi
jb 0x4267f1
mov eax, dword [esi + 0x8c]
jmp 0x4267f7
lea eax, [esi + 0x8c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4268dd
cmp dword [esi + 0xa0], 8
jb 0x426817
mov eax, dword [esi + 0x8c]
jmp 0x42681d
lea eax, [esi + 0x8c]
lea ecx, [ebp - 0xc8]
push ecx
push eax
call fcn.00473dbf
pop ecx
pop ecx
test eax, eax
jne 0x4268bf
mov eax, dword [ebp - 0xb4]
cmp eax, dword [esi + 0x16c]
jne 0x4268bf
lea eax, [ebp - 0xa8]
push eax
call fcn.00473c97
mov edi, eax
pop ecx
test edi, edi
je 0x4268bf
push 0x70
lea eax, [ebp - 0x78]
push 0
push eax
call fcn.0046d720
add esp, 0xc
push edi
push 0x4a892c
lea eax, [ebp - 0x78]
push 0x38
push eax
call fcn.004743aa
add esp, 0x10
lea eax, [ebp - 0x78]
push eax
lea ecx, [ebp - 0x94]
call fcn.004018ba
lea ecx, [ebp - 0x94]
mov ebx, esi
call fcn.004262a7
mov ebx, eax
neg ebx
push 0
sbb bl, bl
push 1
lea ecx, [ebp - 0x94]
inc bl
call fcn.00401a1c
test bl, bl
je 0x4268ba
mov dword [esi + 0x84], 3
xor eax, eax
inc eax
jmp 0x4268df
cmp dword [esi + 0xa0], 8
jb 0x4268d0
mov esi, dword [esi + 0x8c]
jmp 0x4268d6
add esi, 0x8c
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046d79a
leave
ret

Function at 0x4268ee
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4b7f60]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov ebx, ecx
mov esi, dword [ebx + 0x80]
cmp dword [esi + 0x78], 8
push edi
jb 0x426914
mov eax, dword [esi + 0x64]
jmp 0x426917
lea eax, [esi + 0x64]
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push eax
call edi
test eax, eax
je 0x4269af
lea eax, [esi + 0x7c]
cmp dword [eax + 0x18], 8
jb 0x426936
mov eax, dword [eax + 4]
jmp 0x426939
add eax, 4
push eax
call edi
test eax, eax
je 0x4269af
mov edi, dword [ebx + 0x80]
call fcn.00427c7f
test eax, eax
je 0x4269af
mov eax, dword [ebx + 0x80]
mov ecx, dword [ebx + 0x16c]
cmp ecx, dword [eax + 0x34]
jne 0x4269af
xor esi, esi
push esi
lea ecx, [ebp - 0x20]
mov dword [ebp - 8], 7
call fcn.00401ca3
mov eax, dword [ebx + 0x80]
push 0xffffffffffffffff
push esi
add eax, 0xd0
push eax
lea ecx, [ebp - 0x20]
call fcn.00401965
lea ecx, [ebp - 0x20]
call fcn.004262a7
test eax, eax
jne 0x42699f
mov dword [ebx + 0x84], 3
push esi
push 1
lea ecx, [ebp - 0x20]
call fcn.00401a1c
xor eax, eax
inc eax
jmp 0x4269b1
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046d79a
leave
ret
Function at 0x4278cd
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x4b7f60]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
xor edi, edi
push edi
lea eax, [ebp - 0x20]
push eax
mov ebx, ecx
push edi
push ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x20], edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push edi
lea eax, [ebp - 0x14]
push eax
push 4
lea eax, [ebp - 0x10]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [ebp - 0x14], 4
jae 0x427918
xor eax, eax
jmp 0x4279c6
mov ebx, dword [ebp - 0x10]
cmp ebx, edi
je 0x427911
push ebx
call fcn.0046c52f
pop ecx
mov dword [ebp - 0x18], eax
cmp eax, edi
je 0x427911
push edi
lea eax, [ebp - 0x20]
push eax
push edi
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push edi
lea eax, [ebp - 0x14]
push eax
push ebx
push dword [ebp - 0x18]
mov dword [ebp - 0x14], edi
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [ebp - 0x14], ebx
jae 0x427964
push dword [ebp - 0x18]
call fcn.0046d446
pop ecx
jmp 0x427911
mov eax, dword [ebp - 0x18]
push ebx
mov edx, esi
call fcn.004277ed
lea edx, [esi + 4]
push ebx
call fcn.004277ed
lea edx, [esi + 8]
push ebx
call fcn.004277ed
lea edx, [esi + 0xc]
push ebx
call fcn.004277ed
lea edx, [esi + 0x10]
push ebx
mov dword [ebp - 0x1c], edx
call fcn.004277ed
lea edi, [esi + 0x14]
push ebx
call fcn.00427849
lea edi, [esi + 0x30]
push ebx
call fcn.00427849
lea edi, [esi + 0x4c]
push ebx
call fcn.00427849
push dword [ebp - 0x18]
call fcn.0046d446
mov ecx, dword [ebp - 0x1c]
xor eax, eax
add esp, 0x24
cmp dword [ecx], eax
setne al
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.0046d79a
leave
ret
Function at 0x42815c
Capabilities:
Delete file
Move file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x4b7f60]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
mov esi, edx
xor edi, edi
mov ebx, ecx
mov dword [ebp - 0x40], eax
cmp dword [esi + 0x104], edi
jne 0x42818a
xor eax, eax
jmp 0x4282bf
mov eax, dword [ebp + 8]
lea ecx, [eax + ebx]
cmp ecx, dword [esi + 0x34]
ja 0x428183
push edi
lea ecx, [ebp - 0x48]
push ecx
push eax
push dword [esi + 0x3c]
mov dword [ebp - 0x48], edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push edi
lea eax, [ebp - 0x44]
push eax
push ebx
push dword [ebp - 0x40]
mov dword [ebp - 0x44], edi
push dword [esi + 0x3c]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [ebp + 8]
xor edx, edx
div dword [esi + 0x38]
lea edi, [esi + 0x30]
add dword [edi], ebx
mov ecx, esi
mov dword [ebp - 0x40], eax
call fcn.0042839f
mov ecx, dword [ebp - 0x40]
cmp ecx, eax
jae 0x4281eb
mov eax, dword [esi + 0x104]
mov byte [ecx + eax], 2
mov dword [esi + 0x28], 1
push ebx
push dword [edi]
lea eax, [ebp - 0x3c]
push str.totolrecv:_d__getsize:_d
push eax
call fcn.00471e5f
add esp, 0x10
call fcn.0042834d
cmp dword [esi + 0x34], 0
je 0x4282bc
mov edi, dword [esi + 0x104]
test edi, edi
je 0x4282bc
mov ecx, esi
call fcn.0042839f
test eax, eax
je 0x4282bc
xor ecx, ecx
test eax, eax
jbe 0x428240
cmp byte [edi + ecx], 2
jne 0x4282bc
inc ecx
cmp ecx, eax
jb 0x428231
call fcn.004282d0
mov eax, dword [esi + 0x104]
test eax, eax
je 0x42825d
push eax
call fcn.0046d446
and dword [esi + 0x104], 0
pop ecx
mov eax, dword [esi + 0x3c]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
or ebx, 0xffffffff
cmp eax, ebx
je 0x428273
push eax
call edi
mov dword [esi + 0x3c], ebx
mov eax, dword [esi + 0x40]
cmp eax, ebx
je 0x428280
push eax
call edi
mov dword [esi + 0x40], ebx
cmp dword [esi + 0x5c], 8
jb 0x42828b
mov ecx, dword [esi + 0x48]
jmp 0x42828e
lea ecx, [esi + 0x48]
cmp dword [esi + 0x78], 8
jb 0x428299
mov eax, dword [esi + 0x64]
jmp 0x42829c
lea eax, [esi + 0x64]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
lea eax, [esi + 0x7c]
cmp dword [eax + 0x18], 8
jb 0x4282b2
mov eax, dword [eax + 4]
jmp 0x4282b5
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046d79a
leave
ret 8
Function at 0x4285d0
Capabilities:
Create thread
Resume thread

Disassembly:
push 0xffffffffffffffff
push 0x4997ca
mov eax, dword fs:[0]
push eax
sub esp, 0x20c
mov eax, dword [0x4b7f60]
xor eax, esp
mov dword [esp + 0x208], eax
mov eax, dword [0x4b7f60]
xor eax, esp
push eax
lea eax, [esp + 0x210]
mov dword fs:[0], eax
lea eax, [esi + 8]
push eax
mov dword [esp + 0xc], esi
call fcn.00428b70
lea ecx, [esi + 0x20]
push ecx
mov dword [esp + 0x21c], 0
call fcn.00428b70
lea edx, [esi + 0x38]
push edx
mov byte [esp + 0x21c], 1
call fcn.00428b70
mov byte [esp + 0x218], 2
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push 0x4a94fc
lea edx, [esp + 0x14]
mov dword [esi + 0x54], eax
call fcn.00429020
add esp, 8
lea eax, [esp + 0xc]
push eax
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
lea ecx, [esi + 4]
push ecx
push 4
push esi
push 0x4285b0
push 0
push 0
mov dword [esi + 0x50], eax
call fcn.0046e4f5
add esp, 0x18
push eax
mov dword [esi], eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, esi
mov ecx, dword [esp + 0x210]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.0046d79a
add esp, 0x218
ret
Function at 0x42e061
Capabilities:
Create thread

Disassembly:
push ecx
lea eax, [esp]
push eax
xor eax, eax
push eax
push ecx
push 0x42df95
push eax
push eax
call fcn.0046e4f5
add esp, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret

Function at 0x43293e
Capabilities:
Create thread

Disassembly:
push ecx
push esi
mov esi, ecx
xor eax, eax
cmp dword [esi + 0x138], eax
jne 0x432968
lea ecx, [esp + 4]
push ecx
push eax
push esi
push 0x43282b
push eax
push eax
call fcn.0046e4f5
add esp, 0x18
mov dword [esi + 0x138], eax
pop esi
pop ecx
ret

Function at 0x4329c5
Capabilities:
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x4b7f60]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 0x4a7dd0
mov ecx, esi
call fcn.004019f8
push esi
push str.Inno_Setup:_App_Path
mov ebx, str.SoftwareMicrosoftWindowsCurrentVersionUninstall_thunder_is1
push ebx
mov edi, reloc.OLEAUT32.dll_SysReAllocString
push edi
call fcn.004094f0
add esp, 0x10
test eax, eax
je 0x432a28
push esi
push str.InstallLocation
push ebx
push edi
call fcn.004094f0
add esp, 0x10
test eax, eax
je 0x432a28
push 0x4a7dd0
mov ecx, esi
call fcn.004019f8
cmp dword [esi + 0x18], 8
jb 0x432a33
mov eax, dword [esi + 4]
jmp 0x432a36
lea eax, [esi + 4]
push 0x4a7dd0
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
xor edi, edi
test eax, eax
je 0x432a5a
push edi
push str.InstallerIPCListenerPort
mov ecx, esi
call fcn.00402f04
cmp eax, 0xffffffff
je 0x432ac3
xor eax, eax
push 0x206
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push edi
push eax
call fcn.0046d720
push 0x208
lea eax, [ebp - 0x414]
push edi
push eax
call fcn.0046d720
add esp, 0x18
lea eax, [ebp - 0x414]
push eax
push edi
push edi
push 0x26
push edi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push str.Thunder_NetworkThunder
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x20c]
push eax
mov ecx, esi
call fcn.004019f8
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046d79a
leave
ret 4
Function at 0x432ad4
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x3b0]
sub esp, 0x430
mov eax, dword [0x4b7f60]
xor eax, ebp
mov dword [ebp + 0x3ac], eax
push ebx
push esi
push 0x208
lea eax, [ebp + 0x1a4]
push 0
push eax
mov ebx, ecx
call fcn.0046d720
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x64], ax
lea eax, [ebp - 0x62]
push eax
call fcn.0046d720
add esp, 0x18
mov esi, 0x104
push esi
lea eax, [ebp - 0x64]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x4a7dd0
lea ecx, [ebp - 0x80]
call fcn.004018ba
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.004037f9
pop ecx
pop ecx
lea eax, [ebp + 0x1a4]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
push str.Thunder7Install
lea eax, [ebp + 0x1a4]
push eax
call esi
cmp dword [ebp - 0x68], 8
mov eax, dword [ebp - 0x7c]
jae 0x432b7a
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp + 0x1a4]
push eax
call esi
lea eax, [ebp + 0x1a4]
push eax
call fcn.00403749
pop ecx
lea eax, [ebp + 0x1a4]
push eax
lea ecx, [ebx + 0x90]
call fcn.004019f8
push 0
push 1
lea ecx, [ebp - 0x80]
call fcn.00401a1c
mov ecx, dword [ebp + 0x3ac]
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.0046d79a
add ebp, 0x3b0
leave
ret

Function at 0x43329f
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4b7f60]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push edi
mov esi, ecx
push eax
lea ecx, [ebp - 0x20]
call fcn.004018ba
push str.10001
lea ecx, [ebp - 0x20]
call fcn.0040a41f
xor edi, edi
test eax, eax
jne 0x4332e8
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x13c], eax
lea eax, [ebp - 0x24]
push eax
push edi
push esi
push 0x432eb7
jmp 0x43330d
push str.10002
lea ecx, [ebp - 0x20]
call fcn.0040a41f
test eax, eax
jne 0x43331e
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x140], eax
lea eax, [ebp - 0x24]
push eax
push edi
push esi
push 0x432d28
push edi
push edi
call fcn.0046e4f5
add esp, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
push 1
lea ecx, [ebp - 0x20]
call fcn.00401a1c
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
xor eax, eax
pop esi
call fcn.0046d79a
leave
ret 8
Function at 0x433c04
Capabilities:
Extract resource via kernel32 functions

Disassembly:
sub esp, 0xc
push ebp
push esi
push edi
call fcn.004337a3
mov esi, dword [esp + 0x1c]
mov edi, dword [sym.imp.KERNEL32.dll_FindResourceW]
push 5
push dword [esp + 0x24]
xor ebp, ebp
push esi
mov dword [esp + 0x1c], ebp
call edi
mov dword [esp + 0x14], eax
cmp eax, ebp
je 0x433cd4
push ebx
push 0xf0
push dword [esp + 0x28]
push esi
call edi
mov edi, dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, dword [sym.imp.KERNEL32.dll_LockResource]
cmp eax, ebp
je 0x433c5a
push eax
push esi
call edi
push eax
call ebx
mov ebp, eax
push dword [esp + 0x18]
and dword [esp + 0x14], 0
push esi
call edi
test eax, eax
je 0x433cb8
push eax
call ebx
mov edi, eax
test edi, edi
je 0x433cb8
push ebp
push edi
call fcn.0042d39e
pop ecx
pop ecx
push dword [esp + 0x30]
mov ebx, eax
push dword [esp + 0x30]
push dword [esp + 0x30]
push ebx
push esi
call dword [sym.imp.USER32.dll_CreateDialogIndirectParamW]
mov dword [esp + 0x14], eax
test eax, eax
jne 0x433ca4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x10], eax
cmp ebx, edi
je 0x433cc2
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalHandle]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x433cc2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x10], eax
cmp dword [esp + 0x10], 0
pop ebx
je 0x433cd4
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
add esp, 0xc
ret
Function at 0x4345f8
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov eax, dword [0x4b7f60]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push edi
mov dword [ebp - 0x60], ecx
lea ecx, [ebp - 0x5c]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
xor edi, edi
cmp dword [ebp - 0x5c], edi
mov dword [ebp - 0x64], eax
jle 0x4346ff
push ebx
push esi
mov dword [ebp - 0x68], 0x3a
mov esi, 0x4a7dd0
mov eax, dword [ebp - 0x64]
push dword [eax + edi*4]
lea ecx, [ebp - 0x20]
call fcn.004018ba
push esi
lea ecx, [ebp - 0x3c]
call fcn.004018ba
push esi
lea ecx, [ebp - 0x58]
call fcn.004018ba
push 1
push 0
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x20]
call fcn.00402f73
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x43468a
push eax
push 1
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x3c]
call fcn.00401a67
push esi
lea ecx, [ebp - 0x58]
call fcn.004019f8
jmp 0x4346b6
cmp ebx, 1
jbe 0x4346b6
lea eax, [ebx - 1]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x3c]
call fcn.00401a67
inc ebx
cmp ebx, dword [ebp - 0xc]
jae 0x4346b6
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x58]
call fcn.00401a67
mov ecx, dword [ebp - 0x60]
lea eax, [ebp - 0x3c]
push eax
call fcn.00434551
push 0xffffffffffffffff
xor ebx, ebx
push ebx
lea ecx, [ebp - 0x58]
push ecx
mov ecx, eax
call fcn.00401965
push ebx
push 1
lea ecx, [ebp - 0x58]
call fcn.00401a1c
push ebx
push 1
lea ecx, [ebp - 0x3c]
call fcn.00401a1c
push ebx
push 1
lea ecx, [ebp - 0x20]
call fcn.00401a1c
inc edi
cmp edi, dword [ebp - 0x5c]
jl 0x434639
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
pop edi
call fcn.0046d79a
leave
ret 8
Function at 0x434a4b
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x4b7f60]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
push 8
pop esi
mov ebx, ecx
mov dword [ebp - 0x210], 1
cmp dword [ebp + 0x20], esi
jae 0x434a7b
lea eax, [ebp + 0xc]
lea ecx, [ebp - 0x210]
push ecx
push eax
call fcn.00403717
xor edi, edi
pop ecx
pop ecx
cmp dword [ebp - 0x210], edi
je 0x434aac
mov eax, dword [ebp + 0xc]
cmp dword [ebp + 0x20], esi
jae 0x434a9f
lea eax, [ebp + 0xc]
push 1
push edi
push edi
push eax
call fcn.00403c21
add esp, 0x10
mov eax, dword [ebp + 0xc]
cmp dword [ebp + 0x20], esi
jae 0x434ab7
lea eax, [ebp + 0xc]
lea ecx, [ebp - 0x210]
push ecx
push eax
call fcn.00403717
pop ecx
pop ecx
cmp dword [ebp - 0x210], edi
jne 0x434c34
mov eax, dword [ebp + 0xc]
cmp dword [ebp + 0x20], esi
jae 0x434add
lea eax, [ebp + 0xc]
push eax
call dword [sym.imp.SHLWAPI.dll_PathGetDriveNumberW]
cbw
add ax, 0x41
movzx esi, ax
xor eax, eax
push 0x206
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push edi
push eax
call fcn.0046d720
movzx eax, si
push eax
lea eax, [ebp - 0x20c]
push str._c:_
push eax
call fcn.0046df55
lea eax, [ebp - 0x214]
add esp, 0x18
push eax
mov dword [ebp - 0x214], edi
call fcn.0040402d
mov ecx, eax
call fcn.004040cd
lea eax, [ebp - 0x20c]
push eax
mov ecx, ebx
call fcn.004420be
test eax, eax
je 0x434c34
push edi
push edi
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
mov eax, dword [ebp - 0x21c]
or eax, dword [ebp - 0x218]
je 0x434c34
mov eax, dword [ebp - 0x214]
cdq
cmp edx, dword [ebp - 0x218]
ja 0x434c34
jb 0x434b98
cmp eax, dword [ebp - 0x21c]
jae 0x434c34
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x64
pop ebx
mov edi, 0xfa0
cmp dword [ebp + 0x20], 8
mov eax, dword [ebp + 0xc]
jae 0x434bb2
lea eax, [ebp + 0xc]
push eax
call fcn.00403749
pop ecx
test eax, eax
je 0x434bd8
call esi
cmp eax, 0xb7
je 0x434bd8
cmp eax, 0x50
je 0x434bd8
push ebx
call dword [sym.imp.KERNEL32.dll_Sleep]
add ebx, ebx
cmp ebx, edi
jl 0x434ba6
cmp ebx, edi
jl 0x434c1b
call esi
push 0
sub esp, 0x1c
mov ecx, esp
mov esi, 0x4a7dd0
push esi
mov edi, eax
call fcn.004018ba
sub esp, 0x1c
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.004018dc
push edi
push 0x25d
call fcn.0043d04e
mov ecx, eax
call fcn.0043d5c6
push esi
lea ecx, [ebp + 8]
call fcn.004019f8
xor edi, edi
lea eax, [ebp + 8]
push eax
call fcn.00434a22
mov ecx, eax
cmp dword [ebp + 0x24], edi
je 0x434c43
call fcn.00432998
jmp 0x434c48
push 0x4a7dd0
lea ecx, [ebp + 8]
call fcn.004019f8
jmp 0x434c1d
call fcn.0043296b
push edi
push 1
lea ecx, [ebp + 8]
call fcn.00401a1c
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046d79a
leave
ret 0x20