joyce8/EMBER2024-capa huggingface dataset:
Function at 0x488318
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
test dl, dl
je 0x48832f
add esp, 0xfffffff0
call fcn.0040423c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0042fd08
mov eax, dword [0x50a3ec]
cmp byte [eax], 0
jne 0x48835c
push 0
call sub.ole32.dll_OleInitialize
test eax, 0x80000000
sete al
mov byte [ebx + 0x17c], al
mov eax, dword [0x50a794]
cmp word [eax + 2], 0
jne 0x488376
mov eax, dword [0x50a794]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00489fd8
mov eax, dword [0x50a8e4]
cmp word [eax + 2], 0
jne 0x488390
mov eax, dword [0x50a8e4]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0048a1e8
mov byte [ebx + 0x31], 0
mov dl, 1
mov eax, dword [0x4341cc]
call fcn.00435fcc
mov esi, eax
mov dword [ebx + 0x38], esi
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0x48a66c
mov dl, 1
mov eax, dword [0x421b34]
call fcn.00403d28
mov dword [ebx + 0x8c], eax
mov dl, 1
mov eax, dword [0x421b34]
call fcn.00403d28
mov dword [ebx + 0xac], eax
xor eax, eax
mov dword [ebx + 0x5c], eax
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x58], 0xff000018
mov dword [ebx + 0x74], 0x1f4
mov byte [ebx + 0x78], 1
xor eax, eax
mov dword [ebx + 0x7c], eax
mov dword [ebx + 0x70], 0x9c4
mov byte [ebx + 0x84], 0
mov byte [ebx + 0xa1], 1
mov byte [ebx + 0xb8], 1
mov dl, 1
mov eax, dword [0x434d80]
call fcn.0043d89c
mov esi, eax
mov dword [ebx + 0x9c], esi
push 0x48856c
mov eax, dword [0x50a5ec]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconW
mov edx, eax
mov eax, esi
call fcn.0043dca0
mov eax, dword [ebx + 0x9c]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x48a91c
mov dl, 1
mov eax, dword [0x421b34]
call fcn.00403d28
mov dword [ebx + 0x94], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x202]
push eax
mov eax, dword [0x50a5ec]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameW_1
lea eax, [ebp - 0x202]
mov dx, 0x5c
call fcn.0040dee4
test eax, eax
je 0x48849e
lea edx, [eax + 2]
lea eax, [ebp - 0x202]
call fcn.0040dce4
lea eax, [ebp - 0x202]
mov dx, 0x2e
call fcn.0040decc
test eax, eax
je 0x4884b6
mov word [eax], 0
lea eax, [ebp - 0x202]
push eax
call sub.user32.dll_CharNextW_1
push eax
call sub.user32.dll_CharLowerW
lea eax, [ebx + 0x88]
lea edx, [ebp - 0x202]
mov ecx, pe_nt_image_headers32
call fcn.00405ff4
push ebx
push 0x489c48
call fcn.0047e9e4
mov dword [ebx + 0x178], eax
mov byte [ebx + 0xcc], 0
mov eax, dword [0x50a3ec]
cmp byte [eax], 0
jne 0x488507
mov eax, ebx
call fcn.004886e0
mov byte [ebx + 0x55], 1
mov byte [ebx + 0x56], 1
mov byte [ebx + 0x57], 1
mov byte [ebx + 0xa2], 1
mov byte [ebx + 0xcd], 0
mov byte [ebx + 0xd8], 0
xor eax, eax
mov dword [ebx + 0xd0], eax
mov byte [ebx + 0xcf], 0
xor eax, eax
mov dword [ebx + 0xa4], eax
mov eax, ebx
call fcn.0048ab44
mov eax, ebx
call fcn.0048b708
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x488564
call fcn.00404294
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4889b4
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x170]
test eax, eax
je 0x488a56
cmp dword [ebx + 0x90], 0
jne 0x488a50
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x488900
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x8c]
cmp dword [eax + 8], 0
je 0x488a50
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongW
test al, 8
je 0x488a16
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x8c]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x488a50
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x8c]
call fcn.00424898
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x488a25
inc dword [ebx + 0x90]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x488c74
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x5103b4]
cmp dword [eax + 0x170], 0
je 0x488dd9
test bl, bl
jne 0x488d27
cmp dword [esi + 0x98], 0
jne 0x488d1c
mov eax, esi
call fcn.0048b558
push eax
push 0x488b80
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x40], 0
je 0x488ced
mov eax, dword [0x5103b4]
cmp byte [eax + 0xcf], 0
je 0x488ced
mov eax, dword [esi + 0xd4]
call fcn.0040764c
mov edi, eax
cmp edi, 0
jl 0x488ced
push 0
mov eax, dword [esi + 0xd4]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x488cd6
mov eax, dword [esi + 0x94]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x488d1c
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x94]
call fcn.00424898
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x488cfc
inc dword [esi + 0x98]
jmp 0x488dd9
cmp dword [esi + 0x98], 0
jle 0x488dd9
dec dword [esi + 0x98]
cmp dword [esi + 0x98], 0
jne 0x488dd9
cmp dword [esi + 0x40], 0
je 0x488d84
mov eax, dword [0x5103b4]
cmp byte [eax + 0xcf], 0
je 0x488d84
mov eax, dword [esi + 0xd4]
call fcn.0040764c
mov edi, eax
cmp edi, 0
jl 0x488d84
push 5
mov eax, dword [esi + 0xd4]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x488d6d
mov eax, dword [esi + 0x94]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x488db3
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x94]
call fcn.00424898
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x488d93
mov eax, dword [esi + 0x94]
mov edx, dword [eax]
call dword [edx + 8]
push 0
lea eax, [esi + 0xd4]
mov ecx, 1
mov edx, dword [0x47e3ec]
call fcn.0040780c
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x489994
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffdfc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa8], 0
je 0x4899ff
cmp byte [ebx + 0xcf], 0
jne 0x4899ff
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x170]
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00405f30
mov eax, dword [esi]
mov dword [esp + 0x200], eax
mov eax, dword [esp + 0x200]
test eax, eax
je 0x4899ec
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x489a0c
mov eax, esi
mov edx, dword [ebx + 0x88]
call fcn.00405df4
jmp 0x489a0c
mov eax, esi
mov edx, dword [ebx + 0x88]
call fcn.00405df4
add esp, 0x204
pop esi
pop ebx
ret

Function at 0x48ad18
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x80]
test esi, esi
je 0x48ad86
mov eax, esi
call fcn.00471974
test al, al
je 0x48ad86
mov eax, dword [ebx + 0x80]
call fcn.004715c8
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x48ad86
mov eax, dword [ebx + 0x80]
mov edx, dword [eax]
call dword [edx + 0xec]
test al, al
je 0x48ad7a
push 0
mov eax, dword [ebx + 0x80]
call fcn.004715c8
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x80]
call fcn.00468b14
jmp 0x48ad86
mov cl, 1
mov edx, dword [ebx + 0x70]
mov eax, ebx
call fcn.0048ab64
pop esi
pop ebx
ret

Function at 0x493720
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
mov dword [ebp - 4], edx
mov esi, eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 4]
dec ecx
test ecx, ecx
jl 0x49378f
inc ecx
xor ebx, ebx
mov eax, dword [ebp - 0x10]
and eax, 0xff
movzx edx, byte [esi + ebx]
xor eax, edx
mov edx, dword [eax*8 + 0x504a7c]
mov eax, dword [eax*8 + 0x504a78]
push edx
push eax
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
shrd eax, edx, 8
shr edx, 8
xor eax, dword [esp]
xor edx, dword [esp + 4]
add esp, 8
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0xc], eax
inc ebx
dec ecx
jne 0x493744
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x4937a0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebx
push esi
dec ecx
test ecx, ecx
jl 0x4937c8
inc ecx
xor ebx, ebx
movzx esi, byte [edx + ebx]
xor esi, eax
and esi, 0xff
mov esi, dword [esi*4 + 0x504678]
shr eax, 8
xor esi, eax
mov eax, esi
inc ebx
dec ecx
jne 0x4937aa
pop esi
pop ebx
ret
Function at 0x497d0c
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov ebx, eax
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax]
dec al
je 0x497d3d
dec al
je 0x497d78
dec al
je 0x497dbd
dec al
je 0x497e26
jmp 0x497eb0
mov esi, dword [ebx + 0x24]
inc esi
mov edi, dword [ebx + 0x20]
sub edi, esi
jb 0x497eb0
inc edi
mov edx, esi
sub edx, dword [ebx + 0x24]
movzx ecx, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx edx, byte [ecx + edx]
movzx eax, 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 0x497d4d
jmp 0x497eb0
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x497eb0
mov esi, 1
movzx eax, byte [ebx + 0x48]
mov edx, eax
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x497d88
jmp 0x497eb0
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x497eb0
mov esi, 1
movzx eax, 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 0x497dec
xor ebp, ebp
jmp 0x497dfc
mov ecx, esi
sub ecx, edx
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx ebp, byte [edx + ecx]
add eax, ebp
sar eax, 1
jns 0x497e05
adc eax, 0
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
add al, byte [edx + esi]
and al, 0xff
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x497dcd
jmp 0x497eb0
xor ebp, ebp
xor eax, eax
mov dword [esp + 4], eax
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x497eb0
mov esi, 1
movzx eax, 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 0x497e7f
mov edx, esi
sub edx, dword [ebx + 0x24]
movzx ecx, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx ebp, byte [ecx + edx]
movzx edx, 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
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
mov dword [esp], edx
movzx ecx, byte [esp + 4]
push eax
mov eax, ebp
pop edx
call fcn.004937cc
add al, byte [esp]
and al, 0xff
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x497e3a
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4a4918
Capabilities:
Allocate or change rwx memory
Print debug messages

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffcc
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], ebx
mov esi, ecx
mov edi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4a4aba
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [esi + 5], eax
mov byte [esi], 0
xor ecx, ecx
mov edx, 6
mov eax, ebx
call fcn.004a4840
test al, al
je 0x4a4984
mov eax, dword [0x50a788]
cmp byte [eax], 0
je 0x4a4975
mov ecx, 0x40a3
mov edx, 0x4a4ad4
mov eax, 0x4a4b50
call fcn.004053c4
push 0x4a4b94
call sub.kernel32.dll_OutputDebugStringW
jmp 0x4a4a9f
mov eax, ebx
call fcn.004a44b8
mov ebx, eax
lea eax, [ebp - 4]
push eax
push 5
push esi
push ebx
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.kernel32.dll_ReadProcessMemory
test eax, eax
je 0x4a4a9f
mov byte [ebp - 0xd], 0xe9
sub edi, ebx
sub edi, 5
mov dword [ebp - 0xc], edi
movzx eax, byte [esi]
cmp al, byte [ebp - 0xd]
jne 0x4a4a54
push 0x4a4bbc
call sub.kernel32.dll_OutputDebugStringW
movzx eax, byte [esi]
mov byte [ebp - 0xd], al
mov byte [esi], 0
xor edi, edi
xor eax, eax
mov dword [ebp - 0x14], eax
cmp byte [ebp - 0xd], 0xe9
jne 0x4a49fe
mov edi, ebx
add edi, 5
add edi, dword [esi + 1]
lea eax, [ebp - 4]
push eax
push 4
lea eax, [ebp - 0x14]
push eax
push edi
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.kernel32.dll_ReadProcessMemory
lea eax, [ebp - 0x1c]
push eax
movzx eax, byte [ebp - 0xd]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0
mov dword [ebp - 0x2c], edi
mov byte [ebp - 0x28], 0
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0
lea edx, [ebp - 0x34]
mov ecx, 2
mov eax, 0x4a4bf8
call fcn.0040e1a4
mov ecx, dword [ebp - 0x1c]
lea eax, [ebp - 0x18]
mov edx, 0x4a4c30
call fcn.004062c8
mov eax, dword [ebp - 0x18]
mov ecx, 0x40ca
mov edx, 0x4a4ad4
call fcn.004053c4
jmp 0x4a4a9f
mov dword [esi + 5], ebx
lea eax, [ebp - 0x14]
push eax
push 0x40
push 5
push ebx
call sub.kernel32.dll_VirtualProtect
lea eax, [ebp - 4]
push eax
push 5
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.kernel32.dll_WriteProcessMemory
mov esi, eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x14]
push eax
push 5
push ebx
call sub.kernel32.dll_VirtualProtect
test esi, esi
je 0x4a4a9f
push 5
push ebx
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.kernel32.dll_FlushInstructionCache
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a4ac1
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00405dec
ret
Function at 0x4a4c6c
Capabilities:
Allocate or change rwx memory
Print debug messages

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff8
mov esi, edx
mov ebx, eax
cmp byte [esi], 0
je 0x4a4d18
test ebx, ebx
je 0x4a4d18
xor ecx, ecx
mov edx, 6
mov eax, ebx
call fcn.004a4840
test al, al
je 0x4a4cc3
mov eax, dword [0x50a788]
cmp byte [eax], 0
je 0x4a4cb7
mov ecx, 0x40e9
mov edx, 0x4a4d2c
mov eax, 0x4a4da8
call fcn.004053c4
push 0x4a4dec
call sub.kernel32.dll_OutputDebugStringW
jmp 0x4a4d18
mov eax, ebx
call fcn.004a44b8
mov ebx, eax
test ebx, ebx
je 0x4a4d18
lea eax, [esp + 4]
push eax
push 0x40
push 5
push ebx
call sub.kernel32.dll_VirtualProtect
push esp
push 5
push esi
push ebx
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.kernel32.dll_WriteProcessMemory
mov edi, eax
lea eax, [esp + 4]
push eax
mov eax, dword [esp + 8]
push eax
push 5
push ebx
call sub.kernel32.dll_VirtualProtect
test edi, edi
je 0x4a4d15
push 5
push ebx
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.kernel32.dll_FlushInstructionCache
mov byte [esi], 0
pop ecx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x4aa6ec
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4aa75b
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0x11
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax]
mov dword [ebp - 0xc], eax
mov byte [ebp - 8], 0
lea edx, [ebp - 0x14]
mov ecx, 1
mov eax, 0x4aa774
call fcn.0040e1a4
mov eax, dword [ebp - 4]
call fcn.00405e80
push eax
call sub.kernel32.dll_OutputDebugStringW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4aa762
lea eax, [ebp - 4]
call fcn.00405de4
ret

Function at 0x4aa890
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4aa8ed
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov dword [ebp - 0xc], eax
mov byte [ebp - 8], 0
lea edx, [ebp - 0xc]
xor ecx, ecx
mov eax, 0x4aa904
call fcn.0040e1a4
mov eax, dword [ebp - 4]
call fcn.00405e80
push eax
call sub.kernel32.dll_OutputDebugStringW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4aa8f4
lea eax, [ebp - 4]
call fcn.00405de4
ret
Function at 0x4aa9b4
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x4aac46
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x510404], 0
je 0x4aac2b
mov ebx, dword [0x510404]
call fcn.004042f4
mov eax, ebx
call fcn.00404614
or edx, 0xffffffff
call fcn.004043a0
xor eax, eax
push ebp
push 0x4aac24
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x510404]
mov edx, dword [eax + 0x30]
mov dword [ebp - 8], edx
mov edx, dword [eax + 0x34]
mov dword [ebp - 4], edx
xor eax, eax
push ebp
push 0x4aab29
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x510404]
xor edx, edx
mov dword [eax + 0x38], edx
mov eax, dword [0x510404]
mov edx, dword [0x48f38c]
mov dword [eax + 0x34], edx
mov dword [eax + 0x30], 0x49fe90
mov eax, dword [0x510404]
call fcn.004a96d4
mov eax, dword [0x510404]
mov edx, dword [ebp - 8]
mov dword [eax + 0x30], edx
mov edx, dword [ebp - 4]
mov dword [eax + 0x34], edx
mov eax, dword [0x510404]
mov ebx, dword [eax + 0x38]
cmp byte [0x51044c], 0
je 0x4aaabe
test ebx, ebx
je 0x4aaabe
xor edi, edi
test ebx, ebx
je 0x4aaabe
cmp dword [ebx + 4], 0xfffffffe
jne 0x4aaab7
inc edi
push 0x4aac60
lea edx, [ebp - 0x14]
mov eax, edi
call fcn.0040cd88
push dword [ebp - 0x14]
push 0x4aaca0
push dword [ebx]
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.004063ac
mov eax, dword [ebp - 0x10]
call fcn.00405e80
push eax
call sub.kernel32.dll_OutputDebugStringW
mov ebx, dword [ebx + 0x18]
test ebx, ebx
jne 0x4aaa7c
mov eax, dword [0x510404]
mov ebx, dword [eax + 0x38]
test ebx, ebx
je 0x4aab00
mov esi, dword [ebx + 0x18]
xor eax, eax
mov dword [ebx + 0x18], eax
mov dword [ebx + 4], 0xfffffffe
mov dword [ebx + 8], 0xe6
mov dword [ebx + 0xc], 0xe6
mov byte [ebx + 0x14], 0
mov edx, dword [ebx + 0x10]
mov ecx, ebx
mov eax, dword [0x510404]
call fcn.004a9990
mov ebx, esi
test ebx, ebx
jne 0x4aaaca
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4aab30
mov eax, dword [0x510404]
xor edx, edx
mov dword [eax + 0x38], edx
mov eax, dword [0x510404]
mov edx, dword [ebp - 8]
mov dword [eax + 0x30], edx
mov edx, dword [ebp - 4]
mov dword [eax + 0x34], edx
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4aac4d
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00405dec
ret

Function at 0x4c5a00
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
xor ecx, ecx
mov edx, 0x40
call fcn.00403618
ret
Function at 0x4c8120
Capabilities:
Encode data using base64

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov dword [esp], ecx
mov esi, eax
mov ebp, edx
xor ebx, ebx
xor edi, edi
mov eax, dword [esp]
mov ecx, 3
cdq
idiv ecx
test eax, eax
jle 0x4c81ba
movzx edx, byte [esi + ebx]
shr edx, 2
movzx edx, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_cw]
mov byte [ebp + edi], dl
movzx edx, byte [esi + ebx]
and dl, 3
movzx edx, dl
shl edx, 4
movzx ecx, byte [esi + ebx + 1]
shr ecx, 4
add edx, ecx
movzx edx, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_cw]
push edx
pop edx
mov byte [ebp + edi + 1], dl
movzx edx, byte [esi + ebx + 1]
and dl, 0xf
movzx edx, dl
add edx, edx
add edx, edx
movzx ecx, byte [esi + ebx + 2]
shr ecx, 6
add edx, ecx
movzx edx, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_cw]
push edx
pop edx
mov byte [ebp + edi + 2], dl
movzx edx, byte [esi + ebx + 2]
and dl, 0x3f
movzx edx, dl
movzx edx, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_cw]
mov byte [ebp + edi + 3], dl
add edi, 4
add ebx, 3
dec eax
jne 0x4c813f
mov eax, dword [esp]
mov ecx, 3
cdq
idiv ecx
dec edx
je 0x4c81d0
dec edx
je 0x4c8205
jmp 0x4c8256
movzx eax, byte [esi + ebx]
shr eax, 2
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_cw]
mov byte [ebp + edi], al
movzx eax, byte [esi + ebx]
and al, 3
movzx eax, al
shl eax, 4
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_cw]
mov byte [ebp + edi + 1], al
mov byte [ebp + edi + 2], 0x3d
mov byte [ebp + edi + 3], 0x3d
jmp 0x4c8256
movzx eax, byte [esi + ebx]
shr eax, 2
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_cw]
mov byte [ebp + edi], al
movzx eax, byte [esi + ebx]
and al, 3
movzx eax, al
shl eax, 4
movzx edx, byte [esi + ebx + 1]
shr edx, 4
add eax, edx
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_cw]
mov byte [ebp + edi + 1], al
movzx eax, byte [esi + ebx + 1]
and al, 0xf
movzx eax, al
add eax, eax
add eax, eax
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_cw]
mov byte [ebp + edi + 2], al
mov byte [ebp + edi + 3], 0x3d
mov eax, dword [esp]
add eax, 2
mov ecx, 3
cdq
idiv ecx
add eax, eax
add eax, eax
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret