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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
mov eax, dword [0x4b7f10]
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.00401cdf
push 0
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x24], ebx
call fcn.00401cdf
lea eax, [esi + 0x17c]
push eax
lea ebx, [ebp - 0x20]
mov eax, edi
call fcn.0042499d
pop ecx
lea ebx, [esi + 0x130]
push ebx
lea eax, [ebp - 0x20]
call fcn.004272c0
pop ecx
lea eax, [ebp - 0x3c]
push eax
mov eax, edi
call fcn.00424a3b
pop ecx
lea eax, [esi + 0x14c]
push eax
lea eax, [ebp - 0x3c]
call fcn.004272c0
pop ecx
xor edi, edi
push edi
push 1
call fcn.00443fb9
pop ecx
pop ecx
cmp eax, edi
je 0x4259c8
lea ecx, [ebp - 0x5c]
mov dword [eax], ecx
mov dword [ebp - 0x5c], eax
jmp 0x4259cb
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.00426a0d
cmp dword [ebx + 0x18], 0x10
jb 0x4259f1
mov eax, dword [ebx + 4]
jmp 0x4259f4
lea eax, [ebx + 4]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov edi, eax
test edi, edi
jne 0x425a21
cmp dword [ebx + 0x18], 0x10
jb 0x425a0c
mov eax, dword [ebx + 4]
jmp 0x425a0f
lea eax, [ebx + 4]
push eax
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [esi + 0x178], eax
jmp 0x425aa7
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 0x425aa7
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 0x425a54
xor eax, eax
jmp 0x425a5c
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 0x425a78
mov ecx, dword [ebp - 0x60]
mov dword [eax], ecx
add eax, 4
mov dword [ebp - 0x4c], eax
jmp 0x425a9b
mov dword [ebp - 0x64], eax
cmp ecx, eax
jbe 0x425a84
call fcn.0046c869
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.00413ae5
mov eax, dword [edi + 0xc]
mov ecx, dword [ebp - 0x40]
cmp dword [ecx + eax], 0
jne 0x425a3a
mov eax, dword [ebp - 0x4c]
sub eax, dword [ebp - 0x50]
sar eax, 2
test eax, eax
ja 0x425ac9
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [ebp - 0x44], 0
jne 0x4259db
mov ebx, esi
call fcn.004257fb
push esi
lea ebx, [ebp - 0x5c]
call fcn.0042567d
xor esi, esi
cmp dword [ebp - 0x50], esi
je 0x425ae9
push dword [ebp - 0x50]
call fcn.0046c701
pop ecx
push dword [ebp - 0x5c]
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x48], esi
call fcn.0046c701
pop ecx
push esi
push 1
lea ecx, [ebp - 0x3c]
call fcn.00401a58
push esi
push 1
lea ecx, [ebp - 0x20]
call fcn.00401a58
mov ecx, dword [ebp - 4]
pop edi
xor eax, eax
pop esi
xor ecx, ebp
inc eax
pop ebx
call fcn.0046cc2a
leave
ret
Function at 0x426494
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xcc
mov eax, dword [0x4b7f10]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
cmp dword [esi + 0xa0], 8
push edi
jb 0x4264bd
mov eax, dword [esi + 0x8c]
jmp 0x4264c3
lea eax, [esi + 0x8c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4265a9
cmp dword [esi + 0xa0], 8
jb 0x4264e3
mov eax, dword [esi + 0x8c]
jmp 0x4264e9
lea eax, [esi + 0x8c]
lea ecx, [ebp - 0xc8]
push ecx
push eax
call fcn.004732a6
pop ecx
pop ecx
test eax, eax
jne 0x42658b
mov eax, dword [ebp - 0xb4]
cmp eax, dword [esi + 0x16c]
jne 0x42658b
lea eax, [ebp - 0xa8]
push eax
call fcn.0047317e
mov edi, eax
pop ecx
test edi, edi
je 0x42658b
push 0x70
lea eax, [ebp - 0x78]
push 0
push eax
call fcn.0046cbb0
add esp, 0xc
push edi
push 0x4a87bc
lea eax, [ebp - 0x78]
push 0x38
push eax
call fcn.00473891
add esp, 0x10
lea eax, [ebp - 0x78]
push eax
lea ecx, [ebp - 0x94]
call fcn.004018f6
lea ecx, [ebp - 0x94]
mov ebx, esi
call fcn.00425f73
mov ebx, eax
neg ebx
push 0
sbb bl, bl
push 1
lea ecx, [ebp - 0x94]
inc bl
call fcn.00401a58
test bl, bl
je 0x426586
mov dword [esi + 0x84], 3
xor eax, eax
inc eax
jmp 0x4265ab
cmp dword [esi + 0xa0], 8
jb 0x42659c
mov esi, dword [esi + 0x8c]
jmp 0x4265a2
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.0046cc2a
leave
ret

Function at 0x4265ba
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4b7f10]
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 0x4265e0
mov eax, dword [esi + 0x64]
jmp 0x4265e3
lea eax, [esi + 0x64]
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push eax
call edi
test eax, eax
je 0x42667b
lea eax, [esi + 0x7c]
cmp dword [eax + 0x18], 8
jb 0x426602
mov eax, dword [eax + 4]
jmp 0x426605
add eax, 4
push eax
call edi
test eax, eax
je 0x42667b
mov edi, dword [ebx + 0x80]
call fcn.00427888
test eax, eax
je 0x42667b
mov eax, dword [ebx + 0x80]
mov ecx, dword [ebx + 0x16c]
cmp ecx, dword [eax + 0x34]
jne 0x42667b
xor esi, esi
push esi
lea ecx, [ebp - 0x20]
mov dword [ebp - 8], 7
call fcn.00401cdf
mov eax, dword [ebx + 0x80]
push 0xffffffffffffffff
push esi
add eax, 0xd0
push eax
lea ecx, [ebp - 0x20]
call fcn.004019a1
lea ecx, [ebp - 0x20]
call fcn.00425f73
test eax, eax
jne 0x42666b
mov dword [ebx + 0x84], 3
push esi
push 1
lea ecx, [ebp - 0x20]
call fcn.00401a58
xor eax, eax
inc eax
jmp 0x42667d
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046cc2a
leave
ret
Function at 0x4274d6
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x4b7f10]
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 0x427521
xor eax, eax
jmp 0x4275cf
mov ebx, dword [ebp - 0x10]
cmp ebx, edi
je 0x42751a
push ebx
call fcn.0046b9bf
pop ecx
mov dword [ebp - 0x18], eax
cmp eax, edi
je 0x42751a
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 0x42756d
push dword [ebp - 0x18]
call fcn.0046c8d6
pop ecx
jmp 0x42751a
mov eax, dword [ebp - 0x18]
push ebx
mov edx, esi
call fcn.004273f6
lea edx, [esi + 4]
push ebx
call fcn.004273f6
lea edx, [esi + 8]
push ebx
call fcn.004273f6
lea edx, [esi + 0xc]
push ebx
call fcn.004273f6
lea edx, [esi + 0x10]
push ebx
mov dword [ebp - 0x1c], edx
call fcn.004273f6
lea edi, [esi + 0x14]
push ebx
call fcn.00427452
lea edi, [esi + 0x30]
push ebx
call fcn.00427452
lea edi, [esi + 0x4c]
push ebx
call fcn.00427452
push dword [ebp - 0x18]
call fcn.0046c8d6
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.0046cc2a
leave
ret
Function at 0x427d65
Capabilities:
Delete file
Move file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x4b7f10]
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 0x427d93
xor eax, eax
jmp 0x427ec8
mov eax, dword [ebp + 8]
lea ecx, [eax + ebx]
cmp ecx, dword [esi + 0x34]
ja 0x427d8c
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.00427fa8
mov ecx, dword [ebp - 0x40]
cmp ecx, eax
jae 0x427df4
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.004712ef
add esp, 0x10
call fcn.00427f56
cmp dword [esi + 0x34], 0
je 0x427ec5
mov edi, dword [esi + 0x104]
test edi, edi
je 0x427ec5
mov ecx, esi
call fcn.00427fa8
test eax, eax
je 0x427ec5
xor ecx, ecx
test eax, eax
jbe 0x427e49
cmp byte [edi + ecx], 2
jne 0x427ec5
inc ecx
cmp ecx, eax
jb 0x427e3a
call fcn.00427ed9
mov eax, dword [esi + 0x104]
test eax, eax
je 0x427e66
push eax
call fcn.0046c8d6
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 0x427e7c
push eax
call edi
mov dword [esi + 0x3c], ebx
mov eax, dword [esi + 0x40]
cmp eax, ebx
je 0x427e89
push eax
call edi
mov dword [esi + 0x40], ebx
cmp dword [esi + 0x5c], 8
jb 0x427e94
mov ecx, dword [esi + 0x48]
jmp 0x427e97
lea ecx, [esi + 0x48]
cmp dword [esi + 0x78], 8
jb 0x427ea2
mov eax, dword [esi + 0x64]
jmp 0x427ea5
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 0x427ebb
mov eax, dword [eax + 4]
jmp 0x427ebe
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.0046cc2a
leave
ret 8
Function at 0x4281b0
Capabilities:
Create thread
Resume thread

Disassembly:
push 0xffffffffffffffff
push 0x498c3a
mov eax, dword fs:[0]
push eax
sub esp, 0x20c
mov eax, dword [0x4b7f10]
xor eax, esp
mov dword [esp + 0x208], eax
mov eax, dword [0x4b7f10]
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.00428750
lea ecx, [esi + 0x20]
push ecx
mov dword [esp + 0x21c], 0
call fcn.00428750
lea edx, [esi + 0x38]
push edx
mov byte [esp + 0x21c], 1
call fcn.00428750
mov byte [esp + 0x218], 2
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push 0x4a9350
lea edx, [esp + 0x14]
mov dword [esi + 0x54], eax
call fcn.00428c10
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 0x428190
push 0
push 0
mov dword [esi + 0x50], eax
call fcn.0046d985
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.0046cc2a
add esp, 0x218
ret
Function at 0x42dc1c
Capabilities:
Create thread

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

Function at 0x4324c0
Capabilities:
Create thread

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

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x4b7f10]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 0x4a7ca0
mov ecx, esi
call fcn.00401a34
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.004094c8
add esp, 0x10
test eax, eax
je 0x4325aa
push esi
push str.InstallLocation
push ebx
push edi
call fcn.004094c8
add esp, 0x10
test eax, eax
je 0x4325aa
push 0x4a7ca0
mov ecx, esi
call fcn.00401a34
cmp dword [esi + 0x18], 8
jb 0x4325b5
mov eax, dword [esi + 4]
jmp 0x4325b8
lea eax, [esi + 4]
push 0x4a7ca0
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
xor edi, edi
test eax, eax
je 0x4325dc
push edi
push str.InstallerIPCListenerPort
mov ecx, esi
call fcn.00402f0e
cmp eax, 0xffffffff
je 0x432645
xor eax, eax
push 0x206
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push edi
push eax
call fcn.0046cbb0
push 0x208
lea eax, [ebp - 0x414]
push edi
push eax
call fcn.0046cbb0
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.00401a34
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046cc2a
leave
ret 4
Function at 0x432656
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x3b0]
sub esp, 0x430
mov eax, dword [0x4b7f10]
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.0046cbb0
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x64], ax
lea eax, [ebp - 0x62]
push eax
call fcn.0046cbb0
add esp, 0x18
mov esi, 0x104
push esi
lea eax, [ebp - 0x64]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x4a7ca0
lea ecx, [ebp - 0x80]
call fcn.004018f6
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.00403803
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 0x4326fc
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp + 0x1a4]
push eax
call esi
lea eax, [ebp + 0x1a4]
push eax
call fcn.00403753
pop ecx
lea eax, [ebp + 0x1a4]
push eax
lea ecx, [ebx + 0x90]
call fcn.00401a34
push 0
push 1
lea ecx, [ebp - 0x80]
call fcn.00401a58
mov ecx, dword [ebp + 0x3ac]
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.0046cc2a
add ebp, 0x3b0
leave
ret

Function at 0x4333bc
Capabilities:
Extract resource via kernel32 functions

Disassembly:
sub esp, 0xc
push ebp
push esi
push edi
call fcn.00432f5b
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 0x43348c
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 0x433412
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 0x433470
push eax
call ebx
mov edi, eax
test edi, edi
je 0x433470
push ebp
push edi
call fcn.0042cf7e
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 0x43345c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x10], eax
cmp ebx, edi
je 0x43347a
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalHandle]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x43347a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x10], eax
cmp dword [esp + 0x10], 0
pop ebx
je 0x43348c
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 0x433d7e
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov eax, dword [0x4b7f10]
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 0x433e85
push ebx
push esi
mov dword [ebp - 0x68], 0x3a
mov esi, 0x4a7ca0
mov eax, dword [ebp - 0x64]
push dword [eax + edi*4]
lea ecx, [ebp - 0x20]
call fcn.004018f6
push esi
lea ecx, [ebp - 0x3c]
call fcn.004018f6
push esi
lea ecx, [ebp - 0x58]
call fcn.004018f6
push 1
push 0
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x20]
call fcn.00402f7d
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x433e10
push eax
push 1
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x3c]
call fcn.00401aa3
push esi
lea ecx, [ebp - 0x58]
call fcn.00401a34
jmp 0x433e3c
cmp ebx, 1
jbe 0x433e3c
lea eax, [ebx - 1]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x3c]
call fcn.00401aa3
inc ebx
cmp ebx, dword [ebp - 0xc]
jae 0x433e3c
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x58]
call fcn.00401aa3
mov ecx, dword [ebp - 0x60]
lea eax, [ebp - 0x3c]
push eax
call fcn.00433cd7
push 0xffffffffffffffff
xor ebx, ebx
push ebx
lea ecx, [ebp - 0x58]
push ecx
mov ecx, eax
call fcn.004019a1
push ebx
push 1
lea ecx, [ebp - 0x58]
call fcn.00401a58
push ebx
push 1
lea ecx, [ebp - 0x3c]
call fcn.00401a58
push ebx
push 1
lea ecx, [ebp - 0x20]
call fcn.00401a58
inc edi
cmp edi, dword [ebp - 0x5c]
jl 0x433dbf
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
pop edi
call fcn.0046cc2a
leave
ret 8
Function at 0x4341d1
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x4b7f10]
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 0x434201
lea eax, [ebp + 0xc]
lea ecx, [ebp - 0x210]
push ecx
push eax
call fcn.00403721
xor edi, edi
pop ecx
pop ecx
cmp dword [ebp - 0x210], edi
je 0x434232
mov eax, dword [ebp + 0xc]
cmp dword [ebp + 0x20], esi
jae 0x434225
lea eax, [ebp + 0xc]
push 1
push edi
push edi
push eax
call fcn.00403c2b
add esp, 0x10
mov eax, dword [ebp + 0xc]
cmp dword [ebp + 0x20], esi
jae 0x43423d
lea eax, [ebp + 0xc]
lea ecx, [ebp - 0x210]
push ecx
push eax
call fcn.00403721
pop ecx
pop ecx
cmp dword [ebp - 0x210], edi
jne 0x4343ba
mov eax, dword [ebp + 0xc]
cmp dword [ebp + 0x20], esi
jae 0x434263
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.0046cbb0
movzx eax, si
push eax
lea eax, [ebp - 0x20c]
push str._c:_
push eax
call fcn.0046d3e5
lea eax, [ebp - 0x214]
add esp, 0x18
push eax
mov dword [ebp - 0x214], edi
call fcn.00404069
mov ecx, eax
call fcn.004040f3
lea eax, [ebp - 0x20c]
push eax
mov ecx, ebx
call fcn.00441be8
test eax, eax
je 0x4343ba
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 0x4343ba
mov eax, dword [ebp - 0x214]
cdq
cmp edx, dword [ebp - 0x218]
ja 0x4343ba
jb 0x43431e
cmp eax, dword [ebp - 0x21c]
jae 0x4343ba
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 0x434338
lea eax, [ebp + 0xc]
push eax
call fcn.00403753
pop ecx
test eax, eax
je 0x43435e
call esi
cmp eax, 0xb7
je 0x43435e
cmp eax, 0x50
je 0x43435e
push ebx
call dword [sym.imp.KERNEL32.dll_Sleep]
add ebx, ebx
cmp ebx, edi
jl 0x43432c
cmp ebx, edi
jl 0x4343a1
call esi
push 0
sub esp, 0x1c
mov ecx, esp
mov esi, 0x4a7ca0
push esi
mov edi, eax
call fcn.004018f6
sub esp, 0x1c
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.00401918
push edi
push 0x25d
call fcn.0043cb31
mov ecx, eax
call fcn.0043d0a9
push esi
lea ecx, [ebp + 8]
call fcn.00401a34
xor edi, edi
lea eax, [ebp + 8]
push eax
call fcn.004341a8
mov ecx, eax
cmp dword [ebp + 0x24], edi
je 0x4343c9
call fcn.0043251a
jmp 0x4343ce
push 0x4a7ca0
lea ecx, [ebp + 8]
call fcn.00401a34
jmp 0x4343a3
call fcn.004324ed
push edi
push 1
lea ecx, [ebp + 8]
call fcn.00401a58
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046cc2a
leave
ret 0x20
Function at 0x43640b
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4b7f10]
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.004018f6
push str.10001
lea ecx, [ebp - 0x20]
call fcn.0040a395
xor edi, edi
test eax, eax
jne 0x436454
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x13c], eax
lea eax, [ebp - 0x24]
push eax
push edi
push esi
push 0x4357fe
jmp 0x436479
push str.10002
lea ecx, [ebp - 0x20]
call fcn.0040a395
test eax, eax
jne 0x43648a
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x140], eax
lea eax, [ebp - 0x24]
push eax
push edi
push esi
push 0x435609
push edi
push edi
call fcn.0046d985
add esp, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
push 1
lea ecx, [ebp - 0x20]
call fcn.00401a58
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
xor eax, eax
pop esi
call fcn.0046cc2a
leave
ret 8

Function at 0x43663f
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
push dword [esi - 0x1c]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x43666a
push 0
push dword [esi - 0x1c]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esi + 0x60]
push dword [esi - 0x1c]
call dword [sym.imp.USER32.dll_KillTimer]
and dword [esi + 0x60], 0
xor eax, eax
pop esi
ret

Function at 0x437c9b
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
push dword [esi - 0x1c]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x437cba
push eax
mov eax, dword [esi + 4]
push dword [eax + 4]
lea ecx, [esi - 0x20]
call fcn.00437c4d
push 0
push dword [esi - 0x1c]
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
pop esi
ret

Function at 0x438cd3
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80
mov eax, dword [0x4b7f10]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 0x18]
push esi
mov esi, ecx
push dword [esi - 0x40]
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x7c], ebx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x438d09
inc eax
jmp 0x438da4
push edi
xor edi, edi
cmp dword [ebp + 0x10], edi
jne 0x438d1c
mov dword [ebx], 1
jmp 0x438da1
push 0x50
call fcn.0046cc54
pop ecx
cmp eax, edi
je 0x438d33
mov ecx, eax
call fcn.00445a3e
mov ebx, eax
jmp 0x438d35
xor ebx, ebx
push edi
push dword [esi - 0x40]
mov ecx, ebx
call fcn.00433577
push 1
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push edi
push dword [esi - 0x40]
mov edi, dword [sym.imp.USER32.dll_EnableWindow]
call edi
mov eax, dword [esi - 0x20]
push 0
push dword [ebp - 0x80]
mov dword [eax + 0x7c], 1
push dword [ebp + 0x10]
lea ecx, [ebp - 0x78]
push 3
push dword [esi - 0x20]
call fcn.004417f2
push 0
push dword [ebx + 4]
lea ecx, [ebp - 0x78]
call fcn.00433786
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x7c]
push 1
mov dword [ecx], eax
push dword [esi - 0x40]
call edi
mov eax, dword [esi - 0x20]
and dword [eax + 0x7c], 0
lea ecx, [ebp - 0x78]
call fcn.00440933
xor eax, eax
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0046cc2a
leave
ret 0x14