joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46e970
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov ebx, ecx
test ebx, ebx
js 0x46e989
shr ebx, 2
mov esi, dword [edx + ebx*4]
dec ebx
push esi
jns 0x46e982
mov edx, esp
mov dword [ebp - 4], edx
mov ebx, eax
mov dword [ebp - 8], 8
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0xc]
mov dl, byte [eax]
mov byte [ecx], dl
inc ecx
inc eax
dec dword [ebp - 8]
jne 0x46e99d
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.0046e334
test bl, bl
jne 0x46ea70
mov dword [ebp - 8], 0x10
mov dword [ebp - 0x14], 0x4e8c4c
mov eax, 4
mov edx, dword [ebp + 0xc]
lea esi, [ebp - 0xc]
mov cl, byte [edx]
mov byte [esi], cl
inc esi
inc edx
dec eax
jne 0x46e9d4
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
mov cl, byte [edx]
mov byte [edx - 4], cl
inc edx
dec eax
jne 0x46e9e8
push 5
lea eax, [ebp - 0x10]
push eax
push 3
mov eax, dword [ebp - 0x14]
mov ecx, eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.0046e848
mov eax, 4
lea edx, [ebp - 0xc]
lea esi, [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
add ecx, 4
mov bl, byte [edx]
xor bl, byte [esi]
mov byte [ecx], bl
inc ecx
inc esi
inc edx
dec eax
jne 0x46ea1a
add dword [ebp - 0x14], 6
dec dword [ebp - 8]
jne 0x46e9c9
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
lea ecx, [ebp - 0xc]
mov bl, byte [edx]
mov byte [ecx], bl
inc ecx
inc edx
dec eax
jne 0x46ea3d
mov eax, 4
mov edx, dword [ebp + 0xc]
mov cl, byte [edx]
mov byte [edx + 4], cl
inc edx
dec eax
jne 0x46ea4e
mov eax, 4
lea edx, [ebp - 0xc]
mov ecx, dword [ebp + 0xc]
mov bl, byte [edx]
mov byte [ecx], bl
inc ecx
inc edx
dec eax
jne 0x46ea62
jmp 0x46eb2b
cmp bl, 1
jne 0x46eb2b
mov dword [ebp - 8], 0xfffffff0
mov ebx, 0x4e8ca6
mov eax, 4
mov edx, dword [ebp + 0xc]
lea esi, [ebp - 0xc]
mov cl, byte [edx]
mov byte [esi], cl
inc esi
inc edx
dec eax
jne 0x46ea90
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
mov cl, byte [edx]
mov byte [edx - 4], cl
inc edx
dec eax
jne 0x46eaa4
push 5
lea eax, [ebp - 0x10]
push eax
push 3
mov ecx, ebx
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.0046e848
mov eax, 4
lea edx, [ebp - 0xc]
lea esi, [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
add ecx, 4
mov dword [ebp - 0x18], ecx
mov cl, byte [edx]
xor cl, byte [esi]
mov edi, dword [ebp - 0x18]
mov byte [edi], cl
inc dword [ebp - 0x18]
inc esi
inc edx
dec eax
jne 0x46ead6
sub ebx, 6
inc dword [ebp - 8]
jne 0x46ea85
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
lea ebx, [ebp - 0xc]
mov cl, byte [edx]
mov byte [ebx], cl
inc ebx
inc edx
dec eax
jne 0x46eafd
mov eax, 4
mov ebx, dword [ebp + 0xc]
mov dl, byte [ebx]
mov byte [ebx + 4], dl
inc ebx
dec eax
jne 0x46eb0e
mov eax, 4
lea ebx, [ebp - 0xc]
mov edx, dword [ebp + 0xc]
mov cl, byte [ebx]
mov byte [edx], cl
inc edx
inc ebx
dec eax
jne 0x46eb22
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.0046e3b8
mov edi, dword [ebp - 0x24]
mov esi, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x1c]
mov esp, ebp
pop ebp
ret 8
Function at 0x46f1b0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 0x10
add esp, 0xfffff004
push eax
dec eax
jne 0x46f1b9
mov eax, dword [ebp - 4]
add esp, 0xfffffebc
push ebx
push esi
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404d28
xor eax, eax
push ebp
push 0x46f294
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x4e7914]
mov byte [eax], 0
mov dword [ebx], 0xffffffff
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x154]
call fcn.00402f90
mov edx, 1
lea eax, [ebp - 0x154]
call fcn.00403434
call fcn.00402ab0
test eax, eax
jne 0x46f271
lea eax, [ebp - 8]
push eax
lea edx, [ebp - 0x10145]
mov ecx, 0xfff1
lea eax, [ebp - 0x154]
call fcn.004030e0
mov dx, word [ebp - 8]
test dx, dx
jbe 0x46f26b
lea eax, [ebp - 0x10145]
xor ecx, ecx
mov cl, byte [eax]
mov esi, dword [ebx]
and esi, 0xff
xor ecx, esi
mov ecx, dword [ecx*4 + 0x4e0458]
mov esi, dword [ebx]
shr esi, 8
xor ecx, esi
mov dword [ebx], ecx
inc eax
dec dx
jne 0x46f247
cmp dword [ebp - 8], 0
jne 0x46f21e
lea eax, [ebp - 0x154]
call fcn.00403100
not dword [ebx]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46f29b
lea eax, [ebp - 4]
call fcn.00404878
ret

Function at 0x472154
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x472182
mov eax, ebx
call fcn.00472c08
cmp dword [ebx + 0x40], 0
je 0x47217b
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x4721f3
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x4721e5
cmp dword [ebx + 8], 0
je 0x4721a4
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x4721b6
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4721e5
cmp dword [ebx + 8], 0
je 0x472197
cmp eax, 3
je 0x4721c9
dec eax
jne 0x472197
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x472197
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x472197
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x472211
cmp dword [ebx + 0x14], 0xcc
je 0x472211
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.0047221c
pop ebx
ret

Function at 0x483dac
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x483dfd
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x483de4
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x483dd4
jmp 0x483dfd
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x483de5
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x492208
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
mov ebx, eax
push ebp
push ecx
mov esi, dword [ebx + 0x24]
mov edi, dword [ebx + 0x34]
sub edi, dword [ebx + 0x6c]
sub edi, dword [ebx + 0x64]
test edi, edi
jne 0x492232
cmp dword [ebx + 0x64], 0
jne 0x492232
cmp dword [ebx + 0x6c], 0
jne 0x492232
mov edi, esi
jmp 0x4922b9
cmp edi, 0xffffffff
jne 0x49223a
dec edi
jmp 0x4922b9
mov eax, dword [ebx + 0x24]
sub eax, 0x106
add eax, esi
cmp eax, dword [ebx + 0x64]
ja 0x4922b9
push esi
mov eax, dword [ebx + 0x30]
mov edx, eax
mov ebp, esi
add edx, ebp
push edx
push eax
call fcn.00491604
add esp, 0xc
sub dword [ebx + 0x68], esi
sub dword [ebx + 0x64], esi
sub dword [ebx + 0x54], ebp
mov eax, dword [ebx + 0x44]
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x3c]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp esi, dword [esp]
ja 0x492287
mov cx, word [esp]
sub cx, si
jmp 0x492289
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x492270
mov eax, esi
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x38]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp esi, dword [esp]
ja 0x4922af
mov cx, word [esp]
sub cx, si
jmp 0x4922b1
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x492298
add edi, esi
mov ebp, dword [ebx]
cmp dword [ebp + 4], 0
je 0x492316
mov edx, dword [ebx + 0x30]
mov ecx, edi
add edx, dword [ebx + 0x64]
mov eax, ebp
add edx, dword [ebx + 0x6c]
call fcn.00491fa4
add dword [ebx + 0x6c], eax
cmp dword [ebx + 0x6c], 3
jb 0x492301
mov eax, dword [ebx + 0x30]
mov edx, dword [ebx + 0x64]
movzx eax, byte [eax + edx]
mov dword [ebx + 0x40], eax
mov ecx, dword [ebx + 0x50]
shl eax, cl
mov edx, dword [ebx + 0x30]
mov ecx, dword [ebx + 0x64]
movzx edx, byte [edx + ecx + 1]
xor eax, edx
and eax, dword [ebx + 0x4c]
mov dword [ebx + 0x40], eax
cmp dword [ebx + 0x6c], 0x106
jae 0x492316
mov eax, dword [ebx]
cmp dword [eax + 4], 0
jne 0x492212
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x49856c
Capabilities:
Hash data with crc32

Disassembly:
push ebx
push esi
xor esi, esi
mov ecx, 0x4e8cdc
mov eax, esi
mov edx, 8
mov ebx, eax
and ebx, 1
test bl, bl
je 0x49858e
shr eax, 1
xor eax, 0xedb88320
jmp 0x498590
shr eax, 1
dec edx
jne 0x49857c
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x498575
mov byte [0x4e90dc], 1
pop esi
pop ebx
ret

Function at 0x4985ac
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x4e90dc], 0
jne 0x4985c3
call fcn.0049856c
mov eax, edi
dec eax
test eax, eax
jl 0x4985ec
inc eax
xor edx, edx
xor ecx, ecx
mov cl, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x4e8cdc]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x4985cd
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x49ab3c
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov ebx, eax
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov al, byte [eax]
dec al
je 0x49ab6d
dec al
je 0x49aba9
dec al
je 0x49abed
dec al
je 0x49ac58
jmp 0x49ace2
mov esi, dword [ebx + 0x24]
inc esi
mov edi, dword [ebx + 0x20]
sub edi, esi
jb 0x49ace2
inc edi
mov edx, esi
sub edx, dword [ebx + 0x24]
xor ecx, ecx
mov cl, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
mov dl, byte [ecx + edx]
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x49ab7d
jmp 0x49ace2
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x49ace2
mov esi, 1
mov al, byte [ebx + 0x48]
mov edx, eax
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov dl, byte [edx + esi]
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x49abb9
jmp 0x49ace2
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x49ace2
mov esi, 1
mov al, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov ecx, esi
dec ecx
mov edx, dword [ebx + 0x24]
cmp ecx, edx
jae 0x49ac1b
xor ebp, ebp
jmp 0x49ac2c
mov ecx, esi
sub ecx, edx
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx ebp, byte [edx + ecx]
add eax, ebp
sar eax, 1
jns 0x49ac35
adc eax, 0
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
add al, byte [edx + esi]
and al, 0xff
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x49abfd
jmp 0x49ace2
xor ebp, ebp
xor eax, eax
mov dword [esp + 4], eax
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x49ace2
mov esi, 1
mov al, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov edx, esi
dec edx
cmp edx, dword [ebx + 0x24]
jb 0x49acb0
mov edx, esi
sub edx, dword [ebx + 0x24]
xor ecx, ecx
mov cl, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx ebp, byte [ecx + edx]
mov dl, byte [ebx + 0x48]
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov ecx, esi
sub ecx, dword [ebx + 0x24]
movzx edx, byte [edx + ecx]
mov dword [esp + 4], edx
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
mov dword [esp], edx
mov cl, byte [esp + 4]
push eax
mov eax, ebp
pop edx
call fcn.004985f4
add al, byte [esp]
and al, 0xff
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x49ac6c
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x49e92c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov bl, byte [0x49e964]
push 0x10
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x49e942
or bl, 1
push 0x11
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x49e951
or bl, 4
push 0x12
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x49e960
or bl, 2
mov eax, ebx
pop ebx
ret

Function at 0x49f1f8
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, eax
mov eax, dword [ebx + 4]
mov edx, dword [0x448e50]
call fcn.00403c30
test al, al
je 0x49f23a
mov eax, dword [0x4e77ec]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
test eax, eax
je 0x49f23a
mov edx, dword [0x4e77ec]
xor edx, edx
call fcn.004661a4
push 0
mov eax, dword [0x4e77ec]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_ShowWindow
pop ebx
ret

Function at 0x49f718
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x416ea0]
call fcn.00405280
xor eax, eax
push ebp
push 0x49f85c
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4e34fc], 0
jne 0x49f76b
mov ecx, dword [0x4e72c4]
mov dl, 1
mov eax, dword [0x407e24]
call fcn.0040d958
call fcn.00404230
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.004032f0
mov eax, ebx
call fcn.004050e0
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x49f86c
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.0040634c
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.004050f0
test eax, eax
jle 0x49f803
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x49f7fc
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.00404b00
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.00404ae8
mov eax, dword [ebp - 0x48]
pop edx
call fcn.00408da8
test eax, eax
jne 0x49f7fc
mov ebx, 0x15
jmp 0x49f808
mov ebx, 0x10
jmp 0x49f808
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x4e34fc]
call fcn.0049f614
mov eax, dword [ebp - 8]
call fcn.0049f614
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.00406364
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49f863
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.0040489c
lea eax, [ebp - 0x10]
mov edx, dword [0x416ea0]
call fcn.00405350
ret
Function at 0x4a8b30
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
mov ecx, 8
push 0
push 0
dec ecx
jne 0x4a8b38
push ecx
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x4a8d2a
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, dword [ebx + 8]
lea ecx, [ebp - 0xc]
mov edx, 0x4a8d40
mov eax, esi
call fcn.004a68c0
mov edx, dword [ebp - 0xc]
lea eax, [ebx + 0xc]
call fcn.004048cc
lea ecx, [ebp - 0x10]
mov edx, 0x4a8d54
mov eax, esi
call fcn.004a68c0
mov edx, dword [ebp - 0x10]
lea eax, [ebx + 0x28]
call fcn.004048cc
lea ecx, [ebp - 0x14]
mov edx, 0x4a8d6c
mov eax, esi
call fcn.004a68c0
mov edx, dword [ebp - 0x14]
lea eax, [ebx + 0x10]
call fcn.004048cc
lea ecx, [ebp - 0x18]
mov edx, 0x4a8d88
mov eax, esi
call fcn.004a68c0
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x14]
call fcn.004048cc
lea ecx, [ebp - 0x1c]
mov edx, 0x4a8da4
mov eax, esi
call fcn.004a68c0
mov edx, dword [ebp - 0x1c]
lea eax, [ebx + 0x24]
call fcn.004048cc
lea ecx, [ebp - 0x24]
mov edx, 0x4a8dbc
mov eax, esi
call fcn.004a68c0
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.00408e18
mov eax, dword [ebp - 0x20]
or edx, 0xffffffff
call fcn.00409390
mov edi, eax
mov dword [ebx + 0x18], edi
test edi, edi
setge al
mov byte [ebx + 0x4c], al
lea ecx, [ebp - 0x28]
mov edx, 0x4a8dd4
mov eax, esi
call fcn.004a68c0
mov eax, dword [ebp - 0x28]
call fcn.004a59d8
fstp qword [ebx + 0x30]
wait
lea ecx, [ebp - 0x2c]
mov edx, 0x4a8de4
mov eax, esi
call fcn.004a68c0
mov eax, dword [ebp - 0x2c]
call fcn.004a59d8
fstp qword [ebx + 0x40]
wait
lea ecx, [ebp - 0x30]
mov edx, 0x4a8dfc
mov eax, esi
call fcn.004a68c0
mov eax, dword [ebp - 0x30]
or edx, 0xffffffff
call fcn.00409390
inc eax
je 0x4a8ccd
lea ecx, [ebp - 0x34]
mov edx, 0x4a8dfc
mov eax, esi
call fcn.004a68c0
mov eax, dword [ebp - 0x34]
call fcn.00409354
mov edi, eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov dword [ebp - 8], eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov ecx, edx
mov eax, ecx
push ecx
mov ecx, 0x3c
cdq
idiv ecx
pop ecx
mov dword [ebp - 4], eax
mov eax, ecx
mov ecx, 0x3c
cdq
idiv ecx
mov edi, edx
push 0
mov ecx, edi
mov dx, word [ebp - 4]
mov ax, word [ebp - 8]
call fcn.0040aee0
fstp qword [ebp - 0x3c]
wait
call fcn.0040b278
fadd qword [ebp - 0x3c]
fstp qword [ebx + 0x38]
wait
jmp 0x4a8ce8
lea ecx, [ebp - 0x40]
mov edx, 0x4a8dfc
mov eax, esi
call fcn.004a68c0
mov eax, dword [ebp - 0x40]
call fcn.004a59d8
fstp qword [ebx + 0x38]
wait
lea ecx, [ebp - 0x44]
mov edx, 0x4a8e0c
mov eax, esi
call fcn.004a68c0
mov edx, dword [ebp - 0x44]
lea eax, [ebx + 0x48]
call fcn.004048cc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a8d31
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.0040489c
lea eax, [ebp - 0x34]
mov edx, 0xb
call fcn.0040489c
ret
Function at 0x4b4fc8
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
xor edx, edx
push ebp
push 0x4b5022
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [eax + 0x30]
call fcn.004b4fb8
mov ebx, eax
lea edx, [ebp - 4]
mov eax, edi
call fcn.004a4644
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0xc]
call fcn.004a4244
mov edx, dword [esi + 8]
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b5029
lea eax, [ebp - 4]
call fcn.00404878
ret

Function at 0x4bb928
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffed4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x124], ecx
mov dword [ebp - 0x120], ecx
mov dword [ebp - 0x11c], ecx
mov dword [ebp - 0x118], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4bba99
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4bba74
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x111], 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0x105
lea eax, [ebp - 0x111]
push eax
lea eax, [ebp - 0x118]
mov edx, ebx
call fcn.00404a60
lea eax, [ebp - 0x118]
mov edx, 0x4bbab0
call fcn.00404b40
mov eax, dword [ebp - 0x118]
call fcn.00404d38
push eax
call sub.kernel32.dll_GetVolumeInformationA
test eax, eax
je 0x4bb9e6
lea eax, [ebp - 0x111]
call fcn.00409ef8
mov ecx, eax
lea edx, [ebp - 0x111]
mov eax, esi
call fcn.00404968
jmp 0x4bb9ed
mov eax, esi
call fcn.00404878
cmp bl, 0x61
jae 0x4bba0e
lea edx, [ebp - 0x11c]
mov eax, dword [esi]
call fcn.0040e76c
mov edx, dword [ebp - 0x11c]
mov eax, esi
call fcn.004048cc
jmp 0x4bba28
lea edx, [ebp - 0x120]
mov eax, dword [esi]
call fcn.0040e6e0
mov edx, dword [ebp - 0x120]
mov eax, esi
call fcn.004048cc
lea eax, [ebp - 0x124]
push eax
mov eax, dword [esi]
mov dword [ebp - 0x12c], eax
mov byte [ebp - 0x128], 0xb
lea edx, [ebp - 0x12c]
xor ecx, ecx
mov eax, 0x4bbabc
call fcn.0040a5d4
mov edx, dword [ebp - 0x124]
mov eax, esi
call fcn.004048cc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bba7b
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
Function at 0x4c0d84
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00404d28
xor eax, eax
push ebp
push 0x4c0e7d
push dword fs:[eax]
mov dword fs:[eax], esp
mov ax, word [esi + 4]
mov word [ebx + 4], ax
mov ax, word [esi + 6]
mov word [ebx + 6], ax
mov ax, word [esi + 8]
mov word [ebx + 8], ax
mov ax, word [esi + 0xa]
mov word [ebx + 0xa], ax
mov eax, dword [esi + 0xc]
call fcn.004c26f8
mov dword [ebx + 0xc], eax
mov eax, dword [esi + 0x10]
mov dword [ebx + 0x10], eax
mov eax, dword [esi + 0x14]
mov dword [ebx + 0x14], eax
mov eax, dword [esi + 0x18]
mov dword [ebx + 0x18], eax
mov ax, word [esi + 0x1c]
mov word [ebx + 0x1c], ax
mov ax, word [esi + 0x1e]
mov word [ebx + 0x1e], ax
mov ax, word [esi + 0x20]
mov word [ebx + 0x22], ax
mov ax, word [esi + 0x22]
mov word [ebx + 0x24], ax
mov ax, word [esi + 0x24]
mov word [ebx + 0x26], ax
mov eax, dword [esi + 0x26]
mov dword [ebx + 0x28], eax
mov eax, dword [esi + 0x2a]
mov dword [ebx + 0x2c], eax
mov dword [ebx + 0x30], 0
mov dword [ebx + 0x34], 0
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00409d40
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.004c1744
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.00409c24
mov edx, dword [ebp - 0xc]
mov eax, ebx
call fcn.004c17b8
xor eax, eax
mov dword [ebx + 0x44], eax
mov byte [ebx + 0x48], 0
mov byte [ebx + 0x4a], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c0e84
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.0040489c
ret
Function at 0x4c0e8c
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00404d28
xor eax, eax
push ebp
push 0x4c0f95
push dword fs:[eax]
mov dword fs:[eax], esp
mov word [ebx + 4], 0
mov ax, word [esi + 4]
mov word [ebx + 6], ax
mov ax, word [esi + 6]
mov word [ebx + 8], ax
mov ax, word [esi + 8]
mov word [ebx + 0xa], ax
mov eax, dword [esi + 0xa]
call fcn.004c26f8
mov dword [ebx + 0xc], eax
mov eax, dword [esi + 0xe]
mov dword [ebx + 0x10], eax
mov eax, dword [esi + 0x12]
mov dword [ebx + 0x14], eax
mov eax, dword [esi + 0x16]
mov dword [ebx + 0x18], eax
mov ax, word [esi + 0x1a]
mov word [ebx + 0x1c], ax
mov ax, word [esi + 0x1c]
mov word [ebx + 0x20], ax
mov word [ebx + 0x22], 0
mov word [ebx + 0x24], 0
mov word [ebx + 0x26], 0
xor eax, eax
mov dword [ebx + 0x28], eax
xor eax, eax
mov dword [ebx + 0x2c], eax
mov dword [ebx + 0x30], 0
mov dword [ebx + 0x34], 0
cmp dword [ebp - 4], 0
je 0x4c0f5b
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00409d40
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.004c1744
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.00409c24
mov edx, dword [ebp - 0xc]
mov eax, ebx
call fcn.004c17b8
jmp 0x4c0f6d
xor edx, edx
mov eax, ebx
call fcn.004c1744
xor edx, edx
mov eax, ebx
call fcn.004c17b8
xor eax, eax
mov dword [ebx + 0x44], eax
mov byte [ebx + 0x48], 0
mov byte [ebx + 0x4a], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c0f9c
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.0040489c
ret

Function at 0x4c2954
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404d28
xor eax, eax
push ebp
push 0x4c29b2
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea eax, [ebp - 4]
call fcn.004c2a30
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 2
je 0x4c299a
lea eax, [ebp - 4]
call fcn.004c2a30
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 5
jne 0x4c299c
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c29b9
lea eax, [ebp - 4]
call fcn.00404878
ret

Function at 0x4c29c0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404d28
xor eax, eax
push ebp
push 0x4c2a24
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0xe
lea eax, [ebp - 0x1a]
push eax
lea eax, [ebp - 4]
call fcn.004c2a30
push eax
call sub.kernel32.dll_GetVolumeInformationA
mov edx, ebx
lea eax, [ebp - 0x1a]
call fcn.0040a0e4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c2a2b
lea eax, [ebp - 4]
call fcn.00404878
ret