joyce8/EMBER2024-capa huggingface dataset:
Function at 0x437eb8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
test byte [esi + 0x1c], 0x10
je 0x437f04
mov eax, esi
call fcn.0044d550
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x437f04
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x437f04
mov ecx, ebx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x250]
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0x24]
test al, al
jne 0x438043
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x437f44
cmp eax, 0x108
ja 0x437f44
mov eax, esi
call fcn.0044d550
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x43803a
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xf0]
test al, al
jne 0x438043
jmp 0x43803a
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x438023
cmp eax, 0x20a
ja 0x438023
test byte [esi + 0x50], 0x80
jne 0x437f76
sub eax, 0x203
je 0x437f73
sub eax, 3
je 0x437f73
sub eax, 3
jne 0x437f76
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x437f8a
dec eax
je 0x437f9f
dec eax
je 0x437fbc
dec eax
je 0x437f9f
jmp 0x437fc3
mov ecx, ebx
mov eax, dword [0x4856d4]
mov eax, dword [eax]
mov edx, esi
call fcn.00456c94
jmp 0x43803a
cmp byte [esi + 0x5d], 1
jne 0x437fb5
mov eax, esi
mov si, 0xffed
call fcn.004040c0
jmp 0x438043
or word [esi + 0x54], 1
jmp 0x43803a
and word [esi + 0x54], 0xfffe
jmp 0x43803a
mov eax, dword [0x486b10]
cmp byte [eax + 0x20], 0
je 0x43803a
mov eax, dword [0x486b10]
cmp dword [eax + 0x1c], 0
je 0x43803a
mov eax, dword [ebx]
mov edx, dword [0x486b10]
cmp eax, dword [edx + 0x1c]
jne 0x43803a
lea eax, [ebp - 0x114]
push eax
call sub.user32.dll_GetKeyboardState
mov eax, dword [ebx]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
call fcn.0044d494
mov byte [ebp - 0xc], al
mov ax, word [ebx + 4]
mov word [ebp - 0xa], ax
mov eax, dword [ebx + 8]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x10]
mov eax, esi
mov si, 0xffc9
call fcn.004040c0
jmp 0x438043
cmp eax, 0xb00b
jne 0x43803a
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.004367e8
mov edx, ebx
mov eax, esi
mov ecx, dword [eax]
call dword [ecx - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43b4d8
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x1f8], 0
je 0x43b4f4
cmp dword [esi + 4], 0
je 0x43b521
test byte [ebx + 0x55], 1
jne 0x43b513
mov eax, ebx
call fcn.0043a0e4
test eax, eax
jne 0x43b513
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x43b631
mov edx, esi
mov eax, ebx
call fcn.0043affc
jmp 0x43b631
push 0
call sub.user32.dll_GetDC
mov edi, eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push edi
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 8], eax
push edi
push 0
call sub.user32.dll_ReleaseDC
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x43b62a
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0043d398
push eax
call sub.user32.dll_BeginPaint
mov edi, eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
mov edx, 0x14
mov eax, ebx
call fcn.00437dec
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.0043b4d8
xor eax, eax
mov dword [esi + 4], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
push eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push 0
push 0
push edi
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0043d398
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43b631
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_DeleteDC
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_DeleteObject
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x441b58
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x485904]
cmp byte [eax + 0xc], 0
je 0x441cc5
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x441cbe
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x486b64], 0
jne 0x441bac
push 0x441ccc
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x441cd4
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x486b64], eax
cmp dword [0x483b3c], 0
jne 0x441ca7
push 0x441ce4
call sub.kernel32.dll_LoadLibraryA
mov dword [0x483b3c], eax
cmp dword [0x483b3c], 0
je 0x441ca7
push 0x441cf0
mov eax, dword [0x483b3c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x486b68], eax
push 0x441d00
mov eax, dword [0x483b3c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x486b6c], eax
push 0x441d14
mov eax, dword [0x483b3c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x486b70], eax
push 0x441d2c
mov eax, dword [0x483b3c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x486b74], eax
push 0x441d44
mov eax, dword [0x483b3c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x486b78], eax
push 0x441d58
mov eax, dword [0x483b3c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x486b7c], eax
push 0x441d70
mov eax, dword [0x483b3c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x486b80], eax
push 0x441d88
mov eax, dword [0x483b3c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x486b84], eax
push 0x441da4
mov eax, dword [0x483b3c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x486b88], eax
push 0x441db0
mov eax, dword [0x483b3c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x486b8c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x441cc5
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x445b64
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.00404c44
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x445bb3
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.00404ec4
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x44d404
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x44d454]
test si, 4
je 0x44d418
or bl, 1
test si, 8
je 0x44d422
or bl, 4
test si, 1
je 0x44d42c
or bl, 8
test si, 2
je 0x44d436
or bl, 0x10
test si, 0x10
je 0x44d440
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44d44f
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x44d458
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x44d490]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44d471
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44d480
or bl, 4
test esi, 0x20000000
je 0x44d48b
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x453b54
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x453b66
add esp, 0xfffffff0
call fcn.004041f0
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004200d8
mov eax, dword [0x48542c]
mov dword [eax + 4], ebx
mov dword [eax], 0x453ef8
mov eax, dword [0x48543c]
mov dword [eax + 4], ebx
mov dword [eax], 0x453f04
mov eax, ebx
call fcn.00453f10
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x4173e0]
call fcn.00403e88
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x4173e0]
call fcn.00403e88
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x4173e0]
call fcn.00403e88
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x4173e0]
call fcn.00403e88
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x4173e0]
call fcn.00403e88
mov dword [ebx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x40], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x450328
push eax
push 0
push 0
mov eax, dword [0x485618]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x424014]
call fcn.00425774
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x424014]
call fcn.00425774
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x424014]
call fcn.00425774
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00454360
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x454228
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x454228
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x454228
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x453ca3
call fcn.00404248
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x45400c
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4541b7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x454198
mov dl, 1
mov eax, dword [0x417a44]
call fcn.00403e88
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404c44
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x454187
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.00441eb8
test al, al
je 0x45417a
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x4541c8
lea eax, [ebp - 0x254]
call fcn.0040a3fc
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x45417a
xor eax, eax
push ebp
push 0x454173
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x454200
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x45415c
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404ec4
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x45415c
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404ec4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45417a
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x45407d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041c0ec
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4541be
lea eax, [ebp - 0x260]
call fcn.00404c44
ret

Function at 0x454b00
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x486bb0]
cmp byte [eax + 0xa5], 0
jne 0x454b71
cmp dword [0x486bc8], 0
jne 0x454b32
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x454abc
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x486bc8], eax
cmp dword [0x486bc4], 0
jne 0x454b4d
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x486bc4], eax
cmp dword [0x486bcc], 0
jne 0x454b71
push esp
push 0
push 0
push 0x454a60
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x486bcc], eax
pop edx
ret
Function at 0x455204
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x486bb0]
cmp dword [eax + 0x30], 0
je 0x4552ae
cmp dword [ebx + 0x94], 0
jne 0x4552a8
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x455194
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4552a8
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_GetWindowLongA
test al, 8
je 0x45526e
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4552a8
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00419a18
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x45527d
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x455e0c
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x455e41
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00404d34
jmp 0x455e4e
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404c98
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x456ddc
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x456e1d
mov eax, esi
call fcn.0043d670
test al, al
je 0x456e1d
mov eax, dword [ebx + 0x84]
call fcn.0043d398
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x456e1d
push 0
mov eax, dword [ebx + 0x84]
call fcn.0043d398
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x45bfb8
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x45c023
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
call sub.kernel32.dll_GetACP
test eax, eax
jns 0x45bff1
call fcn.00403dec
push eax
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.00404ec4
mov eax, dword [ebp - 0xc]
pop edx
call fcn.0045bfa0
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45c02a
lea eax, [ebp - 0xc]
call fcn.00404c44
ret
Function at 0x45df50
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffedc
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor ecx, ecx
push ebp
push 0x45e098
push dword fs:[ecx]
mov dword fs:[ecx], esp
mov byte [ebp - 0xd], 0
cmp byte [0x483e74], 0
jne 0x45df8d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x45e0f4
xor esi, esi
xor edi, edi
mov eax, dword [ebp - 0xc]
sub eax, 1
jae 0x45df9e
call fcn.00403df4
test eax, eax
jb 0x45e08a
inc eax
mov dword [ebp - 0x14], eax
xor edx, edx
add esi, 1
jae 0x45dfb6
call fcn.00403df4
and esi, 0xff
cmp esi, 0xff
jbe 0x45dfc9
call fcn.00403dec
xor eax, eax
mov al, byte [esi + 0x486c24]
add edi, eax
jae 0x45dfda
call fcn.00403df4
and edi, 0xff
cmp edi, 0xff
jbe 0x45dfed
call fcn.00403dec
mov cl, byte [edi + 0x486c24]
cmp esi, 0xff
jbe 0x45e000
call fcn.00403dec
mov byte [esi + 0x486c24], cl
cmp eax, 0xff
jbe 0x45e012
call fcn.00403dec
cmp edi, 0xff
jbe 0x45e01f
call fcn.00403dec
mov byte [edi + 0x486c24], al
cmp esi, 0xff
jbe 0x45e032
call fcn.00403dec
xor ecx, ecx
mov cl, byte [esi + 0x486c24]
add eax, ecx
jae 0x45e043
call fcn.00403df4
and eax, 0xff
cmp edx, 0x7fff
jbe 0x45e055
call fcn.00403dec
mov ecx, dword [ebp - 4]
mov cl, byte [ecx + edx]
cmp eax, 0xff
jbe 0x45e067
call fcn.00403dec
xor cl, byte [eax + 0x486c24]
cmp edx, 0x7fff
jbe 0x45e07a
call fcn.00403dec
mov eax, dword [ebp - 8]
mov byte [eax + edx], cl
inc edx
dec dword [ebp - 0x14]
jne 0x45dfac
mov byte [ebp - 0xd], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x45e0f4
mov al, byte [ebp - 0xd]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x462e28
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x462eba
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, ebx
mov edx, dword [ebp - 4]
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
cmp byte [esi + 0x30], 0
jne 0x462e6f
lea edx, [ebp - 8]
mov eax, dword [ebx]
call fcn.00408f94
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.00404c98
lea edx, [ebp - 0xc]
mov eax, dword [esi + 0x34]
call fcn.00409290
mov eax, dword [ebp - 0xc]
mov edx, dword [ebx]
call fcn.00405258
mov esi, eax
push ebx
mov ecx, esi
sub ecx, 1
jno 0x462e93
call fcn.00403df4
mov eax, dword [ebx]
mov edx, 1
call fcn.00405174
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x462ec1
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00404c68
ret

Function at 0x46413c
Capabilities:
Hash data using sha1

Disassembly:
mov dword [eax], 0x67452301
xor edx, edx
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
mov dword [eax + 0x18], edx
mov dword [eax + 0x14], edx
ret
Function at 0x464318
Capabilities:
Encode data using base64
Encrypt data using rc4 ksa

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff0
mov dword [esp + 4], ecx
mov dword [esp], edx
mov edi, 0x483f1c
lea ecx, [esp + 8]
mov dword [ecx], eax
mov eax, dword [esp]
mov dword [esp + 0xc], eax
xor ebx, ebx
xor esi, esi
mov eax, dword [esp + 4]
mov ebp, 3
cdq
idiv ebp
test eax, eax
jle 0x4643dc
mov edx, dword [ecx]
movzx edx, byte [edx + ebx]
shr edx, 2
mov dl, byte [edi + edx]
mov ebp, dword [esp + 0xc]
mov byte [ebp + esi], dl
mov edx, dword [ecx]
mov dl, byte [edx + ebx]
and dl, 3
and edx, 0xff
shl edx, 4
mov ebp, dword [ecx]
movzx ebp, byte [ebp + ebx + 1]
shr ebp, 4
add edx, ebp
mov dl, byte [edi + edx]
mov ebp, dword [esp + 0xc]
mov byte [ebp + esi + 1], dl
mov edx, dword [ecx]
mov dl, byte [edx + ebx + 1]
and dl, 0xf
and edx, 0xff
shl edx, 2
mov ebp, dword [ecx]
movzx ebp, byte [ebp + ebx + 2]
shr ebp, 6
add edx, ebp
mov dl, byte [edi + edx]
mov ebp, dword [esp + 0xc]
mov byte [ebp + esi + 2], dl
mov edx, dword [ecx]
mov dl, byte [edx + ebx + 2]
and dl, 0x3f
and edx, 0xff
mov dl, byte [edi + edx]
mov ebp, dword [esp + 0xc]
mov byte [ebp + esi + 3], dl
add esi, 4
add ebx, 3
dec eax
jne 0x464350
mov eax, dword [esp + 4]
mov ebp, 3
cdq
idiv ebp
dec edx
je 0x4643f3
dec edx
je 0x464434
jmp 0x464491
mov eax, dword [ecx]
movzx eax, byte [eax + ebx]
shr eax, 2
mov al, byte [edi + eax]
mov edx, dword [esp + 0xc]
mov byte [edx + esi], al
mov eax, dword [ecx]
mov al, byte [eax + ebx]
and al, 3
and eax, 0xff
shl eax, 4
mov al, byte [edi + eax]
mov edx, dword [esp + 0xc]
mov byte [edx + esi + 1], al
mov eax, dword [esp + 0xc]
mov byte [eax + esi + 2], 0x3d
mov eax, dword [esp + 0xc]
mov byte [eax + esi + 3], 0x3d
jmp 0x464491
mov eax, dword [ecx]
movzx eax, byte [eax + ebx]
shr eax, 2
mov al, byte [edi + eax]
mov edx, dword [esp + 0xc]
mov byte [edx + esi], al
mov eax, dword [ecx]
mov al, byte [eax + ebx]
and al, 3
and eax, 0xff
shl eax, 4
mov edx, dword [ecx]
movzx edx, byte [edx + ebx + 1]
shr edx, 4
add eax, edx
mov al, byte [edi + eax]
mov edx, dword [esp + 0xc]
mov byte [edx + esi + 1], al
mov eax, dword [ecx]
mov al, byte [eax + ebx + 1]
and al, 0xf
and eax, 0xff
shl eax, 2
mov al, byte [edi + eax]
mov edx, dword [esp + 0xc]
mov byte [edx + esi + 2], al
mov eax, dword [esp + 0xc]
mov byte [eax + esi + 3], 0x3d
mov eax, dword [esp + 4]
add eax, 2
mov ecx, 3
cdq
idiv ecx
shl eax, 2
add esp, 0x10
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4644ac
Capabilities:
Encode data using base64

Disassembly:
push esi
push edi
push ebp
add esp, 0xfffffff4
mov dword [esp + 4], eax
mov dword [esp + 8], edx
xor esi, esi
xor edi, edi
xor eax, eax
mov ebp, ecx
test ebp, ebp
jns 0x4644c9
add ebp, 3
sar ebp, 2
test ebp, ebp
jle 0x4645db
mov edx, 4
mov eax, esp
mov ecx, dword [esp + 4]
movzx ecx, byte [ecx + esi]
cmp ecx, 0x3d
jg 0x4644fc
je 0x464548
sub ecx, 0x2b
je 0x46453e
sub ecx, 4
je 0x464543
dec ecx
sub ecx, 0xa
jb 0x46452d
jmp 0x46454b
add ecx, 0xffffffbf
sub ecx, 0x1a
jb 0x46450e
add ecx, 0xfffffffa
sub ecx, 0x1a
jb 0x46451c
jmp 0x46454b
mov ecx, dword [esp + 4]
mov cl, byte [ecx + esi]
sub cl, 0x41
mov byte [eax], cl
jmp 0x46454b
mov ecx, dword [esp + 4]
mov cl, byte [ecx + esi]
sub cl, 0x61
add cl, 0x1a
mov byte [eax], cl
jmp 0x46454b
mov ecx, dword [esp + 4]
mov cl, byte [ecx + esi]
sub cl, 0x30
add cl, 0x34
mov byte [eax], cl
jmp 0x46454b
mov byte [eax], 0x3e
jmp 0x46454b
mov byte [eax], 0x3f
jmp 0x46454b
mov byte [eax], 0xff
inc esi
inc eax
dec edx
jne 0x4644db
mov al, byte [esp]
shl eax, 2
xor edx, edx
mov dl, byte [esp + 1]
shr edx, 4
or al, dl
mov edx, dword [esp + 8]
mov byte [edx + edi], al
lea eax, [edi + 1]
mov dl, byte [esp + 2]
cmp dl, 0xff
je 0x46459b
cmp byte [esp + 3], 0xff
jne 0x46459b
mov al, byte [esp + 1]
shl eax, 4
and edx, 0xff
shr edx, 2
or al, dl
mov edx, dword [esp + 8]
mov byte [edx + edi + 1], al
lea eax, [edi + 2]
inc edi
jmp 0x4645d3
cmp dl, 0xff
je 0x4645d3
mov al, byte [esp + 1]
shl eax, 4
and edx, 0xff
shr edx, 2
or al, dl
mov edx, dword [esp + 8]
mov byte [edx + edi + 1], al
mov eax, dword [esp + 8]
mov dl, byte [esp + 2]
shl edx, 6
or dl, byte [esp + 3]
mov byte [eax + edi + 2], dl
lea eax, [edi + 3]
add edi, 2
inc edi
dec ebp
jne 0x4644d4
add esp, 0xc
pop ebp
pop edi
pop esi
ret