joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43cfd8
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 0x43cff4
cmp dword [esi + 4], 0
je 0x43d021
test byte [ebx + 0x55], 1
jne 0x43d013
mov eax, ebx
call fcn.0043bb78
test eax, eax
jne 0x43d013
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x43d131
mov edx, esi
mov eax, ebx
call fcn.0043cafc
jmp 0x43d131
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 0x43d12a
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0043ee48
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.00439814
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.0043cfd8
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.0043ee48
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43d131
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 0x443770
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x492f44]
cmp byte [eax + 0xc], 0
je 0x4438dd
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4438d6
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x493b94], 0
jne 0x4437c4
push 0x4438e4
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x4438ec
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x493b94], eax
cmp dword [0x491c48], 0
jne 0x4438bf
push 0x4438fc
call sub.kernel32.dll_LoadLibraryA
mov dword [0x491c48], eax
cmp dword [0x491c48], 0
je 0x4438bf
push 0x443908
mov eax, dword [0x491c48]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x493b98], eax
push 0x443918
mov eax, dword [0x491c48]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x493b9c], eax
push 0x44392c
mov eax, dword [0x491c48]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x493ba0], eax
push 0x443944
mov eax, dword [0x491c48]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x493ba4], eax
push 0x44395c
mov eax, dword [0x491c48]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x493ba8], eax
push 0x443970
mov eax, dword [0x491c48]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x493bac], eax
push 0x443988
mov eax, dword [0x491c48]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x493bb0], eax
push 0x4439a0
mov eax, dword [0x491c48]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x493bb4], eax
push 0x4439bc
mov eax, dword [0x491c48]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x493bb8], eax
push 0x4439c8
mov eax, dword [0x491c48]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x493bbc], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4438dd
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x447c84
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.004040ec
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x447cd3
push 0x100
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, 0x100
call fcn.0040435c
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x44f3e8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x44f438]
test si, 4
je 0x44f3fc
or bl, 1
test si, 8
je 0x44f406
or bl, 4
test si, 1
je 0x44f410
or bl, 8
test si, 2
je 0x44f41a
or bl, 0x10
test si, 0x10
je 0x44f424
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44f433
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x44f43c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x44f474]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44f455
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44f464
or bl, 4
test esi, 0x20000000
je 0x44f46f
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x455b1c
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x455b2e
add esp, 0xfffffff0
call fcn.0040361c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041abcc
mov eax, dword [0x492a34]
mov dword [eax + 4], ebx
mov dword [eax], 0x455ec0
mov eax, dword [0x492a44]
mov dword [eax + 4], ebx
mov dword [eax], 0x455ecc
mov eax, ebx
call fcn.00455ed8
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x412470]
call fcn.004032c8
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x412470]
call fcn.004032c8
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x412470]
call fcn.004032c8
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x412470]
call fcn.004032c8
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x412470]
call fcn.004032c8
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, 0x4522f4
push eax
push 0
push 0
mov eax, dword [0x492c50]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41c658]
call fcn.0041ddcc
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41c658]
call fcn.0041ddcc
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41c658]
call fcn.0041ddcc
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.004562f8
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4561d4
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4561d4
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4561d4
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x455c6b
call fcn.00403674
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x455fb8
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 0x456163
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x456144
mov dl, 1
mov eax, dword [0x41288c]
call fcn.004032c8
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.004040ec
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x456133
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.00443ad0
test al, al
je 0x456126
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, 0x456174
lea eax, [ebp - 0x254]
call fcn.0040950c
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x456126
xor eax, eax
push ebp
push 0x45611f
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0x100
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x4561ac
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x456108
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, 0x100
call fcn.0040435c
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 0x456108
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, 0x100
call fcn.0040435c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x456126
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x456029
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00416820
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 0x45616a
lea eax, [ebp - 0x260]
call fcn.004040ec
ret

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

Disassembly:
push ecx
mov eax, dword [0x493be0]
cmp byte [eax + 0xa5], 0
jne 0x456b09
cmp dword [0x493bf8], 0
jne 0x456aca
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x456a54
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x493bf8], eax
cmp dword [0x493bf4], 0
jne 0x456ae5
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x493bf4], eax
cmp dword [0x493bfc], 0
jne 0x456b09
push esp
push 0
push 0
push 0x4569f8
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x493bfc], eax
pop edx
ret
Function at 0x456c48
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x456c5f
add esp, 0xfffffff0
call fcn.0040361c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041abcc
mov eax, dword [0x492c30]
cmp word [eax + 2], 0
jne 0x456c87
mov eax, dword [0x492c30]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004583c8
mov eax, dword [0x492d34]
cmp word [eax + 2], 0
jne 0x456ca1
mov eax, dword [0x492d34]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004585c0
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x412470]
call fcn.004032c8
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x412470]
call fcn.004032c8
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x41d138]
call fcn.00424560
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x456e28
mov eax, dword [0x492ac4]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00424930
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x458b70
push 0x100
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x492ac4]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040ce90
test eax, eax
je 0x456d96
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408ec4
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040ceb8
test eax, eax
je 0x456daa
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, 0x100
call fcn.0040435c
mov eax, dword [0x492904]
cmp byte [eax], 0
jne 0x456dde
mov eax, ebx
call fcn.00456f50
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.00458d4c
mov eax, ebx
call fcn.00459710
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x456e1e
call fcn.00403674
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4571d0
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x493be0]
cmp dword [eax + 0x30], 0
je 0x45727a
cmp dword [ebx + 0x94], 0
jne 0x457274
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x457160
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x457274
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 0x45723a
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x457274
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.00414834
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x457249
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x457ddc
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 0x457e11
push 0x100
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.004041dc
jmp 0x457e1e
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404140
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x458f28
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x458f69
mov eax, esi
call fcn.0043f14c
test al, al
je 0x458f69
mov eax, dword [ebx + 0x84]
call fcn.0043ee48
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x458f69
push 0
mov eax, dword [ebx + 0x84]
call fcn.0043ee48
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x45bb5c
Capabilities:
Hash data with md5

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.0045c72c
mov dword [ebx], 0x67452301
mov dword [ebx + 4], 0xefcdab89
mov dword [ebx + 8], 0x98badcfe
mov dword [ebx + 0xc], 0x10325476
pop ebx
ret
Function at 0x45c628
Capabilities:
Authenticate hmac

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff20
push ebx
push esi
mov ebx, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 0x40
jle 0x45c66d
lea eax, [ebp - 0x60]
call fcn.0045bb5c
mov edx, ebx
lea eax, [ebp - 0x60]
mov ecx, dword [ebp + 0xc]
call fcn.0045bb84
lea edx, [ebp - 0x60]
mov eax, dword [ebp + 8]
call fcn.0045bc54
mov dword [ebp + 0xc], 0x10
mov esi, dword [ebp + 8]
jmp 0x45c66f
mov esi, ebx
xor ecx, ecx
lea eax, [ebp - 0xa0]
lea edx, [ebp - 0xe0]
lea ebx, [ecx + 1]
cmp ebx, dword [ebp + 0xc]
jg 0x45c696
mov bl, byte [esi]
xor bl, 0x36
mov byte [eax], bl
mov bl, byte [esi]
xor bl, 0x5c
mov byte [edx], bl
inc esi
jmp 0x45c69c
mov byte [eax], 0x36
mov byte [edx], 0x5c
inc ecx
inc edx
inc eax
cmp ecx, 0x40
jne 0x45c67d
lea eax, [ebp - 0x60]
call fcn.0045bb5c
lea edx, [ebp - 0xa0]
lea eax, [ebp - 0x60]
mov ecx, 0x40
call fcn.0045bb84
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x60]
mov ecx, dword [ebp - 8]
call fcn.0045c508
lea edx, [ebp - 0x60]
mov eax, dword [ebp + 8]
call fcn.0045bc54
lea eax, [ebp - 0x60]
call fcn.0045bb5c
lea edx, [ebp - 0xe0]
lea eax, [ebp - 0x60]
mov ecx, 0x40
call fcn.0045bb84
mov edx, dword [ebp + 8]
lea eax, [ebp - 0x60]
mov ecx, 0x10
call fcn.0045bb84
lea edx, [ebp - 0x60]
mov eax, dword [ebp + 8]
call fcn.0045bc54
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x469324
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 4
push 0
push 0
dec ecx
jne 0x46932d
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 0x4694dd
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0046966c
xor eax, eax
push ebp
push 0x4694bb
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
test byte [eax + 0x1c], 8
je 0x46937c
call fcn.00403b30
jmp 0x4694c2
mov eax, dword [ebp - 4]
test byte [eax + 0x30], 8
je 0x46944a
mov eax, dword [ebp - 4]
test byte [eax + 0x30], 1
je 0x4693d0
mov eax, dword [ebp - 4]
cmp word [eax + 0x3a], 0
je 0x4693d0
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.004692d8
push dword [ebp - 0x10]
mov eax, dword [ebp - 4]
push dword [eax + 0x50]
push ebx
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.0040446c
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 0x469409
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.004692d8
push dword [ebp - 0x18]
mov eax, dword [ebp - 4]
push dword [eax + 0x50]
push ebx
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.0040446c
mov eax, dword [ebp - 0x14]
call fcn.004045ac
push eax
call sub.kernel32.dll_OutputDebugStringA
mov eax, dword [ebp - 4]
test byte [eax + 0x30], 2
je 0x4694a5
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 4]
call fcn.004692d8
push dword [ebp - 0x20]
mov eax, dword [ebp - 4]
push dword [eax + 0x50]
push ebx
push 0x4694f8
lea eax, [ebp - 0x1c]
mov edx, 4
call fcn.0040446c
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.004692f8
jmp 0x4694a5
mov eax, dword [ebp - 4]
test byte [eax + 0x30], 1
je 0x46946c
mov eax, dword [ebp - 4]
cmp word [eax + 0x3a], 0
je 0x46946c
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 0x469482
mov eax, ebx
call fcn.004045ac
push eax
call sub.kernel32.dll_OutputDebugStringA
mov eax, dword [ebp - 4]
test byte [eax + 0x30], 2
je 0x4694a5
lea eax, [ebp - 0x24]
mov ecx, 0x4694f8
mov edx, ebx
call fcn.004043f8
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 4]
call fcn.004692f8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4694c2
mov eax, dword [ebp - 4]
call fcn.00469678
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4694e4
lea eax, [ebp - 0x24]
mov edx, 7
call fcn.00404110
ret
Function at 0x46c058
Capabilities:
Encode data using base64

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov edi, ecx
mov dword [esp], edx
mov ebp, eax
xor esi, esi
mov ebx, dword [esp]
jmp 0x46c06c
inc ebx
mov eax, ebx
mov ecx, 3
cdq
idiv ecx
test edx, edx
jg 0x46c06b
mov eax, ebx
mov ecx, 3
cdq
idiv ecx
shl eax, 2
mov ebx, eax
mov eax, edi
mov edx, ebx
call fcn.00404738
xor ebx, ebx
cmp esi, dword [esp]
jge 0x46c1d5
inc ebx
mov eax, edi
call fcn.00404604
mov dl, byte [ebp + esi]
and dl, 0xfc
and edx, 0xff
shr edx, 2
mov dl, byte [edx + 0x4923fc]
mov byte [eax + ebx - 1], dl
lea eax, [esi + 1]
cmp eax, dword [esp]
jge 0x46c18d
inc ebx
mov eax, edi
call fcn.00404604
mov dl, byte [ebp + esi]
and dl, 3
and edx, 0xff
shl edx, 4
mov cl, byte [ebp + esi + 1]
and cl, 0xf0
and ecx, 0xff
shr ecx, 4
add edx, ecx
mov dl, byte [edx + 0x4923fc]
mov byte [eax + ebx - 1], dl
lea eax, [esi + 2]
cmp eax, dword [esp]
jge 0x46c15c
inc ebx
mov eax, edi
call fcn.00404604
mov dl, byte [ebp + esi + 1]
and dl, 0xf
and edx, 0xff
shl edx, 2
mov cl, byte [ebp + esi + 2]
and cl, 0xc0
and ecx, 0xff
shr ecx, 6
add edx, ecx
mov dl, byte [edx + 0x4923fc]
mov byte [eax + ebx - 1], dl
inc ebx
mov eax, edi
call fcn.00404604
mov dl, byte [ebp + esi + 2]
and dl, 0x3f
and edx, 0xff
mov dl, byte [edx + 0x4923fc]
mov byte [eax + ebx - 1], dl
jmp 0x46c1c9
inc ebx
mov eax, edi
call fcn.00404604
mov dl, byte [ebp + esi + 1]
and dl, 0xf
and edx, 0xff
shl edx, 2
mov dl, byte [edx + 0x4923fc]
mov byte [eax + ebx - 1], dl
inc ebx
mov eax, edi
call fcn.00404604
mov byte [eax + ebx - 1], 0x3d
jmp 0x46c1c9
inc ebx
mov eax, edi
call fcn.00404604
mov dl, byte [ebp + esi]
and dl, 3
and edx, 0xff
shl edx, 4
mov dl, byte [edx + 0x4923fc]
mov byte [eax + ebx - 1], dl
inc ebx
mov eax, edi
call fcn.00404604
mov byte [eax + ebx - 1], 0x3d
inc ebx
mov eax, edi
call fcn.00404604
mov byte [eax + ebx - 1], 0x3d
add esi, 3
cmp esi, dword [esp]
jl 0x46c09d
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x46c3fc
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, 0x492544
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 0x46c41b
mov esi, 1
mov edx, 0x49264c
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 0x46c495
dec ebx
je 0x46c4b9
dec ebx
je 0x46c4dd
dec ebx
je 0x46c500
jmp 0x46c519
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 0x46c519
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 0x46c519
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 0x46c519
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 0x46c482
inc esi
add edx, 0x40
cmp esi, 9
jne 0x46c437
mov esi, 0x20
mov eax, 0x492574
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 0x46c53e
add esp, 0x5c
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x46c578
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 + 0x4925fb]
test bl, bl
jbe 0x46c5a9
lea eax, [esi + 0x3e0]
call fcn.0046c558
lea eax, [esi + 0x3fc]
call fcn.0046c558
dec bl
jne 0x46c58f
mov cl, 0x30
mov edi, 0x4925cc
mov eax, dword [esp]
mov dl, byte [edi]
cmp dl, 0x1c
ja 0x46c5cb
and edx, 0xff
mov dl, byte [esi + edx + 0x3df]
mov byte [eax], dl
jmp 0x46c5da
and edx, 0xff
mov dl, byte [esi + edx + 0x3df]
mov byte [eax], dl
inc eax
inc edi
dec cl
jne 0x46c5b3
pop edx
pop edi
pop esi
pop ebx
ret