joyce8/EMBER2024-capa huggingface dataset:
Function at 0x468408
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
mov dword [ebp - 4], 1
mov eax, dword [ebp + 8]
mov dl, byte [eax + 1]
test dl, dl
je 0x468487
mov dword [ebp - 4], 2
mov ecx, dword [ebp + 8]
movsx eax, byte [ecx + 0x9a]
add eax, 0x41
push eax
push 0x7623d3
lea edx, [ebp - 0x120]
push edx
call fcn.006712b0
add esp, 0xc
push 1
call sub.KERNEL32.DLL_SetErrorMode
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 0x14]
push ecx
lea eax, [ebp - 0x10]
push eax
lea edx, [ebp - 0xc]
push edx
lea ecx, [ebp - 8]
push ecx
lea eax, [ebp - 0x120]
push eax
call sub.KERNEL32.DLL_GetDiskFreeSpaceA
test eax, eax
jne 0x46847a
xor edx, edx
mov dword [ebp - 4], edx
push dword [ebp - 0x1c]
call sub.KERNEL32.DLL_SetErrorMode
mov eax, dword [ebp - 4]
jmp 0x4684ea
mov dl, byte [0x761a91]
test dl, dl
jne 0x4684a5
mov ecx, dword [ebp + 8]
mov al, byte [ecx + 0xa]
shl eax, 5
mov byte [0x761a8c], al
inc byte [0x761a91]
push 6
push 0x761a8b
push 0
push dword [ebp + 8]
call fcn.00467ef8
add esp, 0x10
cmp al, 1
jne 0x4684e7
mov dl, byte [0xa020c4]
sub dl, 1
jb 0x4684ce
dec dl
je 0x4684d7
jmp 0x4684e7
mov dword [ebp - 4], 2
jmp 0x4684e7
mov cl, byte [0xa020c5]
cmp cl, 0x3a
jne 0x4684e7
xor eax, eax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x468fc0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov eax, dword [ebp + 8]
mov dl, byte [eax + 1]
test dl, dl
je 0x469063
mov eax, dword [ebp + 0x14]
cdq
mov dword [ebp - 8], eax
mov dword [ebp - 4], edx
push 0
push 0x800
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00674900
mov dword [ebp - 8], eax
mov dword [ebp - 4], edx
push 0
lea ecx, [ebp - 4]
push ecx
push dword [ebp - 8]
mov eax, dword [ebp + 8]
push dword [eax + 4]
call sub.KERNEL32.DLL_SetFilePointer
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0xc]
cmp edx, 0xffffffff
jne 0x469028
call sub.KERNEL32.DLL_GetLastError
test eax, eax
je 0x469028
mov eax, 2
jmp 0x46913f
mov edx, dword [ebp + 0x18]
shl edx, 0xb
mov dword [ebp - 0x10], edx
push 0
lea ecx, [ebp - 0x14]
push ecx
push dword [ebp - 0x10]
push dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push dword [eax + 4]
call sub.KERNEL32.DLL_ReadFile
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
cmp edx, ecx
je 0x46905c
mov eax, 2
jmp 0x46913f
xor eax, eax
jmp 0x46913f
mov dword [ebp - 0x1c], 0xa
mov edx, dword [0x761ae4]
mov dword [ebp - 0x2c], edx
mov edx, dword [0x761ae8]
mov dword [ebp - 0x28], edx
mov edx, dword [0x761aec]
mov dword [ebp - 0x24], edx
mov byte [ebp - 0x2c], 0x28
mov dword [ebp - 0x1c], 0xa
mov ecx, dword [ebp + 8]
mov al, byte [ecx + 0xa]
shl eax, 5
mov byte [ebp - 0x2b], al
mov edx, dword [ebp + 0x14]
sar edx, 0x18
mov byte [ebp - 0x2a], dl
mov ecx, dword [ebp + 0x14]
sar ecx, 0x10
and cl, 0xff
mov byte [ebp - 0x29], cl
mov eax, dword [ebp + 0x14]
sar eax, 8
and al, 0xff
mov byte [ebp - 0x28], al
mov dl, byte [ebp + 0x14]
and dl, 0xff
mov byte [ebp - 0x27], dl
mov ecx, dword [ebp + 0x18]
shr ecx, 8
and cl, 0xff
mov byte [ebp - 0x25], cl
mov al, byte [ebp + 0x18]
and al, 0xff
mov byte [ebp - 0x24], al
push dword [ebp + 0x10]
push 0
push dword [ebp + 0xc]
call fcn.0066cc88
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x20], edx
jmp 0x469128
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x2c]
push ecx
push 8
push dword [ebp + 8]
call fcn.00467f2c
add esp, 0x18
cmp al, 1
jne 0x469125
push dword [ebp + 8]
call fcn.00468f20
pop ecx
dec eax
jg 0x46911e
xor eax, eax
jmp 0x46913f
mov eax, 1
jmp 0x46913f
inc dword [ebp - 0x20]
mov edx, dword [ebp - 0x20]
cmp edx, 3
jge 0x46913a
mov ecx, dword [0x6fb15c]
test ecx, ecx
je 0x4690f0
mov eax, 2
mov esp, ebp
pop ebp
ret
Function at 0x469144
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 4], 0xa
mov eax, dword [0x761af0]
mov dword [ebp - 0x2c], eax
mov eax, dword [0x761af4]
mov dword [ebp - 0x28], eax
mov eax, dword [0x761af8]
mov dword [ebp - 0x24], eax
mov edx, dword [ebp + 8]
mov cl, byte [edx + 1]
test cl, cl
je 0x46924c
mov eax, dword [ebp + 0x14]
cdq
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], edx
push 0
push 0x800
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.00674900
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], edx
push 0
lea ecx, [ebp - 8]
push ecx
push dword [ebp - 0xc]
mov eax, dword [ebp + 8]
push dword [eax + 4]
call sub.KERNEL32.DLL_SetFilePointer
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x10]
cmp edx, 0xffffffff
jne 0x4691ce
call sub.KERNEL32.DLL_GetLastError
test eax, eax
je 0x4691ce
mov eax, 2
jmp 0x46930b
mov edx, dword [ebp + 0x18]
shl edx, 0xb
mov dword [ebp - 0x14], edx
push dword [ebp - 0x14]
call fcn.0066c62c
pop ecx
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
jne 0x4691f4
mov eax, 2
jmp 0x46930b
push 0
lea edx, [ebp - 0x18]
push edx
push dword [ebp - 0x14]
push dword [ebp - 0x1c]
mov ecx, dword [ebp + 8]
push dword [ecx + 4]
call sub.KERNEL32.DLL_ReadFile
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
cmp eax, edx
je 0x469228
push dword [ebp - 0x1c]
call fcn.0066c63c
pop ecx
mov eax, 2
jmp 0x46930b
push dword [ebp + 0x14]
push dword [ebp + 0x18]
push dword [ebp + 0xc]
push dword [ebp - 0x1c]
call fcn.004395c0
add esp, 0x10
push dword [ebp - 0x1c]
call fcn.0066c63c
pop ecx
xor eax, eax
jmp 0x46930b
mov byte [ebp - 0x2c], 0xbe
mov dword [ebp - 4], 0xc
mov edx, dword [ebp + 8]
mov cl, byte [edx + 0xa]
shl ecx, 5
mov byte [ebp - 0x2b], cl
mov eax, dword [ebp + 0x14]
sar eax, 0x18
mov byte [ebp - 0x2a], al
mov edx, dword [ebp + 0x14]
sar edx, 0x10
and dl, 0xff
mov byte [ebp - 0x29], dl
mov ecx, dword [ebp + 0x14]
sar ecx, 8
and cl, 0xff
mov byte [ebp - 0x28], cl
mov al, byte [ebp + 0x14]
and al, 0xff
mov byte [ebp - 0x27], al
mov edx, dword [ebp + 0x18]
shr edx, 8
and dl, 0xff
mov byte [ebp - 0x25], dl
mov cl, byte [ebp + 0x18]
and cl, 0xff
mov byte [ebp - 0x24], cl
mov byte [ebp - 0x23], 0xf8
push dword [ebp + 0x10]
push 0
push dword [ebp + 0xc]
call fcn.0066cc88
add esp, 0xc
xor eax, eax
mov dword [ebp - 0x20], eax
jmp 0x4692f4
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp - 4]
lea edx, [ebp - 0x2c]
push edx
push 8
push dword [ebp + 8]
call fcn.00467f2c
add esp, 0x18
cmp al, 1
jne 0x4692f1
push dword [ebp + 8]
call fcn.00468f20
pop ecx
dec eax
jg 0x4692ea
xor eax, eax
jmp 0x46930b
mov eax, 1
jmp 0x46930b
inc dword [ebp - 0x20]
mov edx, dword [ebp - 0x20]
cmp edx, 3
jge 0x469306
mov ecx, dword [0x6fb15c]
test ecx, ecx
je 0x4692bc
mov eax, 2
mov esp, ebp
pop ebp
ret
Function at 0x46da23
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffedc
mov eax, dword [ebp + 0xc]
imul dword [ebp + 0x10]
mov dword [ebp - 4], eax
mov edx, dword [0x763fd4]
test edx, edx
je 0x46db89
mov eax, dword [ebp - 4]
xor edx, edx
add eax, dword [0x763fd8]
adc edx, dword [0x763fdc]
cmp edx, dword [0x763fe4]
jne 0x46da66
cmp eax, dword [0x763fe0]
ja 0x46da95
jmp 0x46da68
jg 0x46da95
push 0
lea ecx, [ebp - 8]
push ecx
push dword [ebp - 4]
push dword [ebp + 8]
push dword [0xa119d4]
call sub.KERNEL32.DLL_WriteFile
mov eax, dword [ebp - 4]
xor edx, edx
add dword [0x763fd8], eax
adc dword [0x763fdc], edx
jmp 0x46dba0
mov eax, dword [0x763fe0]
mov ecx, eax
mov eax, dword [0x763fd8]
sub ecx, eax
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
test edx, edx
jbe 0x46dada
push 0
lea ecx, [ebp - 8]
push ecx
push dword [ebp - 0x18]
push dword [ebp + 8]
push dword [0xa119d4]
call sub.KERNEL32.DLL_WriteFile
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x18]
cmp eax, edx
jne 0x46dbaa
mov ecx, dword [ebp - 0x18]
sub dword [ebp - 4], ecx
mov eax, dword [0xa119d4]
mov dword [ebp - 0x1c], eax
inc dword [0x763fe8]
push dword [0x763fe8]
push dword [0x900208]
push 0x764197
lea edx, [ebp - 0x124]
push edx
call fcn.006712b0
add esp, 0x10
push 0
push 0
push 2
push 0
push 1
push 0x40000000
lea ecx, [ebp - 0x124]
push ecx
call sub.KERNEL32.DLL_CreateFileA
mov dword [0xa119d4], eax
mov eax, dword [0xa119d4]
cmp eax, 0xffffffff
jne 0x46db3d
mov edx, dword [ebp - 0x1c]
mov dword [0xa119d4], edx
jmp 0x46dbaa
push dword [ebp - 0x1c]
call sub.KERNEL32.DLL_CloseHandle
mov ecx, dword [ebp - 4]
test ecx, ecx
jbe 0x46db71
mov eax, dword [ebp + 8]
mov dword [ebp - 0x20], eax
push 0
lea edx, [ebp - 8]
push edx
push dword [ebp - 4]
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x18]
add ecx, eax
push ecx
push dword [0xa119d4]
call sub.KERNEL32.DLL_WriteFile
jmp 0x46db76
xor edx, edx
mov dword [ebp - 8], edx
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [0x763fd8], eax
mov dword [0x763fdc], edx
jmp 0x46dba0
push 0
lea ecx, [ebp - 8]
push ecx
push dword [ebp - 4]
push dword [ebp + 8]
push dword [0xa119d4]
call sub.KERNEL32.DLL_WriteFile
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
cmp eax, edx
je 0x46dbc7
mov ecx, dword [0x6fb15c]
test ecx, ecx
jne 0x46dbc3
call fcn.00462b40
mov dword [0x6fb15c], 1
xor eax, eax
jmp 0x46dbca
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x46eca8
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdbc
mov eax, 0x764608
call fcn.0066d220
mov dl, 1
mov eax, dword [0x5d03f0]
call fcn.0046ee10
mov dword [0x763fc0], eax
push 0x104
push 0
lea edx, [ebp - 0x140]
push edx
call fcn.0066cc88
add esp, 0xc
lea ecx, [ebp - 0x140]
push ecx
push 0x104
call sub.KERNEL32.DLL_GetLogicalDriveStringsA
mov dword [ebp - 0x30], eax
xor eax, eax
mov dword [ebp - 0x2c], eax
mov edx, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x30]
cmp edx, ecx
jge 0x46edf9
lea eax, [ebp - 0x140]
mov edx, dword [ebp - 0x2c]
add eax, edx
push eax
call sub.KERNEL32.DLL_GetDriveTypeA
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x34]
cmp ecx, 5
jne 0x46edda
mov eax, dword [ebp - 0x2c]
movsx edx, byte [ebp + eax - 0x140]
push edx
push 0x763ff0
lea ecx, [ebp - 0x244]
push ecx
call fcn.006712b0
add esp, 0xc
push 0
push 0
push 3
push 0
push 3
push SysReAllocStringLen
lea eax, [ebp - 0x244]
push eax
call sub.KERNEL32.DLL_CreateFileA
mov dword [ebp - 0x38], eax
mov edx, dword [ebp - 0x38]
cmp edx, 0xffffffff
je 0x46edda
push 0x240
call fcn.0066be48
pop ecx
mov dword [ebp - 4], eax
test eax, eax
je 0x46eda3
mov word [ebp - 0x18], 0x14
push 0x10
push 0x20
push 0x40
push dword [ebp - 4]
call fcn.00467d20
add esp, 0x10
mov word [ebp - 0x18], 8
mov edx, dword [ebp - 4]
jmp 0x46eda6
mov edx, dword [ebp - 4]
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x38]
mov dword [eax + 4], ecx
mov eax, dword [ebp - 0x2c]
mov dl, byte [ebp + eax - 0x140]
add dl, 0xbf
mov ecx, dword [ebp - 0x3c]
mov byte [ecx + 0x9a], dl
mov edx, dword [ebp - 0x3c]
mov eax, dword [0x763fc0]
call fcn.005d2c14
jmp 0x46edda
inc dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x2c]
mov al, byte [ebp + ecx - 0x140]
test al, al
jne 0x46edd7
inc dword [ebp - 0x2c]
mov edx, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x30]
cmp edx, ecx
jl 0x46ed09
mov eax, dword [0x763fc0]
mov eax, dword [eax + 8]
mov edx, dword [ebp - 0x28]
mov dword fs:[0], edx
mov esp, ebp
pop ebp
ret
Function at 0x48f72c
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
call fcn.004078bc
test eax, eax
je 0x48f7cb
movzx eax, word [0xa1652c]
movzx edx, word [0xa1652e]
imul edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
add edx, ecx
imul edx
mov edx, dword [ebp + 0x14]
add eax, edx
dec eax
mov dword [ebp - 0xc], eax
push dword [ebp - 0xc]
push dword [ebp + 8]
call fcn.005768f0
add esp, 8
xor eax, eax
mov dword [ebp - 0x10], eax
cmp word [0xa1651f], 0
jne 0x48f799
push 0
lea ecx, [ebp - 0x10]
push ecx
push pe_nt_image_headers32
push dword [ebp + 0x18]
push dword [ebp + 8]
call sub.KERNEL32.DLL_ReadFile
mov dword [ebp - 4], eax
jmp 0x48f7b9
push 0
lea eax, [ebp - 0x10]
push eax
movzx edx, word [0xa1651f]
imul edx, dword [ebp + 0x1c]
push edx
push dword [ebp + 0x18]
push dword [ebp + 8]
call sub.KERNEL32.DLL_ReadFile
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
test ecx, ecx
je 0x48f7c7
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x48f83d
xor eax, eax
jmp 0x48f842
mov edx, dword [ebp + 0x1c]
or edx, 0x200
mov dword [ebp - 0x20], edx
mov ecx, dword [ebp + 0xc]
shl ecx, 8
mov eax, dword [ebp + 0x14]
or ecx, eax
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp + 0x10]
shl edx, 8
mov ecx, dword [0x7679a0]
or edx, ecx
mov dword [ebp - 0x28], edx
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x2c], eax
xor edx, edx
mov dword [ebp - 0x1c], edx
xor ecx, ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], 1
push 0
lea eax, [ebp - 8]
push eax
push 0x1c
lea edx, [ebp - 0x2c]
push edx
push 0x1c
lea ecx, [ebp - 0x2c]
push ecx
push 4
push dword [ebp + 8]
call sub.KERNEL32.DLL_DeviceIoControl
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
test eax, eax
je 0x48f839
test byte [ebp - 0x14], 1
je 0x48f83d
xor eax, eax
jmp 0x48f842
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x48f848
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
call fcn.004078bc
test eax, eax
je 0x48f8e7
movzx eax, word [0xa1652c]
movzx edx, word [0xa1652e]
imul edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
add edx, ecx
imul edx
mov edx, dword [ebp + 0x14]
add eax, edx
dec eax
mov dword [ebp - 0xc], eax
push dword [ebp - 0xc]
push dword [ebp + 8]
call fcn.005768f0
add esp, 8
xor eax, eax
mov dword [ebp - 0x10], eax
cmp word [0xa1651f], 0
jne 0x48f8b5
push 0
lea ecx, [ebp - 0x10]
push ecx
push pe_nt_image_headers32
push dword [ebp + 0x18]
push dword [ebp + 8]
call sub.KERNEL32.DLL_WriteFile
mov dword [ebp - 4], eax
jmp 0x48f8d5
push 0
lea eax, [ebp - 0x10]
push eax
movzx edx, word [0xa1651f]
imul edx, dword [ebp + 0x1c]
push edx
push dword [ebp + 0x18]
push dword [ebp + 8]
call sub.KERNEL32.DLL_WriteFile
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
test ecx, ecx
je 0x48f8e3
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x48f959
xor eax, eax
jmp 0x48f95e
mov edx, dword [ebp + 0x1c]
or edx, 0x300
mov dword [ebp - 0x20], edx
mov ecx, dword [ebp + 0xc]
shl ecx, 8
mov eax, dword [ebp + 0x14]
or ecx, eax
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp + 0x10]
shl edx, 8
mov ecx, dword [0x7679a0]
or edx, ecx
mov dword [ebp - 0x28], edx
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x2c], eax
xor edx, edx
mov dword [ebp - 0x1c], edx
xor ecx, ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], 1
push 0
lea eax, [ebp - 8]
push eax
push 0x1c
lea edx, [ebp - 0x2c]
push edx
push 0x1c
lea ecx, [ebp - 0x2c]
push ecx
push 4
push dword [ebp + 8]
call sub.KERNEL32.DLL_DeviceIoControl
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
test eax, eax
je 0x48f955
test byte [ebp - 0x14], 1
je 0x48f959
xor eax, eax
jmp 0x48f95e
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x497a78
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov word [0xa16964], 1
mov word [0xa16966], 2
mov dword [0xa16968], 0xac44
mov word [0xa16972], 0x10
movzx eax, word [0xa16972]
test eax, eax
jns 0x497ab1
add eax, 7
sar eax, 3
imul dword [0xa16968]
movzx edx, word [0xa16966]
imul edx
mov dword [0xa1696c], eax
movzx ecx, word [0xa16972]
test ecx, ecx
jns 0x497ad6
add ecx, 7
sar ecx, 3
movzx eax, word [0xa16966]
imul ecx, eax
mov word [0xa16970], cx
mov edx, dword [ebp + 0xc]
mov ecx, dword [edx]
cmp ecx, 4
jne 0x497b14
push 0
push 0x930
mov eax, dword [ebp + 0xc]
mov edx, dword [eax + 0x234]
mov eax, dword [eax + 0x230]
call fcn.00674900
mov dword [ebp - 8], eax
jmp 0x497b20
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x230]
mov dword [ebp - 8], eax
mov edx, dword [ebp - 8]
add edx, 0x24
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], 0x46464952
push dword [ebp + 8]
push 1
push 4
lea ecx, [ebp - 4]
push ecx
call fcn.0045dd24
add esp, 0x10
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
push dword [ebp + 8]
push 1
push 4
lea edx, [ebp - 4]
push edx
call fcn.0045dd24
add esp, 0x10
mov dword [ebp - 4], 0x45564157
push dword [ebp + 8]
push 1
push 4
lea ecx, [ebp - 4]
push ecx
call fcn.0045dd24
add esp, 0x10
mov dword [ebp - 4], 0x20746d66
push dword [ebp + 8]
push 1
push 4
lea eax, [ebp - 4]
push eax
call fcn.0045dd24
add esp, 0x10
mov dword [ebp - 4], 0x10
push dword [ebp + 8]
push 1
push 4
lea edx, [ebp - 4]
push edx
call fcn.0045dd24
add esp, 0x10
push dword [ebp + 8]
push 1
push dword [ebp - 4]
push 0xa16964
call fcn.0045dd24
add esp, 0x10
mov dword [ebp - 4], 0x61746164
push dword [ebp + 8]
push 1
push 4
lea ecx, [ebp - 4]
push ecx
call fcn.0045dd24
add esp, 0x10
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
push dword [ebp + 8]
push 1
push 4
lea edx, [ebp - 4]
push edx
call fcn.0045dd24
add esp, 0x10
mov esp, ebp
pop ebp
ret
Function at 0x498640
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov eax, dword [ebp + 0xc]
test eax, eax
jns 0x498652
add eax, 0x7ff
sar eax, 0xb
imul edx, eax, 0x930
mov dword [ebp - 8], edx
mov ecx, dword [ebp - 8]
add ecx, 0x24
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], 0x46464952
push dword [ebp + 8]
push 1
push 4
lea eax, [ebp - 4]
push eax
call fcn.0045dd24
add esp, 0x10
mov edx, dword [ebp - 0xc]
mov dword [ebp - 4], edx
push dword [ebp + 8]
push 1
push 4
lea ecx, [ebp - 4]
push ecx
call fcn.0045dd24
add esp, 0x10
mov dword [ebp - 4], 0x41584443
push dword [ebp + 8]
push 1
push 4
lea eax, [ebp - 4]
push eax
call fcn.0045dd24
add esp, 0x10
mov dword [ebp - 4], 0x20746d66
push dword [ebp + 8]
push 1
push 4
lea edx, [ebp - 4]
push edx
call fcn.0045dd24
add esp, 0x10
mov dword [ebp - 4], 0x10
push dword [ebp + 8]
push 1
push 4
lea ecx, [ebp - 4]
push ecx
call fcn.0045dd24
add esp, 0x10
xor eax, eax
mov dword [ebp - 4], eax
push dword [ebp + 8]
push 1
push 4
lea edx, [ebp - 4]
push edx
call fcn.0045dd24
add esp, 0x10
mov dword [ebp - 4], 0x41585515
push dword [ebp + 8]
push 1
push 4
lea ecx, [ebp - 4]
push ecx
call fcn.0045dd24
add esp, 0x10
mov dword [ebp - 4], 1
push dword [ebp + 8]
push 1
push 4
lea eax, [ebp - 4]
push eax
call fcn.0045dd24
add esp, 0x10
xor edx, edx
mov dword [ebp - 4], edx
push dword [ebp + 8]
push 1
push 4
lea ecx, [ebp - 4]
push ecx
call fcn.0045dd24
add esp, 0x10
mov dword [ebp - 4], 0x61746164
push dword [ebp + 8]
push 1
push 4
lea eax, [ebp - 4]
push eax
call fcn.0045dd24
add esp, 0x10
mov edx, dword [ebp - 8]
mov dword [ebp - 4], edx
push dword [ebp + 8]
push 1
push 4
lea ecx, [ebp - 4]
push ecx
call fcn.0045dd24
add esp, 0x10
mov esp, ebp
pop ebp
ret
Function at 0x498a5c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
mov word [ebp - 0x18], 1
mov word [ebp - 0x16], 2
mov dword [ebp - 0x14], 0xac44
mov word [ebp - 0xa], 0x10
movzx eax, word [ebp - 0xa]
test eax, eax
jns 0x498a86
add eax, 7
sar eax, 3
imul dword [ebp - 0x14]
movzx edx, word [ebp - 0x16]
imul edx
mov dword [ebp - 0x10], eax
movzx ecx, word [ebp - 0xa]
test ecx, ecx
jns 0x498aa0
add ecx, 7
sar ecx, 3
movzx eax, word [ebp - 0x16]
imul ecx, eax
mov word [ebp - 0xc], cx
mov edx, dword [ebp + 0xc]
sub edx, 0x14
sub edx, 0x10
mov dword [ebp - 8], edx
mov dword [ebp - 4], 0x46464952
push dword [ebp + 8]
push 1
push 4
lea ecx, [ebp - 4]
push ecx
call fcn.0045dd24
add esp, 0x10
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
push dword [ebp + 8]
push 1
push 4
lea edx, [ebp - 4]
push edx
call fcn.0045dd24
add esp, 0x10
mov dword [ebp - 4], 0x45564157
push dword [ebp + 8]
push 1
push 4
lea ecx, [ebp - 4]
push ecx
call fcn.0045dd24
add esp, 0x10
mov dword [ebp - 4], 0x20746d66
push dword [ebp + 8]
push 1
push 4
lea eax, [ebp - 4]
push eax
call fcn.0045dd24
add esp, 0x10
mov dword [ebp - 4], 0x10
push dword [ebp + 8]
push 1
push 4
lea edx, [ebp - 4]
push edx
call fcn.0045dd24
add esp, 0x10
push dword [ebp + 8]
push 1
push dword [ebp - 4]
lea ecx, [ebp - 0x18]
push ecx
call fcn.0045dd24
add esp, 0x10
mov dword [ebp - 4], 0x61746164
push dword [ebp + 8]
push 1
push 4
lea eax, [ebp - 4]
push eax
call fcn.0045dd24
add esp, 0x10
mov edx, dword [ebp - 8]
mov dword [ebp - 4], edx
push dword [ebp + 8]
push 1
push 4
lea ecx, [ebp - 4]
push ecx
call fcn.0045dd24
add esp, 0x10
mov esp, ebp
pop ebp
ret
Function at 0x4999b4
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
xor eax, eax
mov dword [ebp - 0x10], eax
mov edx, dword [0xa26894]
mov dword [ebp - 0x14], edx
mov ecx, dword [0xa26890]
mov dword [ebp - 0x18], ecx
mov eax, dword [0xa26894]
mov dword [ebp - 0x20], eax
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x14]
cmp edx, ecx
jne 0x4999e8
mov eax, dword [ebp - 0x18]
jmp 0x499a09
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x14]
sub edx, ecx
push edx
push dword [ebp - 0x14]
push dword [ebp - 0x18]
call fcn.0066cc3c
add esp, 0xc
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x14]
sub edx, ecx
add eax, edx
mov dword [ebp - 0x1c], eax
mov eax, dword [0xa26894]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x28], eax
mov edx, dword [ebp - 0x1c]
mov dword [0xa26894], edx
push 0x514
push 0
push 0x769038
call fcn.0066cc88
add esp, 0xc
mov byte [ebp - 1], 0
xor ecx, ecx
mov cl, byte [ebp - 1]
mov eax, ecx
add eax, eax
lea eax, [eax + eax*2]
mov dword [eax*8 + 0x769044], 0xffffffff
xor edx, edx
mov dl, byte [ebp - 1]
mov ecx, dword [0x6eb9b4]
cmp edx, ecx
jl 0x499ac9
mov al, byte [ebp - 1]
add al, 0x41
movsx edx, al
push edx
push 0x769700
lea ecx, [ebp - 8]
push ecx
call sub.USER32.DLL_wsprintfA
add esp, 0xc
lea eax, [ebp - 8]
push eax
call sub.KERNEL32.DLL_GetDriveTypeA
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0xc]
cmp edx, 5
jne 0x499ac9
xor ecx, ecx
mov cl, byte [ebp - 1]
mov eax, ecx
shl eax, 4
lea eax, [eax + eax*2]
add eax, 0x76903c
push eax
mov dl, byte [ebp - 1]
push edx
call fcn.00499f5c
add esp, 8
xor ecx, ecx
mov cl, byte [ebp - 1]
mov eax, ecx
add eax, eax
lea eax, [eax + eax*2]
mov edx, dword [eax*8 + 0x769040]
test edx, edx
je 0x499ac9
inc dword [ebp - 0x10]
inc byte [ebp - 1]
mov cl, byte [ebp - 1]
cmp cl, 0x1a
jb 0x499a3b
call fcn.00499b58
mov byte [0x769038], al
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret