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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x405d0e
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.0040462c
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402e7c
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x405cf8
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405d15
lea eax, [ebp - 0x10]
call fcn.004043d8
ret

Function at 0x407634
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.0040487c
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x40764d
test al, 0x10
jne 0x407651
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x4098d0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x409909
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.004044c8
jmp 0x409912
mov eax, ebx
mov edx, esi
call fcn.0040442c
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40991c
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40993d
mov al, byte [esp]
jmp 0x40993f
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x409fc4
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x409e3c
mov eax, dword [0x42ae98]
cmp byte [eax], 0
je 0x40a040
mov eax, dword [0x42adc4]
call fcn.00402ca8
call fcn.00402664
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.00407c18
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40a088
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40a076
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x42ad98]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x42b660]
call fcn.004056cc
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x444
ret
Function at 0x40acfc
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 0x40ad60
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.0040462c
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.0040747c
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40ad67
lea eax, [ebp - 0xc]
call fcn.004043d8
ret

Function at 0x40c118
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.0040486c
mov eax, dword [ebp - 8]
call fcn.0040486c
xor eax, eax
push ebp
push 0x40c18a
push dword fs:[eax]
mov dword fs:[eax], esp
push ebx
push 0
mov eax, dword [ebp - 8]
call fcn.0040487c
push eax
mov eax, dword [ebp - 4]
call fcn.0040487c
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 0x40c191
lea eax, [ebp - 8]
mov edx, 2
call fcn.004043fc
ret

Function at 0x40ddc8
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc8
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040486c
xor eax, eax
push ebp
push 0x40deb2
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
jne 0x40ddfd
lea edx, [ebp - 4]
xor eax, eax
call fcn.0040dff0
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 4]
call fcn.0040487c
mov edi, eax
push edi
call sub.version.dll_GetFileVersionInfoSizeA
mov esi, eax
mov eax, esi
call fcn.00402570
mov ebx, eax
push ebx
push esi
push 0
push edi
call sub.version.dll_GetFileVersionInfoA
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x40dec0
push ebx
call sub.version.dll_VerQueryValueA
mov eax, dword [ebp - 0x10]
mov edi, dword [eax + 8]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 8]
push eax
mov eax, edi
shr eax, 0x10
mov dword [ebp - 0x38], eax
mov byte [ebp - 0x34], 0
and edi, 0xffff
mov dword [ebp - 0x30], edi
mov byte [ebp - 0x2c], 0
mov eax, dword [ebp - 0x18]
shr eax, 0x10
mov dword [ebp - 0x28], eax
mov byte [ebp - 0x24], 0
mov eax, dword [ebp - 0x18]
and eax, 0xffff
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 0
lea edx, [ebp - 0x38]
mov ecx, 3
mov eax, 0x40decc
call fcn.00408174
mov edx, esi
mov eax, ebx
call fcn.00402590
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40deb9
lea eax, [ebp - 4]
call fcn.004043d8
ret
Function at 0x40e0c0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x10c], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40e134
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x105
lea eax, [ebp - 0x105]
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
lea eax, [ebp - 0x10c]
lea edx, [ebp - 0x105]
mov ecx, 0x105
call fcn.0040462c
mov eax, dword [ebp - 0x10c]
mov ecx, esi
mov edx, ebx
call fcn.0040df4c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40e13b
lea eax, [ebp - 0x10c]
call fcn.004043d8
ret

Function at 0x40e144
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x10c], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40e1b8
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x105
lea eax, [ebp - 0x105]
push eax
call sub.kernel32.dll_GetSystemDirectoryA
lea eax, [ebp - 0x10c]
lea edx, [ebp - 0x105]
mov ecx, 0x105
call fcn.0040462c
mov eax, dword [ebp - 0x10c]
mov ecx, esi
mov edx, ebx
call fcn.0040df4c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40e1bf
lea eax, [ebp - 0x10c]
call fcn.004043d8
ret

Function at 0x40e1c8
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x10c], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40e23c
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x105]
push eax
push 0x105
call sub.kernel32.dll_GetTempPathA
lea eax, [ebp - 0x10c]
lea edx, [ebp - 0x105]
mov ecx, 0x105
call fcn.0040462c
mov eax, dword [ebp - 0x10c]
mov ecx, esi
mov edx, ebx
call fcn.0040df4c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40e243
lea eax, [ebp - 0x10c]
call fcn.004043d8
ret
Function at 0x40ef00
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 0x40ef09
mov eax, dword [ebp - 4]
add esp, 0xfffff7dc
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x2828], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 4]
call fcn.0040486c
mov eax, dword [ebp - 8]
call fcn.0040486c
mov eax, dword [ebp - 0xc]
call fcn.0040486c
xor eax, eax
push ebp
push 0x40f0ce
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
mov edx, dword [ebp - 0xc]
call fcn.0040442c
lea ecx, [ebp - 4]
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0040edfc
mov ebx, 0x20019
cmp byte [ebp + 0xc], 0
je 0x40ef81
or ebx, 0x100
lea eax, [ebp - 0x10]
push eax
push ebx
push 0
mov eax, dword [ebp - 4]
call fcn.0040487c
push eax
mov eax, dword [ebp - 0x18]
push eax
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x40f0a8
xor edx, edx
push ebp
push 0x40f0a1
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.0040487c
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x40f08a
cmp dword [ebp - 0x1c], 4
jne 0x40f011
cmp dword [ebp - 0x20], 4
jne 0x40f011
lea edx, [ebp - 0x14]
lea eax, [ebp - 0x2821]
mov ecx, 4
call fcn.004026b4
mov eax, dword [ebp - 0x14]
xor edx, edx
push edx
push eax
mov eax, esi
call fcn.0040742c
jmp 0x40f08a
cmp dword [ebp - 0x1c], 7
jne 0x40f07d
cmp dword [ebp - 0x20], 2
jle 0x40f07d
jmp 0x40f022
dec dword [ebp - 0x20]
cmp dword [ebp - 0x20], 0
jle 0x40f042
mov eax, dword [ebp - 0x20]
dec eax
cmp eax, 0x2800
jbe 0x40f038
call fcn.00403824
cmp byte [ebp + eax - 0x2821], 0
je 0x40f01f
lea edx, [ebp - 0x2821]
mov eax, esi
mov ecx, dword [ebp - 0x20]
call fcn.004044c8
push 0
push 0
lea eax, [ebp - 0x2828]
push eax
mov eax, dword [esi]
mov ecx, 0x40f0e8
mov edx, 0x40f0f4
call fcn.0040dc90
mov edx, dword [ebp - 0x2828]
mov eax, esi
call fcn.0040442c
jmp 0x40f08a
mov edx, esi
lea eax, [ebp - 0x2821]
call fcn.00407d20
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40f0a8
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 0x40f0d5
lea eax, [ebp - 0x2828]
call fcn.004043d8
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004043fc
ret
Function at 0x40f19c
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 2
add esp, 0xfffff004
push eax
dec eax
jne 0x40f1a5
mov eax, dword [ebp - 4]
add esp, 0xfffff7f0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x2810], ebx
mov dword [ebp - 0x2814], ebx
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
xor eax, eax
push ebp
push 0x40f2ba
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, edi
mov edx, esi
call fcn.0040442c
test ebx, ebx
je 0x40f29c
xor edx, edx
push ebp
push 0x40f25c
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
call fcn.0040487c
push eax
push 0x2801
lea eax, [ebp - 0x2809]
push eax
mov eax, esi
call fcn.0040487c
push eax
mov eax, dword [ebp - 8]
call fcn.0040487c
push eax
mov eax, ebx
call fcn.0040487c
push eax
call sub.kernel32.dll_GetPrivateProfileStringA
test eax, eax
jns 0x40f240
call fcn.00403824
test eax, eax
jle 0x40f252
lea edx, [ebp - 0x2809]
mov ecx, edi
xchg ecx, eax
call fcn.004044c8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x40f29c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40f2c1
lea eax, [ebp - 0x2814]
mov edx, 2
call fcn.004043fc
ret

Function at 0x40f388
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 0x40f403
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.004043d8
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 0x40f3ea
lea edx, [ebp - 0x108]
lea eax, [ebp - 0x104]
call fcn.00407d20
mov eax, dword [ebp - 0x108]
mov edx, ebx
call fcn.004072a4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40f40a
lea eax, [ebp - 0x108]
call fcn.004043d8
ret

Function at 0x40f410
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 0x40f48b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.004043d8
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 0x40f472
lea edx, [ebp - 0x108]
lea eax, [ebp - 0x104]
call fcn.00407d20
mov eax, dword [ebp - 0x108]
mov edx, ebx
call fcn.004072a4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40f492
lea eax, [ebp - 0x108]
call fcn.004043d8
ret
Function at 0x40f690
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 0x40f78c
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.0040487c
push eax
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, esi
call fcn.0040487c
mov edi, eax
push edi
push 0
call sub.advapi32.dll_LookupAccountNameA
mov edx, dword [ebp - 8]
inc edx
mov eax, ebx
call fcn.00404a08
mov eax, dword [ebp - 4]
call fcn.00407248
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x40f76f
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.0040487c
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 0x40f752
mov eax, dword [ebx]
call fcn.0040487c
lea edx, [ebp - 0x14]
call fcn.00407d20
mov edx, dword [ebp - 0x14]
mov eax, ebx
call fcn.0040442c
jmp 0x40f759
mov eax, ebx
call fcn.004043d8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40f776
mov eax, dword [ebp - 0xc]
call fcn.00402590
ret

Function at 0x40f7e8
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffc00
mov esi, edx
mov ebx, eax
mov eax, esi
call fcn.004043d8
test ebx, ebx
je 0x40f821
push 0x400
lea eax, [esp + 4]
push eax
test ebx, ebx
jns 0x40f812
call fcn.00403824
push ebx
call sub.user32.dll_GetWindowTextA
mov edx, esi
mov eax, esp
call fcn.00407d20
add esp, 0x400
pop esi
pop ebx
ret

Function at 0x40ff00
Capabilities:
Get file size

Disassembly:
add esp, 0xfffffff4
lea edx, [esp + 8]
push edx
push eax
call sub.kernel32.dll_GetFileSize_1
mov ecx, eax
mov eax, dword [esp + 8]
xor edx, edx
mov edx, eax
xor eax, eax
push edx
push eax
mov eax, ecx
xor edx, edx
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov dword [esp], eax
mov dword [esp + 4], edx
mov eax, dword [esp]
mov edx, dword [esp + 4]
add esp, 0xc
ret
Function at 0x410484
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040486c
xor eax, eax
push ebp
push 0x4105ae
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], 0xbff00000
cmp byte [0x429588], 0xff
jne 0x4104e6
mov byte [0x429588], 0
lea ecx, [ebp - 0x34]
mov edx, 0x4105c8
mov eax, 0x4105e4
call fcn.0040c198
test eax, eax
je 0x4104dd
mov byte [0x429588], 1
mov eax, dword [ebp - 0x34]
push eax
call sub.kernel32.dll_FreeLibrary_1
cmp byte [0x429588], 0
sete dl
lea eax, [ebp - 4]
call fcn.00410388
mov ebx, eax
cmp byte [0x429588], 1
jne 0x410554
push 0
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x20]
push eax
push ebx
mov eax, dword [0x42ae0c]
mov eax, dword [eax]
call eax
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x410547
lea eax, [ebp - 4]
mov dl, 1
call fcn.00410388
mov ebx, eax
push 0
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x20]
push eax
push ebx
mov eax, dword [0x42ae0c]
mov eax, dword [eax]
call eax
cmp eax, 1
sbb eax, eax
inc eax
test al, al
je 0x410598
fild qword [ebp - 0x20]
fstp qword [ebp - 0x10]
wait
jmp 0x410598
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 0x410598
mov eax, dword [ebp - 0x24]
imul dword [ebp - 0x28]
mov dword [ebp - 0x3c], eax
xor eax, eax
mov dword [ebp - 0x38], eax
fild qword [ebp - 0x3c]
fstp qword [ebp - 0x10]
wait
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x3c], eax
xor eax, eax
mov dword [ebp - 0x38], eax
fild qword [ebp - 0x3c]
fmul qword [ebp - 0x10]
fstp qword [ebp - 0x10]
wait
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4105b5
lea eax, [ebp - 4]
call fcn.004043d8
ret
Function at 0x410ac8
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
push edi
mov esi, ecx
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040486c
xor eax, eax
push ebp
push 0x410be2
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [0x42958c], 0
mov eax, esi
call fcn.004043d8
mov edx, dword [ebp - 4]
mov eax, 0x410bf8
call fcn.004049c0
cmp eax, 2
jne 0x410b61
lea eax, [ebp - 8]
push eax
mov ecx, 3
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.004048dc
mov eax, dword [ebp - 8]
call fcn.0040487c
push eax
call sub.kernel32.dll_GetDriveTypeA
xor edx, edx
push edx
push eax
mov eax, edi
cdq
cmp edx, dword [esp + 4]
jne 0x410b45
cmp eax, dword [esp]
pop edx
pop eax
jne 0x410bc0
mov eax, dword [ebp - 4]
call fcn.00407634
test al, al
je 0x410bc0
mov eax, esi
mov edx, dword [ebp - 4]
call fcn.0040442c
jmp 0x410bc0
mov bl, 0x42
inc ebx
lea eax, [ebp - 0xc]
mov edx, ebx
call fcn.004045a4
mov edx, dword [ebp - 0xc]
lea eax, [ebp - 8]
mov ecx, 0x410bf8
call fcn.004046c8
mov eax, dword [ebp - 8]
call fcn.0040487c
push eax
call sub.kernel32.dll_GetDriveTypeA
xor edx, edx
push edx
push eax
mov eax, edi
cdq
cmp edx, dword [esp + 4]
jne 0x410b9c
cmp eax, dword [esp]
pop edx
pop eax
jne 0x410bad
mov ecx, esi
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
call fcn.004108c8
cmp bl, 0x5a
je 0x410bc0
cmp dword [esi], 0
jne 0x410bc0
cmp byte [0x42958c], 0
je 0x410b63
mov byte [0x42958c], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x410be9
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004043fc
ret
Function at 0x410bfc
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 [0x4067dc]
call fcn.00404bf0
xor eax, eax
push ebp
push 0x410d64
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 2], 0
lea edx, [ebp - 8]
mov eax, ebx
call fcn.004079e0
cmp dword [ebp - 8], 0
je 0x410c5e
lea eax, [ebp - 8]
mov edx, 0x410d80
call fcn.00404684
lea ecx, [ebp - 0x160]
mov edx, 0x27
mov eax, ebx
call fcn.004077fc
test eax, eax
jne 0x410d22
xor eax, eax
push ebp
push 0x410cc0
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [ebp - 1], 0
je 0x410cb6
push 0x80
lea eax, [ebp - 0x164]
mov ecx, dword [ebp - 0x154]
mov edx, dword [ebp - 8]
call fcn.004046c8
mov eax, dword [ebp - 0x164]
call fcn.0040487c
push eax
call sub.kernel32.dll_SetFileAttributesA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x410cca
xor eax, eax
push ebp
push 0x410d05
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.004046c8
mov eax, dword [ebp - 0x168]
call fcn.0040788c
mov byte [ebp - 2], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x410d0f
lea eax, [ebp - 0x160]
call fcn.0040784c
test eax, eax
je 0x410c78
lea eax, [ebp - 0x160]
call fcn.00407870
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x410d6b
lea eax, [ebp - 0x168]
mov edx, 2
call fcn.004043fc
lea eax, [ebp - 0x160]
mov edx, dword [0x4067dc]
call fcn.00404cb4
lea eax, [ebp - 8]
call fcn.004043d8
ret
Function at 0x410fc4
Capabilities:
Create process on windows
Self delete
Set current directory

Disassembly:
push ebp
mov ebp, esp
mov ecx, 6
push 0
push 0
dec ecx
jne 0x410fcc
push ebx
mov byte [ebp - 1], dl
mov ebx, eax
xor eax, eax
push ebp
push 0x4111af
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x1c]
call fcn.004043d8
lea edx, [ebp - 0x20]
mov al, 1
call fcn.0040e1c8
mov edx, dword [ebp - 0x20]
lea eax, [ebp - 8]
mov ecx, 0x4111c4
call fcn.004046c8
lea eax, [ebp - 0x18]
mov edx, 0x4111dc
call fcn.00404470
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.00404470
lea edx, [ebp - 0x10]
xor eax, eax
call fcn.0040dff0
lea edx, [ebp - 0x14]
xor eax, eax
call fcn.0040e050
cmp byte [ebp - 1], 0
je 0x4110a0
push 0
push 0
xor ecx, ecx
mov edx, 0x4111e8
mov eax, dword [ebp - 8]
call fcn.00410108
lea eax, [ebp - 0x18]
call fcn.004043d8
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 0xc]
call fcn.00407aa8
mov edx, dword [ebp - 0x24]
lea eax, [ebp - 0xc]
call fcn.00404470
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0x10]
call fcn.00407aa8
mov edx, dword [ebp - 0x28]
lea eax, [ebp - 0x10]
call fcn.00404470
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 0x14]
call fcn.00407aa8
mov edx, dword [ebp - 0x2c]
lea eax, [ebp - 0x14]
call fcn.00404470
mov eax, dword [ebp - 8]
call fcn.0040788c
push dword [ebp - 0x1c]
push 0x4111f8
push 0x411208
lea eax, [ebp - 0x1c]
mov edx, 3
call fcn.0040473c
push dword [ebp - 0x1c]
push 0x411214
push dword [ebp - 0x18]
push dword [ebp - 0x10]
push dword [ebp - 0x18]
push 0x411208
lea eax, [ebp - 0x1c]
mov edx, 6
call fcn.0040473c
push dword [ebp - 0x1c]
push 0x411224
push dword [ebp - 0x18]
push dword [ebp - 0x10]
push dword [ebp - 0x18]
push 0x411238
push 0x411208
lea eax, [ebp - 0x1c]
mov edx, 7
call fcn.0040473c
test bl, bl
je 0x41112c
push dword [ebp - 0x1c]
push 0x41124c
push dword [ebp - 0x18]
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push 0x411208
lea eax, [ebp - 0x1c]
mov edx, 6
call fcn.0040473c
push dword [ebp - 0x1c]
push 0x411214
push dword [ebp - 0x18]
push dword [ebp - 0xc]
push dword [ebp - 0x18]
push 0x411208
lea eax, [ebp - 0x1c]
mov edx, 6
call fcn.0040473c
lea edx, [ebp - 0x30]
xor eax, eax
call fcn.0040e1c8
mov eax, dword [ebp - 0x30]
call fcn.0040487c
push eax
call sub.kernel32.dll_SetCurrentDirectoryA
cmp dword [ebp - 0x1c], 0
je 0x41117e
push 0
push 0
xor ecx, ecx
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 8]
call fcn.00410108
cmp dword [ebp - 0x1c], 0
je 0x411194
push 0
mov eax, dword [ebp - 8]
call fcn.0040487c
push eax
call sub.kernel32.dll_WinExec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4111b6
lea eax, [ebp - 0x30]
mov edx, 0xb
call fcn.004043fc
ret