joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40a5c0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x40a624
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.004043dc
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00406d34
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40a62b
lea eax, [ebp - 0xc]
call fcn.00404188
ret

Function at 0x40b3d0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
mov ebx, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040461c
mov eax, dword [ebp - 8]
call fcn.0040461c
xor eax, eax
push ebp
push 0x40b442
push dword fs:[eax]
mov dword fs:[eax], esp
push ebx
push 0
mov eax, dword [ebp - 8]
call fcn.0040462c
push eax
mov eax, dword [ebp - 4]
call fcn.0040462c
push eax
push 0
call sub.user32.dll_GetDesktopWindow
push eax
call sub.shell32.dll_ShellExecuteA
cmp eax, 0x20
seta al
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40b449
lea eax, [ebp - 8]
mov edx, 2
call fcn.004041ac
ret

Function at 0x40cc58
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x104], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40cccc
push dword fs:[eax]
mov dword fs:[eax], esp
push pe_nt_image_headers32
lea eax, [ebp - 0x100]
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
lea eax, [ebp - 0x104]
lea edx, [ebp - 0x100]
mov ecx, pe_nt_image_headers32
call fcn.004043dc
mov eax, dword [ebp - 0x104]
mov ecx, esi
mov edx, ebx
call fcn.0040cb38
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40ccd3
lea eax, [ebp - 0x104]
call fcn.00404188
ret

Function at 0x40ccdc
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x104], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40cd50
push dword fs:[eax]
mov dword fs:[eax], esp
push pe_nt_image_headers32
lea eax, [ebp - 0x100]
push eax
call sub.kernel32.dll_GetSystemDirectoryA
lea eax, [ebp - 0x104]
lea edx, [ebp - 0x100]
mov ecx, pe_nt_image_headers32
call fcn.004043dc
mov eax, dword [ebp - 0x104]
mov ecx, esi
mov edx, ebx
call fcn.0040cb38
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40cd57
lea eax, [ebp - 0x104]
call fcn.00404188
ret
Function at 0x40cd60
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x104], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40cdd4
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x100]
push eax
push pe_nt_image_headers32
call sub.kernel32.dll_GetTempPathA
lea eax, [ebp - 0x104]
lea edx, [ebp - 0x100]
mov ecx, pe_nt_image_headers32
call fcn.004043dc
mov eax, dword [ebp - 0x104]
mov ecx, esi
mov edx, ebx
call fcn.0040cb38
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40cddb
lea eax, [ebp - 0x104]
call fcn.00404188
ret

Function at 0x40d6cc
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 2
add esp, 0xfffff004
push eax
dec eax
jne 0x40d6d5
mov eax, dword [ebp - 4]
add esp, 0xfffff7dc
push ebx
xor ebx, ebx
mov dword [ebp - 0x2828], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp + 8]
mov eax, dword [ebp - 4]
call fcn.0040461c
mov eax, dword [ebp - 8]
call fcn.0040461c
mov eax, dword [ebp - 0xc]
call fcn.0040461c
xor eax, eax
push ebp
push 0x40d888
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
mov edx, dword [ebp - 0xc]
call fcn.004041dc
lea ecx, [ebp - 4]
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0040d5e0
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
mov eax, dword [ebp - 4]
call fcn.0040462c
push eax
mov eax, dword [ebp - 0x18]
push eax
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x40d862
xor edx, edx
push ebp
push 0x40d85b
push dword fs:[edx]
mov dword fs:[edx], esp
mov dword [ebp - 0x20], 0x2801
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x2821]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0
mov eax, dword [ebp - 8]
call fcn.0040462c
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x40d844
cmp dword [ebp - 0x1c], 4
jne 0x40d7cf
cmp dword [ebp - 0x20], 4
jne 0x40d7cf
lea edx, [ebp - 0x14]
lea eax, [ebp - 0x2821]
mov ecx, 4
call fcn.00402694
mov eax, dword [ebp - 0x14]
xor edx, edx
push edx
push eax
mov eax, ebx
call fcn.00406d0c
jmp 0x40d844
cmp dword [ebp - 0x1c], 7
jne 0x40d837
cmp dword [ebp - 0x20], 2
jle 0x40d837
jmp 0x40d7e0
dec dword [ebp - 0x20]
cmp dword [ebp - 0x20], 0
jle 0x40d800
mov eax, dword [ebp - 0x20]
dec eax
cmp eax, 0x2800
jbe 0x40d7f6
call fcn.00403770
cmp byte [ebp + eax - 0x2821], 0
je 0x40d7dd
lea edx, [ebp - 0x2821]
mov eax, ebx
mov ecx, dword [ebp - 0x20]
call fcn.00404278
lea eax, [ebp - 0x2828]
push eax
mov eax, dword [ebx]
mov ecx, 0x40d8a0
mov edx, 0x40d8ac
call fcn.0040c9e0
mov edx, dword [ebp - 0x2828]
mov eax, ebx
call fcn.004041dc
jmp 0x40d844
mov edx, ebx
lea eax, [ebp - 0x2821]
call fcn.004075e4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d862
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d88f
lea eax, [ebp - 0x2828]
call fcn.00404188
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004041ac
ret
Function at 0x40d954
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 2
add esp, 0xfffff004
push eax
dec eax
jne 0x40d95d
mov eax, dword [ebp - 4]
add esp, 0xfffff800
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov eax, ebx
call fcn.0040462c
push eax
push 0x2801
lea eax, [ebp - 0x2801]
push eax
mov eax, dword [ebp + 0xc]
call fcn.0040462c
push eax
mov eax, edi
call fcn.0040462c
push eax
mov eax, esi
call fcn.0040462c
push eax
call sub.kernel32.dll_GetPrivateProfileStringA
mov ecx, eax
lea edx, [ebp - 0x2801]
mov eax, dword [ebp + 8]
call fcn.00404278
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x40dbd4
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
push ebx
xor edx, edx
mov dword [ebp - 0x108], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40dc4f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00404188
mov dword [ebp - 4], pe_nt_image_headers32
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x104]
push eax
call sub.advapi32.dll_GetUserNameA
test eax, eax
je 0x40dc36
lea edx, [ebp - 0x108]
lea eax, [ebp - 0x104]
call fcn.004075e4
mov eax, dword [ebp - 0x108]
mov edx, ebx
call fcn.00406b84
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40dc56
lea eax, [ebp - 0x108]
call fcn.00404188
ret

Function at 0x40dc5c
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
push ebx
xor edx, edx
mov dword [ebp - 0x108], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40dcd7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00404188
mov dword [ebp - 4], pe_nt_image_headers32
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x104]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x40dcbe
lea edx, [ebp - 0x108]
lea eax, [ebp - 0x104]
call fcn.004075e4
mov eax, dword [ebp - 0x108]
mov edx, ebx
call fcn.00406b84
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40dcde
lea eax, [ebp - 0x108]
call fcn.00404188
ret
Function at 0x40decc
Capabilities:
Get user security identifier

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x40dfc8
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], 1
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
mov eax, dword [ebx]
call fcn.0040462c
push eax
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, esi
call fcn.0040462c
mov edi, eax
push edi
push 0
call sub.advapi32.dll_LookupAccountNameA
mov edx, dword [ebp - 8]
inc edx
mov eax, ebx
call fcn.004047b8
mov eax, dword [ebp - 4]
call fcn.00406b28
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x40dfab
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
mov eax, dword [ebx]
call fcn.0040462c
push eax
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 0xc]
push eax
push edi
push 0
call sub.advapi32.dll_LookupAccountNameA
test eax, eax
je 0x40df8e
mov eax, dword [ebx]
call fcn.0040462c
lea edx, [ebp - 0x14]
call fcn.004075e4
mov edx, dword [ebp - 0x14]
mov eax, ebx
call fcn.004041dc
jmp 0x40df95
mov eax, ebx
call fcn.00404188
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40dfb2
mov eax, dword [ebp - 0xc]
call fcn.00402570
ret

Function at 0x40e024
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffc00
mov esi, edx
mov ebx, eax
mov eax, esi
call fcn.00404188
test ebx, ebx
je 0x40e05d
push 0x400
lea eax, [esp + 4]
push eax
test ebx, ebx
jns 0x40e04e
call fcn.00403770
push ebx
call sub.user32.dll_GetWindowTextA
mov edx, esi
mov eax, esp
call fcn.004075e4
add esp, 0x400
pop esi
pop ebx
ret
Function at 0x412a6c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040461c
xor eax, eax
push ebp
push 0x412bff
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.004028c4
mov eax, 0x1869f
call fcn.00402d4c
mov edx, dword [ebp - 8]
call fcn.00406c20
mov eax, dword [ebp - 4]
call fcn.0040442c
mov ebx, eax
test ebx, ebx
jle 0x412ad7
mov esi, 1
lea eax, [ebp - 4]
call fcn.00404684
sub byte [eax + esi - 1], 0x32
inc esi
dec ebx
jne 0x412ac6
lea eax, [ebp - 0x10]
call fcn.00404188
lea eax, [ebp - 0x18]
push eax
mov ecx, 2
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.0040468c
mov eax, dword [ebp - 0x18]
call fcn.0040d444
mov edx, eax
lea eax, [ebp - 0x14]
call fcn.00404354
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 0x10]
call fcn.00404434
lea eax, [ebp - 4]
mov ecx, 2
mov edx, 1
call fcn.004046cc
cmp dword [ebp - 4], 0
jne 0x412adf
mov eax, dword [ebp - 0x10]
call fcn.0040442c
mov edi, eax
cmp edi, 4
jle 0x412bdc
mov eax, dword [ebp - 0x10]
mov al, byte [eax + edi - 2]
mov byte [ebp - 0xa], al
xor eax, eax
mov ebx, edi
test ebx, ebx
jle 0x412b66
mov esi, 1
mov edx, edi
dec edx
cmp esi, edx
je 0x412b62
mov edx, dword [ebp - 0x10]
add al, byte [edx + esi - 1]
inc esi
dec ebx
jne 0x412b54
cmp al, byte [ebp - 0xa]
jne 0x412bdc
mov eax, dword [ebp - 0x10]
mov al, byte [eax]
mov edx, dword [ebp - 0x10]
mov dl, byte [edx + edi - 1]
xor al, dl
mov byte [ebp - 9], al
mov ebx, edi
dec ebx
sub ebx, 2
jl 0x412ba4
inc ebx
mov esi, 2
lea eax, [ebp - 0x10]
call fcn.00404684
mov edx, dword [ebp - 0x10]
mov dl, byte [edx + esi - 1]
xor dl, byte [ebp - 9]
mov byte [eax + esi - 1], dl
inc esi
dec ebx
jne 0x412b8a
mov eax, dword [ebp - 0x10]
mov al, byte [eax + 1]
mov edx, dword [ebp - 0x10]
mov dl, byte [edx + 2]
mov esi, eax
and esi, 0xff
add esi, 3
inc esi
and eax, 0xff
sub edi, eax
xor eax, eax
mov al, dl
sub edi, eax
sub edi, 4
mov eax, dword [ebp - 8]
push eax
mov ecx, edi
mov edx, esi
mov eax, dword [ebp - 0x10]
call fcn.0040468c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x412c06
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.004041ac
lea eax, [ebp - 4]
call fcn.00404188
ret
Function at 0x412c10
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040461c
xor eax, eax
push ebp
push 0x412cd9
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
cmp dword [ebp - 4], 0
je 0x412c47
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.00406d98
mov esi, eax
xor ecx, ecx
xor edx, edx
mov eax, esi
call fcn.00406e6c
lea edx, [ebp - 5]
mov ecx, 1
mov eax, esi
call fcn.00406e14
lea edx, [ebp - 6]
mov ecx, 1
mov eax, esi
call fcn.00406e14
cmp byte [ebp - 5], 0x4d
jne 0x412cb6
cmp byte [ebp - 6], 0x5a
jne 0x412cb6
xor ecx, ecx
mov edx, pe_nt_image_headers32
mov eax, esi
call fcn.00406e6c
lea edx, [ebp - 5]
mov ecx, 1
mov eax, esi
call fcn.00406e14
lea edx, [ebp - 6]
mov ecx, 1
mov eax, esi
call fcn.00406e14
cmp byte [ebp - 5], 0x50
jne 0x412cb6
cmp byte [ebp - 6], 0x45
jne 0x412cb6
mov bl, 1
cmp dword [ebp - 4], 0
je 0x412cc3
mov eax, esi
call fcn.00406e78
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x412ce0
lea eax, [ebp - 4]
call fcn.00404188
ret

Function at 0x412ce8
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xfffffff0
push ebx
push esi
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040461c
xor eax, eax
push ebp
push 0x412e21
push dword fs:[eax]
mov dword fs:[eax], esp
call sub.kernel32.dll_GetTickCount_1
xor eax, eax
mov dword [ebp - 8], eax
mov edx, 0x40
mov eax, dword [ebp - 4]
call fcn.00406d98
mov dword [ebp - 0xc], eax
push 0
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetFileSize_1
mov ebx, eax
cmp ebx, 0x3200000
jle 0x412d4d
mov dword [ebp - 8], 0x4d2
jmp 0x412e03
xor eax, eax
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0xc]
xor eax, eax
call fcn.00412c10
test al, al
je 0x412d88
xor ecx, ecx
mov edx, 0xfc
mov eax, dword [ebp - 0xc]
call fcn.00406e6c
lea edx, [ebp - 0x10]
mov ecx, 4
mov eax, dword [ebp - 0xc]
call fcn.00406e14
cmp dword [ebp - 0x10], 0
jle 0x412d88
mov ebx, dword [ebp - 0x10]
sub ebx, esi
xor ecx, ecx
xor edx, edx
mov eax, dword [ebp - 0xc]
call fcn.00406e6c
cmp dword [ebp - 0x10], 0
jle 0x412db1
sub ebx, 0x200
xor ecx, ecx
mov edx, 0x200
mov eax, dword [ebp - 0xc]
call fcn.00406e6c
lea edx, [ebp - 0x1010]
mov ecx, 0x1000
mov eax, dword [ebp - 0xc]
call fcn.00406e14
mov ecx, eax
mov edx, ecx
test edx, edx
jns 0x412dcf
add edx, 3
sar edx, 2
test edx, edx
jle 0x412def
lea eax, [ebp - 0x1010]
sub ebx, 4
cmp ebx, 4
jle 0x412de9
mov esi, dword [eax]
add dword [ebp - 8], esi
add eax, 4
dec edx
jne 0x412ddc
cmp ebx, 4
jle 0x412dfb
add dword [ebp - 8], 0x4d2
cmp ecx, 0x1000
jge 0x412db1
mov eax, dword [ebp - 0xc]
call fcn.00406e78
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x412e28
lea eax, [ebp - 4]
call fcn.00404188
ret
Function at 0x412e34
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040461c
xor eax, eax
push ebp
push 0x412eb8
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x18]
push eax
mov ecx, 3
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.0040468c
mov eax, dword [ebp - 0x18]
call fcn.0040462c
push eax
call sub.kernel32.dll_GetDiskFreeSpaceA
test eax, eax
je 0x412e9a
mov ebx, dword [ebp - 8]
imul ebx, dword [ebp - 0xc]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x412ebf
lea eax, [ebp - 0x18]
call fcn.00404188
lea eax, [ebp - 4]
call fcn.00404188
ret

Function at 0x413b34
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov ebx, ecx
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040461c
xor eax, eax
push ebp
push 0x413bff
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
call fcn.00404188
mov eax, dword [ebp - 4]
call fcn.00406ee8
test al, al
je 0x413be9
mov edx, 0x40
mov eax, dword [ebp - 4]
call fcn.00406d98
mov esi, eax
push 0
push esi
call sub.kernel32.dll_GetFileSize_1
mov dword [ebp - 8], eax
test ebx, ebx
jne 0x413b93
mov ebx, dword [ebp - 8]
sub ebx, edi
jmp 0x413ba1
mov edx, dword [ebp - 8]
sub edx, edi
mov eax, ebx
call fcn.0040b4d0
mov ebx, eax
test edi, edi
jl 0x413be2
cmp edi, dword [ebp - 8]
jge 0x413be2
test ebx, ebx
jle 0x413be2
xor ecx, ecx
mov edx, edi
mov eax, esi
call fcn.00406e6c
mov eax, dword [ebp + 8]
mov edx, ebx
call fcn.004047b8
mov eax, dword [ebp + 8]
call fcn.00404684
mov edx, eax
mov ecx, ebx
mov eax, esi
call fcn.00406e14
cmp ebx, eax
je 0x413be2
mov eax, dword [ebp + 8]
call fcn.00404188
mov eax, esi
call fcn.00406e78
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x413c06
lea eax, [ebp - 4]
call fcn.00404188
ret
Function at 0x413f84
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc8
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040461c
xor eax, eax
push ebp
push 0x414072
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], 0xbff00000
cmp byte [0x425bb8], 0xff
jne 0x413fda
mov byte [0x425bb8], 0
mov edx, 0x41408c
mov eax, 0x4140a8
call fcn.0040b450
test eax, eax
je 0x413fda
mov byte [0x425bb8], 1
cmp byte [0x425bb8], 0
sete dl
lea eax, [ebp - 4]
call fcn.00413ef4
mov ebx, eax
cmp byte [0x425bb8], 1
jne 0x414018
push 0
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x20]
push eax
push ebx
mov eax, dword [0x425d84]
mov eax, dword [eax]
call eax
test eax, eax
je 0x41405c
fild qword [ebp - 0x20]
fstp qword [ebp - 0x10]
wait
jmp 0x41405c
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x24]
push eax
push ebx
call sub.kernel32.dll_GetDiskFreeSpaceA
test eax, eax
je 0x41405c
mov eax, dword [ebp - 0x24]
imul dword [ebp - 0x28]
mov dword [ebp - 0x38], eax
xor eax, eax
mov dword [ebp - 0x34], eax
fild qword [ebp - 0x38]
fstp qword [ebp - 0x10]
wait
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x38], eax
xor eax, eax
mov dword [ebp - 0x34], eax
fild qword [ebp - 0x38]
fmul qword [ebp - 0x10]
fstp qword [ebp - 0x10]
wait
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x414079
lea eax, [ebp - 4]
call fcn.00404188
ret
Function at 0x414608
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe98
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x168], ecx
mov dword [ebp - 0x164], ecx
mov dword [ebp - 8], ecx
mov byte [ebp - 1], dl
mov ebx, eax
lea eax, [ebp - 0x160]
mov edx, dword [0x4060bc]
call fcn.0040497c
xor eax, eax
push ebp
push 0x414770
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 2], 0
lea edx, [ebp - 8]
mov eax, ebx
call fcn.004072a4
cmp dword [ebp - 8], 0
je 0x41466a
lea eax, [ebp - 8]
mov edx, 0x41478c
call fcn.00404434
lea ecx, [ebp - 0x160]
mov edx, 0x27
mov eax, ebx
call fcn.004070c0
test eax, eax
jne 0x41472e
xor eax, eax
push ebp
push 0x4146cc
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [ebp - 1], 0
je 0x4146c2
push 0x80
lea eax, [ebp - 0x164]
mov ecx, dword [ebp - 0x154]
mov edx, dword [ebp - 8]
call fcn.00404478
mov eax, dword [ebp - 0x164]
call fcn.0040462c
push eax
call sub.kernel32.dll_SetFileAttributesA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4146d6
xor eax, eax
push ebp
push 0x414711
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x168]
mov ecx, dword [ebp - 0x154]
mov edx, dword [ebp - 8]
call fcn.00404478
mov eax, dword [ebp - 0x168]
call fcn.00407150
mov byte [ebp - 2], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x41471b
lea eax, [ebp - 0x160]
call fcn.00407110
test eax, eax
je 0x414684
lea eax, [ebp - 0x160]
call fcn.00407134
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x414777
lea eax, [ebp - 0x168]
mov edx, 2
call fcn.004041ac
lea eax, [ebp - 0x160]
mov edx, dword [0x4060bc]
call fcn.00404a40
lea eax, [ebp - 8]
call fcn.00404188
ret
Function at 0x4149a8
Capabilities:
Create process on windows
Self delete

Disassembly:
push ebp
mov ebp, esp
mov ecx, 5
push 0
push 0
dec ecx
jne 0x4149b0
push ecx
push ebx
mov byte [ebp - 1], dl
mov ebx, eax
xor eax, eax
push ebp
push 0x414b5c
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x20]
mov al, 1
call fcn.0040cd60
mov edx, dword [ebp - 0x20]
lea eax, [ebp - 8]
mov ecx, 0x414b70
call fcn.00404478
lea eax, [ebp - 0x18]
mov edx, 0x414b88
call fcn.00404220
push 0
push 0
xor ecx, ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 8]
call fcn.00413c10
lea eax, [ebp - 0x1c]
mov edx, 0x414b98
call fcn.00404220
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.00404220
lea eax, [ebp - 0x10]
call fcn.0040cbdc
lea edx, [ebp - 0x14]
xor eax, eax
call fcn.0040cbec
cmp byte [ebp - 1], 0
je 0x414a7e
lea eax, [ebp - 0x1c]
call fcn.00404188
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 0xc]
call fcn.0040736c
mov edx, dword [ebp - 0x24]
lea eax, [ebp - 0xc]
call fcn.00404220
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0x10]
call fcn.0040736c
mov edx, dword [ebp - 0x28]
lea eax, [ebp - 0x10]
call fcn.00404220
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 0x14]
call fcn.0040736c
mov edx, dword [ebp - 0x2c]
lea eax, [ebp - 0x14]
call fcn.00404220
lea eax, [ebp - 0x18]
mov edx, 0x414ba4
call fcn.00404220
push dword [ebp - 0x18]
push 0x414bb8
push dword [ebp - 0x1c]
push dword [ebp - 0x10]
push dword [ebp - 0x1c]
push 0x414bc8
lea eax, [ebp - 0x18]
mov edx, 6
call fcn.004044ec
push dword [ebp - 0x18]
push 0x414bd4
push dword [ebp - 0x1c]
push dword [ebp - 0x10]
push dword [ebp - 0x1c]
push 0x414be8
push 0x414bc8
lea eax, [ebp - 0x18]
mov edx, 7
call fcn.004044ec
test bl, bl
je 0x414afd
push dword [ebp - 0x18]
push 0x414bfc
push dword [ebp - 0x1c]
push dword [ebp - 0x14]
push dword [ebp - 0x1c]
push 0x414bc8
lea eax, [ebp - 0x18]
mov edx, 6
call fcn.004044ec
push dword [ebp - 0x18]
push 0x414bb8
push dword [ebp - 0x1c]
push dword [ebp - 0xc]
push dword [ebp - 0x1c]
push 0x414bc8
lea eax, [ebp - 0x18]
mov edx, 6
call fcn.004044ec
push 0
push 0
xor ecx, ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 8]
call fcn.00413c10
push 0
mov eax, dword [ebp - 8]
call fcn.0040462c
push eax
call sub.kernel32.dll_WinExec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x414b63
lea eax, [ebp - 0x2c]
mov edx, 0xa
call fcn.004041ac
ret