joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4831fc
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 [0x416490]
call fcn.00405190
xor eax, eax
push ebp
push 0x483340
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4e8ca8], 0
jne 0x48324f
mov ecx, dword [0x4edde4]
mov dl, 1
mov eax, dword [0x407ea4]
call fcn.0040d370
call fcn.00404160
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.00403280
mov eax, ebx
call fcn.00405040
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x483350
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.00406354
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00405050
test eax, eax
jle 0x4832e7
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 0x4832e0
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.00404a30
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.00404a18
mov eax, dword [ebp - 0x48]
pop edx
call fcn.00408d74
test eax, eax
jne 0x4832e0
mov ebx, 0x15
jmp 0x4832ec
mov ebx, 0x10
jmp 0x4832ec
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 [0x4e8ca8]
call fcn.00483154
mov eax, dword [ebp - 8]
call fcn.00483154
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.0040636c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x483347
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.004047cc
lea eax, [ebp - 0x10]
mov edx, dword [0x416490]
call fcn.00405260
ret

Function at 0x48aee8
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
xor eax, eax
mov dword [ebp - 0x1c], eax
xor eax, eax
push ebp
push 0x48af71
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x4efd04
push 0x202
call sub.wsock32.dll_WSAStartup
mov ebx, eax
test ebx, ebx
je 0x48af5b
lea edx, [ebp - 0x1c]
mov eax, ebx
call fcn.0040ca7c
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0xb
mov dword [ebp - 0x10], ebx
mov byte [ebp - 0xc], 0
mov eax, 0x48af88
mov dword [ebp - 8], eax
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x18]
push eax
push 2
mov ecx, dword [0x4ee49c]
mov dl, 1
mov eax, dword [0x48a6e8]
call fcn.0040d3ac
call fcn.00404160
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48af78
lea eax, [ebp - 0x1c]
call fcn.004047a8
ret
Function at 0x4a86dc
Capabilities:
Encode data using xor
Encrypt data using des
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffa4
mov dword [esp + 4], ecx
mov dword [esp], edx
mov esi, 0x30
mov edi, 0x4e9ab8
mov ecx, dword [esp]
lea edx, [esp + 0xc]
xor ebx, ebx
mov bl, byte [edi]
mov bl, byte [eax + ebx - 1]
xor bl, byte [ecx]
mov byte [edx], bl
inc edx
inc ecx
inc edi
dec esi
jne 0x4a86fb
mov esi, 1
mov edx, 0x4e9bc0
mov ecx, esi
dec ecx
mov eax, ecx
add eax, eax
lea eax, [eax + eax*2]
shl ecx, 2
xor ebx, ebx
mov bl, byte [esp + eax + 0xc]
mov edi, ebx
add edi, edi
xor ebx, ebx
mov bl, byte [esp + eax + 0x11]
add edi, ebx
xor ebx, ebx
mov bl, byte [esp + eax + 0xd]
shl ebx, 3
movzx ebp, byte [esp + eax + 0xe]
shl ebp, 2
add ebx, ebp
movzx ebp, byte [esp + eax + 0xf]
add ebp, ebp
add ebx, ebp
movzx eax, byte [esp + eax + 0x10]
add ebx, eax
mov dword [esp + 8], ebx
mov eax, 1
mov ebx, eax
dec ebx
je 0x4a8775
dec ebx
je 0x4a8799
dec ebx
je 0x4a87bd
dec ebx
je 0x4a87e0
jmp 0x4a87f9
mov ebx, edi
add ebx, ebx
lea ebx, [edx + ebx*8]
mov ebp, dword [esp + 8]
mov bl, byte [ebx + ebp - 0x40]
and bl, 8
and ebx, 0xff
shr ebx, 3
lea ebp, [eax + ecx]
mov byte [esp + ebp + 0x3b], bl
jmp 0x4a87f9
mov ebx, edi
add ebx, ebx
lea ebx, [edx + ebx*8]
mov ebp, dword [esp + 8]
mov bl, byte [ebx + ebp - 0x40]
and bl, 4
and ebx, 0xff
shr ebx, 2
lea ebp, [eax + ecx]
mov byte [esp + ebp + 0x3b], bl
jmp 0x4a87f9
mov ebx, edi
add ebx, ebx
lea ebx, [edx + ebx*8]
mov ebp, dword [esp + 8]
mov bl, byte [ebx + ebp - 0x40]
and bl, 2
and ebx, 0xff
shr ebx, 1
lea ebp, [eax + ecx]
mov byte [esp + ebp + 0x3b], bl
jmp 0x4a87f9
mov ebx, edi
add ebx, ebx
lea ebx, [edx + ebx*8]
mov ebp, dword [esp + 8]
mov bl, byte [ebx + ebp - 0x40]
and bl, 1
lea ebp, [eax + ecx]
mov byte [esp + ebp + 0x3b], bl
inc eax
cmp eax, 5
jne 0x4a8762
inc esi
add edx, 0x40
cmp esi, 9
jne 0x4a8717
mov esi, 0x20
mov eax, 0x4e9ae8
mov edx, dword [esp + 4]
xor ecx, ecx
mov cl, byte [eax]
mov cl, byte [esp + ecx + 0x3b]
mov byte [edx], cl
inc edx
inc eax
dec esi
jne 0x4a881e
add esp, 0x5c
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4a8858
Capabilities:
Encrypt data using des

Disassembly:
push ebx
push esi
push edi
push ecx
mov dword [esp], ecx
mov esi, eax
xor eax, eax
mov al, dl
mov bl, byte [eax + 0x4e9b6f]
test bl, bl
jbe 0x4a8889
lea eax, [esi + 0x3e0]
call fcn.004a8838
lea eax, [esi + 0x3fc]
call fcn.004a8838
dec bl
jne 0x4a886f
mov cl, 0x30
mov edi, 0x4e9b40
mov eax, dword [esp]
mov dl, byte [edi]
cmp dl, 0x1c
ja 0x4a88ab
and edx, 0xff
mov dl, byte [esi + edx + 0x3df]
mov byte [eax], dl
jmp 0x4a88ba
and edx, 0xff
mov dl, byte [esi + edx + 0x3df]
mov byte [eax], dl
inc eax
inc edi
dec cl
jne 0x4a8893
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x4a88c8
Capabilities:
Encode data using xor
Encrypt data using des
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbdc
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov edi, eax
mov bl, 1
lea esi, [ebp - 0x421]
mov eax, edi
mov edx, ebx
call fcn.004a8670
mov byte [esi], al
inc ebx
inc esi
cmp bl, 0x41
jne 0x4a88e4
mov bl, 0x1c
mov esi, 0x4e9b08
lea edi, [ebp - 0x41]
mov dl, byte [esi]
mov eax, dword [ebp - 8]
call fcn.004a8670
mov byte [edi], al
mov dl, byte [esi + 0x1c]
mov eax, dword [ebp - 8]
call fcn.004a8670
mov byte [edi + 0x1c], al
inc edi
inc esi
dec bl
jne 0x4a8900
mov bl, 1
lea esi, [ebp - 0x3a1]
mov ecx, esi
lea eax, [ebp - 0x421]
mov edx, ebx
call fcn.004a8858
inc ebx
add esi, 0x30
cmp bl, 0x11
jne 0x4a8928
mov bl, 1
mov eax, 0x4e9a38
lea edx, [ebp - 0xa1]
cmp bl, 0x20
ja 0x4a8961
xor ecx, ecx
mov cl, byte [eax]
mov cl, byte [ebp + ecx - 0x422]
mov byte [edx], cl
jmp 0x4a896e
xor ecx, ecx
mov cl, byte [eax]
mov cl, byte [ebp + ecx - 0x422]
mov byte [edx], cl
inc ebx
inc edx
inc eax
cmp bl, 0x41
jne 0x4a894d
mov byte [ebp - 9], 1
lea esi, [ebp - 0x3a1]
cmp byte [ebp + 8], 0
je 0x4a8998
lea ecx, [ebp - 0x61]
mov edx, esi
lea eax, [ebp - 0x81]
call fcn.004a86dc
jmp 0x4a89c0
xor eax, eax
mov al, byte [ebp - 9]
mov edx, 0x11
sub edx, eax
mov eax, edx
add eax, eax
lea eax, [eax + eax*2]
lea edx, [ebp + eax*8 - 0x3d1]
lea ecx, [ebp - 0x61]
lea eax, [ebp - 0x81]
call fcn.004a86dc
mov bl, 0x20
lea eax, [ebp - 0xa1]
mov dl, byte [eax]
xor byte [eax + 0x40], dl
inc eax
dec bl
jne 0x4a89c8
push esi
lea esi, [ebp - 0x81]
lea edi, [ebp - 0xa1]
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
pop esi
push esi
lea esi, [ebp - 0x61]
lea edi, [ebp - 0x81]
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
pop esi
inc byte [ebp - 9]
add esi, 0x30
cmp byte [ebp - 9], 0x11
jne 0x4a8980
mov bl, 0x40
mov esi, 0x4e9a78
lea eax, [ebp - 0x3e1]
mov dl, byte [esi]
cmp dl, 0x20
ja 0x4a8a2e
and edx, 0xff
mov dl, byte [ebp + edx - 0x82]
mov byte [eax], dl
jmp 0x4a8a3d
and edx, 0xff
mov dl, byte [ebp + edx - 0xc2]
mov byte [eax], dl
inc eax
inc esi
dec bl
jne 0x4a8a16
mov bl, 1
lea esi, [ebp - 0x3e1]
mov cl, byte [esi]
mov eax, dword [ebp - 4]
mov edx, ebx
call fcn.004a8698
inc ebx
inc esi
cmp bl, 0x41
jne 0x4a8a4b
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4ab470
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 4
push 0
push 0
dec ecx
jne 0x4ab479
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov byte [ebp - 5], cl
mov esi, edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp + 8]
xor eax, eax
push ebp
push 0x4ab61d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004ab7b8
xor eax, eax
push ebp
push 0x4ab5fb
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
test byte [eax + 0x1c], 8
je 0x4ab4c8
call fcn.0040420c
jmp 0x4ab602
mov eax, dword [ebp - 4]
test byte [eax + 0x30], 8
je 0x4ab58a
mov eax, dword [ebp - 4]
test byte [eax + 0x30], 1
je 0x4ab518
mov eax, dword [ebp - 4]
cmp word [eax + 0x3a], 0
je 0x4ab518
lea eax, [ebp - 0x10]
call fcn.004ab240
push dword [ebp - 0x10]
push 0x4ab638
push ebx
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404b28
mov eax, dword [ebp - 0xc]
push eax
mov edi, dword [ebp - 4]
mov cl, byte [ebp - 5]
mov edx, esi
mov eax, dword [edi + 0x3c]
call dword [edi + 0x38]
mov eax, dword [ebp - 4]
test byte [eax + 0x30], 4
je 0x4ab54d
lea eax, [ebp - 0x18]
call fcn.004ab240
push dword [ebp - 0x18]
push 0x4ab638
push ebx
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.00404b28
mov eax, dword [ebp - 0x14]
call fcn.00404c68
push eax
call sub.KERNEL32.DLL_OutputDebugStringA
mov eax, dword [ebp - 4]
test byte [eax + 0x30], 2
je 0x4ab5e5
lea eax, [ebp - 0x20]
call fcn.004ab240
push dword [ebp - 0x20]
push 0x4ab638
push ebx
push 0x4ab644
lea eax, [ebp - 0x1c]
mov edx, 4
call fcn.00404b28
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.004ab440
jmp 0x4ab5e5
mov eax, dword [ebp - 4]
test byte [eax + 0x30], 1
je 0x4ab5ac
mov eax, dword [ebp - 4]
cmp word [eax + 0x3a], 0
je 0x4ab5ac
push ebx
mov edi, dword [ebp - 4]
mov cl, byte [ebp - 5]
mov edx, esi
mov eax, dword [edi + 0x3c]
call dword [edi + 0x38]
mov eax, dword [ebp - 4]
test byte [eax + 0x30], 4
je 0x4ab5c2
mov eax, ebx
call fcn.00404c68
push eax
call sub.KERNEL32.DLL_OutputDebugStringA
mov eax, dword [ebp - 4]
test byte [eax + 0x30], 2
je 0x4ab5e5
lea eax, [ebp - 0x24]
mov ecx, 0x4ab644
mov edx, ebx
call fcn.00404ab4
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 4]
call fcn.004ab440
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ab602
mov eax, dword [ebp - 4]
call fcn.004ab7c4
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ab624
lea eax, [ebp - 0x24]
mov edx, 7
call fcn.004047cc
ret
Function at 0x4bdaec
Capabilities:
Hash data with md5

Disassembly:
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
xor edx, edx
mov dword [eax + 0x10], edx
xor edx, edx
mov dword [eax + 0x14], edx
add eax, 0x18
mov edx, 0x40
call fcn.00407868
ret

Function at 0x4bdc14
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404c58
xor eax, eax
push ebp
push 0x4bdd62
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x6c]
call fcn.004bdaec
push 0
push 0x8000080
push 3
push 0
push 3
push 0x80000000
mov eax, dword [ebp - 4]
call fcn.00404c68
push eax
call sub.KERNEL32.DLL_CreateFileA_1
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
je 0x4bdd41
xor eax, eax
push ebp
push 0x4bdd3a
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 0
push 2
push 0
mov eax, dword [ebp - 0xc]
push eax
call sub.KERNEL32.DLL_CreateFileMappingA
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x4bdd23
xor eax, eax
push ebp
push 0x4bdd1c
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 0
push 4
mov eax, dword [ebp - 0x10]
push eax
call sub.KERNEL32.DLL_MapViewOfFile
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4bdd05
xor eax, eax
push ebp
push 0x4bdcfe
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
mov eax, dword [ebp - 0xc]
push eax
call sub.KERNEL32.DLL_GetFileSize_1
mov ecx, eax
lea eax, [ebp - 0x6c]
mov edx, dword [ebp - 0x14]
call fcn.004bdb20
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bdd05
mov eax, dword [ebp - 0x14]
push eax
call sub.KERNEL32.DLL_UnmapViewOfFile
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bdd23
mov eax, dword [ebp - 0x10]
push eax
call sub.KERNEL32.DLL_CloseHandle_1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bdd41
mov eax, dword [ebp - 0xc]
push eax
call sub.KERNEL32.DLL_CloseHandle_1
ret
mov edx, dword [ebp - 8]
lea eax, [ebp - 0x6c]
call fcn.004bdba0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bdd69
lea eax, [ebp - 4]
call fcn.004047a8
ret
Function at 0x4c00fc
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 0x4c026d
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 0x4c0248
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.00404990
lea eax, [ebp - 0x118]
mov edx, 0x4c0284
call fcn.00404a70
mov eax, dword [ebp - 0x118]
call fcn.00404c68
push eax
call sub.KERNEL32.DLL_GetVolumeInformationA
test eax, eax
je 0x4c01ba
lea eax, [ebp - 0x111]
call fcn.00409d70
mov ecx, eax
lea edx, [ebp - 0x111]
mov eax, esi
call fcn.00404898
jmp 0x4c01c1
mov eax, esi
call fcn.004047a8
cmp bl, 0x61
jae 0x4c01e2
lea edx, [ebp - 0x11c]
mov eax, dword [esi]
call fcn.0040e184
mov edx, dword [ebp - 0x11c]
mov eax, esi
call fcn.004047fc
jmp 0x4c01fc
lea edx, [ebp - 0x120]
mov eax, dword [esi]
call fcn.0040e0f8
mov edx, dword [ebp - 0x120]
mov eax, esi
call fcn.004047fc
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, 0x4c0290
call fcn.0040a474
mov edx, dword [ebp - 0x124]
mov eax, esi
call fcn.004047fc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c024f
mov eax, dword [ebp - 4]
push eax
call sub.KERNEL32.DLL_SetErrorMode
ret
Function at 0x4c5660
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.00404c58
xor eax, eax
push ebp
push 0x4c5769
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.004c6ecc
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 0x4c572f
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00409bb8
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.004c5f18
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.00409a9c
mov edx, dword [ebp - 0xc]
mov eax, ebx
call fcn.004c5f8c
jmp 0x4c5741
xor edx, edx
mov eax, ebx
call fcn.004c5f18
xor edx, edx
mov eax, ebx
call fcn.004c5f8c
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 0x4c5770
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004047cc
ret

Function at 0x4c7128
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.00404c58
xor eax, eax
push ebp
push 0x4c7186
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea eax, [ebp - 4]
call fcn.004c7204
push eax
call sub.KERNEL32.DLL_GetDriveTypeA
cmp eax, 2
je 0x4c716e
lea eax, [ebp - 4]
call fcn.004c7204
push eax
call sub.KERNEL32.DLL_GetDriveTypeA
cmp eax, 5
jne 0x4c7170
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c718d
lea eax, [ebp - 4]
call fcn.004047a8
ret

Function at 0x4c7194
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.00404c58
xor eax, eax
push ebp
push 0x4c71f8
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.004c7204
push eax
call sub.KERNEL32.DLL_GetVolumeInformationA
mov edx, ebx
lea eax, [ebp - 0x1a]
call fcn.00409f84
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c71ff
lea eax, [ebp - 4]
call fcn.004047a8
ret
Function at 0x4e2464
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], edx
mov edi, eax
xor eax, eax
push ebp
push 0x4e2506
push dword fs:[eax]
mov dword fs:[eax], esp
xor esi, esi
lea ebx, [esi + 0x41]
lea eax, [ebp - 8]
mov edx, ebx
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 8]
lea eax, [ebp - 0xc]
call fcn.00403164
mov edx, 0x4e2514
lea eax, [ebp - 0xc]
mov cl, 2
call fcn.00403134
lea edx, [ebp - 0xc]
lea eax, [ebp - 4]
call fcn.00404a0c
mov eax, dword [ebp - 4]
call fcn.00404c68
push eax
call sub.KERNEL32.DLL_GetDriveTypeA
cmp ax, 3
jne 0x4e24e2
lea eax, [ebp - 0x10]
mov edx, ebx
call fcn.00404990
mov edx, dword [ebp - 0x10]
mov eax, edi
call fcn.00404a70
inc esi
cmp esi, 0x1a
jne 0x4e2487
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e250d
lea eax, [ebp - 0x10]
call fcn.004047a8
lea eax, [ebp - 4]
call fcn.004047a8
ret
Function at 0x4e4cdc
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe18
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x1e8], ebx
mov dword [ebp - 0x1c4], ebx
mov dword [ebp - 0x1c0], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00404c58
mov eax, dword [ebp - 8]
call fcn.00404c58
mov eax, dword [ebp + 0x14]
call fcn.00404c58
xor eax, eax
push ebp
push 0x4e4f1f
push dword fs:[eax]
mov dword fs:[eax], esp
xor esi, esi
lea eax, [ebp - 0x54]
xor ecx, ecx
mov edx, 0x44
call fcn.00403280
cmp byte [ebx + 0x29], 0
je 0x4e4d9d
lea edx, [ebp - 0x1c0]
mov eax, dword [ebx + 0x10]
call fcn.0048cac0
mov edx, dword [ebp - 0x1c0]
lea eax, [ebp - 0x1bc]
mov ecx, 0xff
call fcn.00404a44
lea edx, [ebp - 0x1bc]
lea eax, [ebp - 0x9d]
mov cl, 0x1e
call fcn.00403170
lea edx, [ebp - 0x1c4]
mov eax, dword [ebx + 0x18]
call fcn.0048cac0
mov eax, dword [ebp - 0x1c4]
xor edx, edx
call fcn.0048d040
mov dword [ebp - 0x7c], eax
jmp 0x4e4dd0
lea eax, [ebp - 0x1bc]
mov edx, dword [ebx + 0x10]
mov ecx, 0xff
call fcn.00404a44
lea edx, [ebp - 0x1bc]
lea eax, [ebp - 0x9d]
mov cl, 0x1e
call fcn.00403170
xor edx, edx
mov eax, dword [ebx + 0x18]
call fcn.0048d040
mov dword [ebp - 0x7c], eax
lea eax, [ebp - 0x1bc]
mov edx, dword [ebx + 0xc]
mov ecx, 0xff
call fcn.00404a44
lea edx, [ebp - 0x1bc]
lea eax, [ebp - 0xbc]
mov cl, 0x1e
call fcn.00403170
mov eax, dword [0x4ee480]
mov al, byte [eax]
mov byte [ebp - 0x78], al
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x70], eax
lea eax, [ebp - 0x54]
push eax
call sub.KERNEL32.DLL_GetStartupInfoA_1
mov word [ebp - 0x24], 5
mov dword [ebp - 0x28], 0x10
mov dword [ebp - 0x2c], 0x18
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x1e4], eax
mov byte [ebp - 0x1e0], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x1dc], eax
mov byte [ebp - 0x1d8], 0xb
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x1d4], eax
mov byte [ebp - 0x1d0], 0xb
lea ecx, [ebp - 0x1e8]
lea eax, [ebp - 0xbc]
mov edx, 0x58
call fcn.0048cc44
mov eax, dword [ebp - 0x1e8]
mov dword [ebp - 0x1cc], eax
mov byte [ebp - 0x1c8], 0xb
lea edx, [ebp - 0x1e4]
mov ecx, 3
mov eax, 0x4e4f38
call fcn.0040a474
call sub.KERNEL32.DLL_GetTickCount
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 4]
call fcn.00404840
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x54]
push eax
mov eax, dword [ebp - 0x10]
call fcn.00404c68
push eax
push 0
push 0
push 0xffffffffffffffff
push 0
push 0
mov eax, dword [ebp - 0xc]
call fcn.00404c68
push eax
push 0
call sub.KERNEL32.DLL_CreateProcessA
test eax, eax
jne 0x4e4ee1
call sub.KERNEL32.DLL_GetLastError_1
mov esi, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e4f26
lea eax, [ebp - 0x1e8]
call fcn.004047a8
lea eax, [ebp - 0x1c4]
mov edx, 2
call fcn.004047cc
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.004047cc
lea eax, [ebp + 0x14]
call fcn.004047a8
ret
Function at 0x4e5110
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
push ebx
xor edx, edx
mov dword [ebp - 0x5c], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404c58
xor eax, eax
push ebp
push 0x4e51b8
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x44
call fcn.0040785c
mov word [ebp - 0x18], 5
mov dword [ebp - 0x1c], 0x10
mov dword [ebp - 0x20], 0x18
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
lea edx, [ebp - 0x5c]
mov eax, dword [ebp - 4]
call fcn.00409a9c
mov eax, dword [ebp - 0x5c]
call fcn.00404c68
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00404c68
push eax
call sub.KERNEL32.DLL_CreateProcessA
test eax, eax
je 0x4e5197
mov ebx, dword [ebp - 0x50]
jmp 0x4e519a
or ebx, 0xffffffff
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e51bf
lea eax, [ebp - 0x5c]
call fcn.004047a8
lea eax, [ebp - 4]
call fcn.004047a8
ret