joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4080a4
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 8], ebx
mov esi, ecx
mov edi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40813c
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [ebx + 0x18], 0
jne 0x4080f1
mov eax, dword [ebx + 0x19]
call fcn.0040367c
push eax
push esi
mov eax, edi
call fcn.0040367c
push eax
mov eax, dword [ebx + 0x1d]
call fcn.0040367c
push eax
call sub.kernel32.dll_GetPrivateProfileIntA
mov dword [ebp - 4], eax
jmp 0x408126
mov dword [ebp - 4], esi
mov eax, dword [ebx + 0x19]
call fcn.0040367c
push eax
lea edx, [ebp - 8]
mov eax, esi
call fcn.004070cc
mov eax, dword [ebp - 8]
call fcn.0040367c
push eax
mov eax, edi
call fcn.0040367c
push eax
mov eax, dword [ebx + 0x1d]
call fcn.0040367c
push eax
call sub.kernel32.dll_WritePrivateProfileStringA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x408143
lea eax, [ebp - 8]
call fcn.00403340
ret

Function at 0x408150
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 8
add esp, 0xfffff004
push eax
dec eax
jne 0x408159
mov eax, dword [ebp - 4]
add esp, 4
push ebx
push esi
push edi
mov esi, ecx
mov edi, edx
mov ebx, eax
cmp byte [ebx + 0x18], 0
jne 0x4081c7
mov byte [ebp - 0x8000], 0
mov eax, dword [ebx + 0x19]
call fcn.0040367c
push eax
push 0x8000
lea eax, [ebp - 0x8000]
push eax
mov eax, esi
call fcn.0040367c
push eax
mov eax, edi
call fcn.0040367c
push eax
mov eax, dword [ebx + 0x1d]
call fcn.0040367c
push eax
call sub.kernel32.dll_GetPrivateProfileStringA
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x8000]
mov ecx, 0x8000
call fcn.004034a0
jmp 0x4081f8
mov eax, dword [ebp + 8]
mov edx, esi
call fcn.004033d8
mov eax, dword [ebx + 0x19]
call fcn.0040367c
push eax
mov eax, esi
call fcn.0040367c
push eax
mov eax, edi
call fcn.0040367c
push eax
mov eax, dword [ebx + 0x1d]
call fcn.0040367c
push eax
call sub.kernel32.dll_WritePrivateProfileStringA
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x409f6c
Capabilities:
Get graphical window text

Disassembly:
xchg edx, eax
movzx ecx, byte [edx + 0x3a]
jecxz 0x409f7b
mov edx, dword [edx + 0x36]
jmp fcn.00403464
mov ecx, dword [edx + 0x18]
jecxz 0x409f73
push ebx
push esi
xchg ebx, eax
mov esi, ecx
push esi
call sub.user32.dll_GetWindowTextLengthA
mov edx, eax
inc eax
push eax
mov eax, ebx
call fcn.004037e8
pop edx
mov ecx, dword [ebx]
jecxz 0x409fa3
push edx
push ecx
push esi
call sub.user32.dll_GetWindowTextA
pop esi
pop ebx
ret

Function at 0x40a014
Capabilities:
Hide graphical window

Disassembly:
and byte [eax + 0x27], 0xef
test dl, dl
je 0x40a020
or byte [eax + 0x27], 0x10
mov byte [eax + 0x4e], dl
mov ecx, dword [eax + 0x18]
jecxz 0x40a03c
push eax
je 0x40a03d
call dword [0x57f144]
pop eax
push 5
push dword [eax + 0x18]
call sub.user32.dll_ShowWindow
ret
mov byte [eax + 0x15a], dl
push 0
push ecx
call sub.user32.dll_ShowWindow
pop eax
call dword [0x57f144]
ret

Function at 0x40cc04
Capabilities:
Capture screenshot

Disassembly:
push ebx
mov ebx, eax
call fcn.0040bfdc
je 0x40cc49
mov eax, ebx
push edx
call fcn.0040cfdc
pop edx
cmp eax, edx
je 0x40cc49
test edx, edx
mov eax, ebx
jne 0x40cc28
pop ebx
inc edx
jmp fcn.0040cfcc
mov byte [ebx + 0x49], dl
cmp dl, 5
jne 0x40cc31
dec edx
push edx
xor edx, edx
call fcn.0040cfcc
mov eax, dword [ebx + 0x3d]
movzx eax, word [eax + 0xe]
call fcn.0040bd14
pop edx
cmp al, dl
xchg ebx, eax
pop ebx
jne fcn.0040cce4
ret
Function at 0x40d098
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov ebx, eax
mov byte [ebp - 1], 0
cmp dword [0x580504], 0
je 0x40d19c
mov eax, dword [0x580504]
call fcn.00408ff4
push eax
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x40d19c
xor eax, eax
push ebp
push 0x40d195
push dword fs:[eax]
mov dword fs:[eax], esp
push 8
call sub.user32.dll_IsClipboardFormatAvailable
test eax, eax
je 0x40d182
push 8
call sub.user32.dll_GetClipboardData
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x40d182
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalSize
mov edi, eax
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x40d17b
push dword fs:[eax]
mov dword fs:[eax], esp
test edi, edi
jle 0x40d164
cmp dword [ebp - 0xc], 0
je 0x40d164
call fcn.00407fb8
mov esi, eax
mov edx, dword [ebp - 0xc]
mov eax, esi
mov ecx, edi
call fcn.00407d64
mov eax, esi
xor edx, edx
call fcn.00407d4c
mov eax, ebx
mov edx, esi
call fcn.0040cbb8
mov eax, esi
call fcn.0040603c
mov eax, ebx
call fcn.0040bfdc
xor al, 1
mov byte [ebp - 1], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d182
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d19c
call sub.user32.dll_CloseClipboard
ret
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x40d8d0
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebx
push esi
push edi
mov ebx, eax
mov eax, ebx
call fcn.00403340
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x40d91f
push 1
call sub.user32.dll_IsClipboardFormatAvailable
test eax, eax
je 0x40d91a
push 1
call sub.user32.dll_GetClipboardData
mov esi, eax
test esi, esi
je 0x40d91a
push esi
call sub.kernel32.dll_GlobalLock
mov edi, eax
test edi, edi
je 0x40d91a
mov eax, ebx
mov edx, edi
call fcn.00403464
push esi
call sub.kernel32.dll_GlobalUnlock
call sub.user32.dll_CloseClipboard
pop edi
pop esi
pop ebx
ret

Function at 0x40db28
Capabilities:
Check os version

Disassembly:
add esp, 0xffffff6c
cmp byte [0x57f3f8], 0xff
je 0x40db3e
mov al, byte [0x57f3f8]
jmp 0x40db9e
mov dword [esp], 0x94
push esp
call sub.kernel32.dll_GetVersionExA
mov eax, dword [esp + 0x10]
cmp eax, 2
jne 0x40db77
mov al, 3
mov edx, dword [esp + 4]
cmp edx, 6
jb 0x40db63
mov al, 6
jmp 0x40db99
cmp edx, 5
jb 0x40db99
cmp dword [esp + 8], 1
jb 0x40db73
mov al, 5
jmp 0x40db99
mov al, 4
jmp 0x40db99
cmp eax, 1
jne 0x40db97
mov al, 1
cmp dword [esp + 4], 4
ja 0x40db93
cmp dword [esp + 4], 4
jne 0x40db99
cmp dword [esp + 8], 0xa
jb 0x40db99
mov al, 2
jmp 0x40db99
xor eax, eax
mov byte [0x57f3f8], al
add esp, 0x94
ret
Function at 0x4131f0
Capabilities:
Read file on windows
Read pipe

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbf4
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x40c], edx
mov esi, eax
xor eax, eax
push ebp
push 0x413364
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov edi, eax
mov byte [ebp - 5], 0
jmp 0x413320
mov bl, 1
push 0
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0
mov eax, dword [esi + 0x10]
push eax
call sub.kernel32.dll_PeekNamedPipe
test eax, eax
jne 0x41324b
mov byte [ebp - 5], 1
cmp dword [ebp - 4], 0
jbe 0x4132a1
xor ebx, ebx
push 0
lea eax, [ebp - 4]
push eax
push 0x400
lea eax, [ebp - 0x406]
push eax
mov eax, dword [esi + 0x10]
push eax
call sub.kernel32.dll_ReadFile_1
test eax, eax
je 0x4132a1
mov eax, dword [ebp - 4]
mov byte [ebp + eax - 0x406], 0
lea eax, [ebp - 0x40c]
lea edx, [ebp - 0x406]
mov ecx, 0x401
call fcn.004034a0
mov edx, dword [ebp - 0x40c]
lea eax, [esi + 0x70]
call fcn.0040ede8
push 0
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0
mov eax, dword [esi + 0xc]
push eax
call sub.kernel32.dll_PeekNamedPipe
test eax, eax
jne 0x4132be
mov byte [ebp - 5], 1
cmp dword [ebp - 4], 0
jbe 0x413314
xor ebx, ebx
push 0
lea eax, [ebp - 4]
push eax
push 0x400
lea eax, [ebp - 0x406]
push eax
mov eax, dword [esi + 0xc]
push eax
call sub.kernel32.dll_ReadFile_1
test eax, eax
je 0x413314
mov eax, dword [ebp - 4]
mov byte [ebp + eax - 0x406], 0
lea eax, [ebp - 0x40c]
lea edx, [ebp - 0x406]
mov ecx, 0x401
call fcn.004034a0
mov edx, dword [ebp - 0x40c]
lea eax, [esi + 0x64]
call fcn.0040ede8
test bl, bl
je 0x413320
push 1
push edi
call sub.kernel32.dll_WaitForSingleObject
cmp byte [esi + 0x28], 0
je 0x413330
cmp byte [ebp - 5], 0
je 0x41322c
push edi
call sub.kernel32.dll_CloseHandle_1
cmp byte [ebp - 5], 0
je 0x41334b
mov eax, esi
call fcn.00413374
lea eax, [esi + 0x7c]
call fcn.0040ef20
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41336b
lea eax, [ebp - 0x40c]
call fcn.00403340
ret

Function at 0x413374
Capabilities:
Terminate process

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 4], 0
je 0x4133d9
mov byte [ebx + 0x28], 0
push 0
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_TerminateProcess
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [ebx + 0x14]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [ebx + 0x18]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [ebx + 0x1c]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [ebx + 8]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [ebx + 0xc]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [ebx + 0x10]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [ebx + 0x24]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
mov dword [ebx + 4], eax
pop ebx
ret
Function at 0x482798
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 0x108], ecx
mov edi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x48297a
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebx + 0x10]
push eax
lea eax, [ebp - 4]
mov ecx, 0x482990
mov edx, edi
call fcn.00403504
mov eax, dword [ebp - 4]
call fcn.0040367c
push eax
call sub.kernel32.dll_FindFirstFileA
mov esi, eax
cmp esi, 0xffffffff
je 0x482959
lea eax, [ebp - 0x104]
lea edx, [ebx + 0x3c]
call fcn.004027a8
lea eax, [ebp - 0x104]
mov edx, 0x482994
xor ecx, ecx
mov cl, byte [eax]
inc ecx
call fcn.00402718
je 0x48293b
lea eax, [ebp - 4]
lea edx, [ebx + 0x3c]
call fcn.00403464
mov eax, dword [ebp - 4]
mov edx, 0x4829a0
call fcn.004035c8
je 0x48293b
test byte [ebx + 0x10], 0x10
je 0x4828a7
cmp byte [ebx + 0x15a], 0
jbe 0x48285f
lea eax, [ebp - 4]
lea edx, [ebx + 0x3c]
mov ecx, 0x104
call fcn.004034a0
mov ecx, dword [ebp - 4]
mov edx, edi
mov eax, ebx
call fcn.0048262c
cmp byte [ebx + 0x158], 0
jne 0x48293b
push edi
lea eax, [ebp - 0x108]
lea edx, [ebx + 0x3c]
mov ecx, 0x104
call fcn.004034a0
push dword [ebp - 0x108]
push 0x4829ac
lea eax, [ebp - 4]
mov edx, 3
call fcn.00403578
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.00482798
jmp 0x48293b
lea eax, [ebp - 0x108]
lea edx, [ebx + 0x3c]
mov ecx, 0x104
call fcn.004034a0
mov eax, dword [ebp - 0x108]
lea edx, [ebp - 4]
call fcn.004071f0
mov eax, dword [ebp - 4]
mov edx, dword [ebx + 0xc]
call fcn.00417e70
test al, al
je 0x482901
inc dword [ebx + 4]
cmp byte [ebx + 0x15a], 1
je 0x48293b
lea eax, [ebp - 4]
lea edx, [ebx + 0x3c]
mov ecx, 0x104
call fcn.004034a0
mov ecx, dword [ebp - 4]
mov edx, edi
mov eax, ebx
call fcn.0048262c
jmp 0x48293b
push edi
push 0x4829ac
lea eax, [ebp - 0x108]
lea edx, [ebx + 0x3c]
mov ecx, 0x104
call fcn.004034a0
push dword [ebp - 0x108]
lea eax, [ebp - 4]
mov edx, 3
call fcn.00403578
mov edx, dword [ebp - 4]
lea eax, [ebx + 0x194]
call fcn.0040ede8
cmp byte [ebx + 8], 0
jne 0x482953
lea eax, [ebx + 0x10]
push eax
push esi
call sub.kernel32.dll_FindNextFileA
test eax, eax
jne 0x4827ed
push esi
call sub.kernel32.dll_FindClose
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x482981
lea eax, [ebp - 0x108]
call fcn.00403340
lea eax, [ebp - 4]
call fcn.00403340
ret
Function at 0x4b17b8
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 5
push 0
push 0
dec ecx
jne 0x4b17c1
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
test dl, dl
je 0x4b17da
add esp, 0xfffffff0
call fcn.00402a90
mov edi, ecx
mov byte [ebp - 1], dl
mov ebx, eax
mov esi, dword [ebp + 8]
xor eax, eax
push ebp
push 0x4b1957
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 0xc]
push eax
push esi
mov ecx, edi
xor edx, edx
mov eax, ebx
call fcn.00415db0
mov dword [ebx + 0x18], esi
mov dl, 1
mov eax, dword [0x40f76c]
call fcn.00402978
mov esi, eax
mov dword [ebx + 0xc], esi
push 1
lea eax, [esi + 0xc]
mov ecx, 1
mov edx, dword [0x40f744]
call fcn.00404644
add esp, 4
push 0
lea eax, [esi + 0x10]
mov ecx, 1
mov edx, dword [0x40f758]
call fcn.00404644
add esp, 4
mov dl, 1
mov eax, dword [0x41684c]
call fcn.00402978
mov esi, eax
mov dword [ebx + 0x10], esi
mov byte [esi + 4], 0
lea edx, [ebp - 0x20]
mov eax, 0xa5
call fcn.0040ef80
lea edx, [ebp - 0x20]
lea eax, [esi + 0x24]
mov ecx, dword [0x40e37c]
call fcn.00403c78
mov dl, 1
mov eax, dword [0x413614]
call fcn.00402978
mov dword [ebx + 0x14], eax
mov eax, dword [ebx + 0xc]
mov dword [ebx + 8], eax
mov eax, dword [ebx + 0xc]
mov dword [eax + 8], ebx
mov dword [eax + 4], edi
mov eax, dword [ebx + 0x10]
push eax
push 0x4168c0
lea edx, [ebp - 0x2c]
xor eax, eax
call fcn.0040e564
mov eax, dword [ebx + 0xc]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 0x2c]
mov dword [eax], edx
mov edx, dword [ebp - 0x28]
mov dword [eax + 4], edx
mov edx, dword [ebp - 0x24]
mov dword [eax + 8], edx
mov eax, dword [ebx + 0x14]
push eax
push 0x41367c
lea edx, [ebp - 0x2c]
xor eax, eax
call fcn.0040e564
mov eax, dword [ebx + 0x10]
mov edx, dword [ebp - 0x2c]
mov dword [eax + 0x5c], edx
mov edx, dword [ebp - 0x28]
mov dword [eax + 0x60], edx
mov edx, dword [ebp - 0x24]
mov dword [eax + 0x64], edx
mov eax, dword [ebx + 0xc]
push eax
push 0x40f7e0
lea edx, [ebp - 0x2c]
mov ax, 1
call fcn.0040e564
mov eax, dword [ebx + 0x10]
mov edx, dword [ebp - 0x2c]
mov dword [eax + 0x68], edx
mov edx, dword [ebp - 0x28]
mov dword [eax + 0x6c], edx
mov edx, dword [ebp - 0x24]
mov dword [eax + 0x70], edx
mov eax, dword [ebx + 0xc]
push eax
push 0x40f7e0
lea edx, [ebp - 0x2c]
xor eax, eax
call fcn.0040e564
mov eax, dword [ebx + 0x14]
mov edx, dword [ebp - 0x2c]
mov dword [eax + 0x2c], edx
mov edx, dword [ebp - 0x28]
mov dword [eax + 0x30], edx
mov edx, dword [ebp - 0x24]
mov dword [eax + 0x34], edx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b195e
lea eax, [ebp - 0x20]
mov edx, dword [0x40e37c]
call fcn.00403a68
ret
Function at 0x4c8328
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 7
push 0
push 0
dec ecx
jne 0x4c8331
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
test dl, dl
je 0x4c834b
add esp, 0xfffffff0
call fcn.00402a90
mov edi, ecx
mov byte [ebp - 1], dl
mov ebx, eax
mov esi, dword [ebp + 0xc]
xor eax, eax
push ebp
push 0x4c8c47
push dword fs:[eax]
mov dword fs:[eax], esp
push esi
mov eax, dword [ebp + 8]
push eax
mov ecx, edi
xor edx, edx
mov eax, ebx
call fcn.00415db0
mov eax, dword [ebp + 8]
mov dword [ebx + 0x34], eax
mov ecx, esi
mov dl, 1
mov eax, dword [0x482078]
call fcn.00482110
mov dword [ebx + 0x10], eax
mov esi, dword [ebx + 0x10]
xor eax, eax
mov dword [esi + 0x78], eax
mov dword [esi + 0x84], 5
mov dword [esi + 0x88], 0xa
mov dword [esi + 0x8c], 0x186
mov dword [esi + 0x90], 0x50
mov byte [esi + 0x94], 0
mov dword [esi + 0x9c], 0xff00000f
push 0
push 1
lea eax, [ebp - 0x14]
push eax
xor ecx, ecx
mov dl, 8
mov eax, 0x4c8c78
call fcn.0040f3ec
lea edx, [ebp - 0x14]
lea eax, [esi + 0xa8]
mov ecx, dword [0x40e398]
call fcn.00403c78
mov byte [esi + 0xb8], 0
mov byte [esi + 0xba], 1
mov byte [esi + 0xbb], 1
xor eax, eax
mov dword [esi + 0xbc], eax
xor eax, eax
mov dword [esi + 0x98], eax
mov byte [esi + 0xa0], 1
mov byte [esi + 0xd8], 0
lea eax, [esi + 0x80]
xor edx, edx
call fcn.00403464
lea eax, [esi + 0xa4]
xor edx, edx
call fcn.00403464
xor eax, eax
mov dword [esi + 0xdc], eax
xor eax, eax
mov dword [esi + 0xe0], eax
mov eax, dword [0x57f790]
mov eax, dword [eax]
mov dword [esi + 0xc4], eax
mov dword [esi + 0xc8], 4
mov dword [esi + 0xcc], 0xff00000f
xor eax, eax
mov dword [esi + 0xd0], eax
xor eax, eax
mov dword [esi + 0xd4], eax
lea eax, [ebp - 0x18]
mov edx, 0x4c8c88
call fcn.00403464
mov edx, dword [ebp - 0x18]
mov eax, esi
call fcn.00482198
mov byte [esi + 0xc1], 0
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x38]
mov dl, 1
mov eax, dword [0x40f76c]
call fcn.00402978
mov esi, eax
mov dword [ebx + 0xc], esi
push 4
lea eax, [esi + 0xc]
mov ecx, 1
mov edx, dword [0x40f744]
call fcn.00404644
add esp, 4
push 1
lea eax, [esi + 0x10]
mov ecx, 1
add byte [eax], al
Function at 0x4cb8a8
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4cba5c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00403340
test ebx, ebx
je 0x4cba41
mov eax, ebx
call fcn.004034b8
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov ecx, 3
xor edx, edx
div ecx
mov ecx, edx
cmp ecx, 1
jne 0x4cb906
lea eax, [ebp - 0xc]
mov ecx, 0x4cba74
mov edx, ebx
call fcn.00403504
jmp 0x4cb926
cmp ecx, 2
jne 0x4cb91c
lea eax, [ebp - 0xc]
mov ecx, 0x4cba80
mov edx, ebx
call fcn.00403504
jmp 0x4cb926
lea eax, [ebp - 0xc]
mov edx, ebx
call fcn.004033d8
mov eax, dword [ebp - 0xc]
call fcn.004034b8
mov dword [ebp - 8], eax
mov edi, 1
jmp 0x4cb9f2
push dword [esi]
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 0xc]
mov bl, byte [edx + edi - 1]
xor edx, edx
mov dl, bl
shr edx, 2
mov ecx, dword [0x57f66c]
mov dl, byte [ecx + edx]
call fcn.00403454
push dword [ebp - 0x10]
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 0xc]
and bl, 3
xor edx, edx
mov dl, bl
shl edx, 4
mov ecx, dword [ebp - 0xc]
movzx ecx, byte [ecx + edi]
shr ecx, 4
add edx, ecx
mov ecx, dword [0x57f66c]
mov dl, byte [ecx + edx]
call fcn.00403454
push dword [ebp - 0x14]
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 0xc]
mov dl, byte [edx + edi]
and dl, 0xf
and edx, 0xff
shl edx, 2
mov ecx, dword [ebp - 0xc]
movzx ecx, byte [ecx + edi + 1]
shr ecx, 6
add edx, ecx
mov ecx, dword [0x57f66c]
mov dl, byte [ecx + edx]
call fcn.00403454
push dword [ebp - 0x18]
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 0xc]
mov dl, byte [edx + edi + 1]
and dl, 0x3f
and edx, 0xff
mov ecx, dword [0x57f66c]
mov dl, byte [ecx + edx]
call fcn.00403454
push dword [ebp - 0x1c]
mov eax, esi
mov edx, 5
call fcn.00403578
add edi, 3
mov eax, dword [ebp - 8]
sub eax, 2
cmp edi, eax
jbe 0x4cb93b
mov eax, dword [ebp - 4]
mov ecx, 3
xor edx, edx
div ecx
mov ebx, edx
cmp ebx, 1
jne 0x4cba28
mov eax, dword [esi]
call fcn.004034b8
mov edi, eax
mov eax, esi
call fcn.00403688
mov byte [eax + edi - 2], 0x3d
test ebx, ebx
jbe 0x4cba41
mov eax, dword [esi]
call fcn.004034b8
mov ebx, eax
mov eax, esi
call fcn.00403688
mov byte [eax + ebx - 1], 0x3d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4cba63
lea eax, [ebp - 0x1c]
mov edx, 5
call fcn.00403364
ret
Function at 0x4dbed8
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 5
push 0
push 0
dec ecx
jne 0x4dbee1
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
test dl, dl
je 0x4dbefa
add esp, 0xfffffff0
call fcn.00402a90
mov edi, ecx
mov byte [ebp - 1], dl
mov ebx, eax
mov esi, dword [ebp + 8]
xor eax, eax
push ebp
push 0x4dc077
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 0xc]
push eax
push esi
mov ecx, edi
xor edx, edx
mov eax, ebx
call fcn.00415db0
mov dword [ebx + 0x18], esi
mov dl, 1
mov eax, dword [0x40f76c]
call fcn.00402978
mov esi, eax
mov dword [ebx + 0xc], esi
push 1
lea eax, [esi + 0xc]
mov ecx, 1
mov edx, dword [0x40f744]
call fcn.00404644
add esp, 4
push 0
lea eax, [esi + 0x10]
mov ecx, 1
mov edx, dword [0x40f758]
call fcn.00404644
add esp, 4
mov dl, 1
mov eax, dword [0x41684c]
call fcn.00402978
mov esi, eax
mov dword [ebx + 0x10], esi
mov byte [esi + 4], 0
lea edx, [ebp - 0x20]
mov eax, 0xa5
call fcn.0040ef80
lea edx, [ebp - 0x20]
lea eax, [esi + 0x24]
mov ecx, dword [0x40e37c]
call fcn.00403c78
mov dl, 1
mov eax, dword [0x413614]
call fcn.00402978
mov dword [ebx + 0x14], eax
mov eax, dword [ebx + 0xc]
mov dword [ebx + 8], eax
mov eax, dword [ebx + 0xc]
mov dword [eax + 8], ebx
mov dword [eax + 4], edi
mov eax, dword [ebx + 0x10]
push eax
push 0x4168c0
lea edx, [ebp - 0x2c]
xor eax, eax
call fcn.0040e564
mov eax, dword [ebx + 0xc]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 0x2c]
mov dword [eax], edx
mov edx, dword [ebp - 0x28]
mov dword [eax + 4], edx
mov edx, dword [ebp - 0x24]
mov dword [eax + 8], edx
mov eax, dword [ebx + 0x14]
push eax
push 0x41367c
lea edx, [ebp - 0x2c]
xor eax, eax
call fcn.0040e564
mov eax, dword [ebx + 0x10]
mov edx, dword [ebp - 0x2c]
mov dword [eax + 0x5c], edx
mov edx, dword [ebp - 0x28]
mov dword [eax + 0x60], edx
mov edx, dword [ebp - 0x24]
mov dword [eax + 0x64], edx
mov eax, dword [ebx + 0xc]
push eax
push 0x40f7e0
lea edx, [ebp - 0x2c]
mov ax, 1
call fcn.0040e564
mov eax, dword [ebx + 0x10]
mov edx, dword [ebp - 0x2c]
mov dword [eax + 0x68], edx
mov edx, dword [ebp - 0x28]
mov dword [eax + 0x6c], edx
mov edx, dword [ebp - 0x24]
mov dword [eax + 0x70], edx
mov eax, dword [ebx + 0xc]
push eax
push 0x40f7e0
lea edx, [ebp - 0x2c]
xor eax, eax
call fcn.0040e564
mov eax, dword [ebx + 0x14]
mov edx, dword [ebp - 0x2c]
mov dword [eax + 0x2c], edx
mov edx, dword [ebp - 0x28]
mov dword [eax + 0x30], edx
mov edx, dword [ebp - 0x24]
mov dword [eax + 0x34], edx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4dc07e
lea eax, [ebp - 0x20]
mov edx, dword [0x40e37c]
call fcn.00403a68
ret
Function at 0x4e33a8
Capabilities:
Hash data with md5

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
xor ecx, ecx
mov edx, 0x58
call fcn.00402788
mov dword [ebx], 0x67452301
mov dword [ebx + 4], 0xefcdab89
mov dword [ebx + 8], 0x98badcfe
mov dword [ebx + 0xc], 0x10325476
pop ebx
ret
Function at 0x4e5724
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 5
push 0
push 0
dec ecx
jne 0x4e572d
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
test dl, dl
je 0x4e5746
add esp, 0xfffffff0
call fcn.00402a90
mov edi, ecx
mov byte [ebp - 1], dl
mov ebx, eax
mov esi, dword [ebp + 8]
xor eax, eax
push ebp
push 0x4e5c39
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 0xc]
push eax
push esi
mov ecx, edi
xor edx, edx
mov eax, ebx
call fcn.00415db0
mov dword [ebx + 0x38], esi
mov dl, 1
mov eax, dword [0x40f76c]
call fcn.00402978
mov esi, eax
mov dword [ebx + 0xc], esi
push 1
lea eax, [esi + 0xc]
mov ecx, 1
mov edx, dword [0x40f744]
call fcn.00404644
add esp, 4
push 0
lea eax, [esi + 0x10]
mov ecx, 1
mov edx, dword [0x40f758]
call fcn.00404644
add esp, 4
mov dl, 1
mov eax, dword [0x414ea4]
call fcn.00402978
mov esi, eax
mov dword [ebx + 0x10], esi
mov eax, esi
mov edx, 2
call fcn.00414f1c
mov dl, 1
mov eax, dword [0x414ea4]
call fcn.00402978
mov esi, eax
mov dword [ebx + 0x14], esi
mov eax, esi
mov edx, 2
call fcn.00414f1c
mov dl, 1
mov eax, dword [0x414ea4]
call fcn.00402978
mov esi, eax
mov dword [ebx + 0x18], esi
mov eax, esi
mov edx, 2
call fcn.00414f1c
mov dl, 1
mov eax, dword [0x414ea4]
call fcn.00402978
mov esi, eax
mov dword [ebx + 0x1c], esi
mov eax, esi
mov edx, 2
call fcn.00414f1c
mov dl, 1
mov eax, dword [0x414ea4]
call fcn.00402978
mov esi, eax
mov dword [ebx + 0x20], esi
mov eax, esi
mov edx, 2
call fcn.00414f1c
mov dl, 1
mov eax, dword [0x414ea4]
call fcn.00402978
mov esi, eax
mov dword [ebx + 0x24], esi