joyce8/EMBER2024-capa huggingface dataset:
Function at 0x440aa8
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x4797ac]
cmp byte [eax + 0xc], 0
je 0x440c15
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x440c0e
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x47ab98], 0
jne 0x440afc
push 0x440c1c
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x440c24
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x47ab98], eax
cmp dword [0x478be0], 0
jne 0x440bf7
push 0x440c34
call sub.kernel32.dll_LoadLibraryA
mov dword [0x478be0], eax
cmp dword [0x478be0], 0
je 0x440bf7
push 0x440c40
mov eax, dword [0x478be0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x47ab9c], eax
push 0x440c50
mov eax, dword [0x478be0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x47aba0], eax
push 0x440c64
mov eax, dword [0x478be0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x47aba4], eax
push 0x440c7c
mov eax, dword [0x478be0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x47aba8], eax
push 0x440c94
mov eax, dword [0x478be0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x47abac], eax
push 0x440ca8
mov eax, dword [0x478be0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x47abb0], eax
push 0x440cc0
mov eax, dword [0x478be0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x47abb4], eax
push 0x440cd8
mov eax, dword [0x478be0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x47abb8], eax
push 0x440cf4
mov eax, dword [0x478be0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x47abbc], eax
push 0x440d00
mov eax, dword [0x478be0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x47abc0], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x440c15
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x444aa0
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.00404668
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x444aef
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.004048d8
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x44c204
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x44c254]
test si, 4
je 0x44c218
or bl, 1
test si, 8
je 0x44c222
or bl, 4
test si, 1
je 0x44c22c
or bl, 8
test si, 2
je 0x44c236
or bl, 0x10
test si, 0x10
je 0x44c240
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44c24f
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x44c258
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x44c290]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44c271
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44c280
or bl, 4
test esi, 0x20000000
je 0x44c28b
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x452938
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x45294a
add esp, 0xfffffff0
call fcn.00403b98
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041bbf8
mov eax, dword [0x479424]
mov dword [eax + 4], ebx
mov dword [eax], 0x452cdc
mov eax, dword [0x479430]
mov dword [eax + 4], ebx
mov dword [eax], 0x452ce8
mov eax, ebx
call fcn.00452cf4
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x412bc0]
call fcn.00403844
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x412bc0]
call fcn.00403844
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x412bc0]
call fcn.00403844
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x412bc0]
call fcn.00403844
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x412bc0]
call fcn.00403844
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, 0x44f110
push eax
push 0
push 0
mov eax, dword [0x47958c]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41dd4c]
call fcn.0041f4c0
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41dd4c]
call fcn.0041f4c0
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41dd4c]
call fcn.0041f4c0
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00453114
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x452ff0
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x452ff0
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x452ff0
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x452a87
call fcn.00403bf0
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x452dd4
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 0x452f7f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x452f60
mov dl, 1
mov eax, dword [0x413168]
call fcn.00403844
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404668
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x452f4f
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.00440e08
test al, al
je 0x452f42
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, 0x452f90
lea eax, [ebp - 0x254]
call fcn.00409850
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x452f42
xor eax, eax
push ebp
push 0x452f3b
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 0x452fc8
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x452f24
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004048d8
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 0x452f24
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004048d8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x452f42
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x452e45
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00417770
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 0x452f86
lea eax, [ebp - 0x260]
call fcn.00404668
ret

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

Disassembly:
push ecx
mov eax, dword [0x47abe4]
cmp byte [eax + 0xa5], 0
jne 0x453925
cmp dword [0x47abfc], 0
jne 0x4538e6
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x453870
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x47abfc], eax
cmp dword [0x47abf8], 0
jne 0x453901
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x47abf8], eax
cmp dword [0x47ac00], 0
jne 0x453925
push esp
push 0
push 0
push 0x453814
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x47ac00], eax
pop edx
ret
Function at 0x453a1c
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x453a33
add esp, 0xfffffff0
call fcn.00403b98
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041bbf8
mov eax, dword [0x479578]
cmp word [eax + 2], 0
jne 0x453a5b
mov eax, dword [0x479578]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00455020
mov eax, dword [0x479640]
cmp word [eax + 2], 0
jne 0x453a75
mov eax, dword [0x479640]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00455218
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x412bc0]
call fcn.00403844
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x412bc0]
call fcn.00403844
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 [0x41e82c]
call fcn.00425ba4
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x453bfc
mov eax, dword [0x479488]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00425f74
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x4557b8
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x479488]
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.0040d494
test eax, eax
je 0x453b6a
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.004091dc
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040d4bc
test eax, eax
je 0x453b7e
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, pe_nt_image_headers32
call fcn.004048d8
mov eax, dword [0x479364]
cmp byte [eax], 0
jne 0x453bb2
mov eax, ebx
call fcn.00453d24
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.00455994
mov eax, ebx
call fcn.00456358
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x453bf2
call fcn.00403bf0
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x453fa4
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x47abe4]
cmp dword [eax + 0x30], 0
je 0x45404e
cmp dword [ebx + 0x94], 0
jne 0x454048
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x453f34
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x454048
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 0x45400e
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x454048
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.0041524c
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x45401d
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x454bb0
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 0x454be5
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.00404758
jmp 0x454bf2
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004046bc
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x455b70
Capabilities:
Hide graphical window

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

Function at 0x456e9c
Capabilities:
Access the windows event log

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov esi, ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00404b18
xor eax, eax
push ebp
push 0x456f1a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404b28
mov dword [ebp - 8], eax
cmp dword [ebx + 8], 0
jne 0x456ee5
mov eax, dword [ebx + 4]
call fcn.00404b28
push eax
push 0
call sub.advapi32.dll_RegisterEventSourceA
mov dword [ebx + 8], eax
push 0
lea eax, [ebp - 8]
push eax
push 0
push 1
push 0
mov eax, dword [ebp + 8]
push eax
mov ax, word [ebp + 0xc]
push eax
push esi
mov eax, dword [ebx + 8]
push eax
call sub.advapi32.dll_ReportEventA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x456f21
lea eax, [ebp - 4]
call fcn.00404668
ret
Function at 0x457f1c
Capabilities:
Create service

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4580b9
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x10]
xor eax, eax
call fcn.00402ac4
cmp word [ebx + 0xa2], 0
je 0x457f65
mov edx, ebx
mov eax, dword [ebx + 0xa4]
call dword [ebx + 0xa0]
mov eax, dword [ebx + 0x90]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jle 0x457f79
lea esi, [ebp - 8]
jmp 0x457f7b
xor esi, esi
cmp dword [ebx + 0x80], 0
jne 0x457f88
xor edi, edi
jmp 0x457f95
mov eax, dword [ebx + 0x80]
call fcn.00404b28
mov edi, eax
mov eax, dword [ebx + 0x7c]
call fcn.00404b28
push eax
push edi
lea edx, [ebp - 0x14]
mov eax, ebx
call fcn.00457654
mov eax, dword [ebp - 0x14]
call fcn.00404b28
push eax
push esi
mov eax, dword [ebx + 0x74]
call fcn.00404b28
push eax
mov eax, dword [ebp - 0x10]
call fcn.00404b28
push eax
mov eax, ebx
call fcn.00457788
push eax
mov eax, ebx
call fcn.0045775c
push eax
mov eax, ebx
call fcn.00457710
push eax
push 0xf01ff
lea edx, [ebp - 0x18]
mov eax, ebx
call fcn.00457520
mov eax, dword [ebp - 0x18]
call fcn.00404b28
push eax
mov eax, dword [ebx + 8]
call fcn.00404b28
push eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_CreateServiceA
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
mov dword [ebx + 0x90], eax
cmp dword [ebp - 0xc], 0
jne 0x45801e
call fcn.0040dd20
xor edx, edx
push ebp
push 0x458097
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
push ebp
push 0x45805c
push dword fs:[edx]
mov dword fs:[edx], esp
cmp word [ebx + 0xaa], 0
je 0x458052
mov edx, ebx
mov eax, dword [ebx + 0xac]
call dword [ebx + 0xa8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x458080
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45809e
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_CloseServiceHandle
ret

Function at 0x4580c8
Capabilities:
Delete service

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp word [eax + 0xb2], 0
je 0x4580f4
mov esi, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [esi + 0xb4]
call dword [esi + 0xb0]
push 0xf01ff
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
call fcn.00404b28
push eax
push ebx
call sub.advapi32.dll_OpenServiceA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x458119
call fcn.0040dd20
xor eax, eax
push ebp
push 0x458150
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_DeleteService
test eax, eax
jne 0x458139
call fcn.0040dd20
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x458157
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_CloseServiceHandle
ret
Function at 0x45a7c8
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, 0x478f18
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 0x45a7e7
mov esi, 1
mov edx, 0x479020
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 0x45a861
dec ebx
je 0x45a885
dec ebx
je 0x45a8a9
dec ebx
je 0x45a8cc
jmp 0x45a8e5
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 0x45a8e5
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 0x45a8e5
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 0x45a8e5
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 0x45a84e
inc esi
add edx, 0x40
cmp esi, 9
jne 0x45a803
mov esi, 0x20
mov eax, 0x478f48
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 0x45a90a
add esp, 0x5c
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x45a944
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 + 0x478fcf]
test bl, bl
jbe 0x45a975
lea eax, [esi + 0x3e0]
call fcn.0045a924
lea eax, [esi + 0x3fc]
call fcn.0045a924
dec bl
jne 0x45a95b
mov cl, 0x30
mov edi, 0x478fa0
mov eax, dword [esp]
mov dl, byte [edi]
cmp dl, 0x1c
ja 0x45a997
and edx, 0xff
mov dl, byte [esi + edx + 0x3df]
mov byte [eax], dl
jmp 0x45a9a6
and edx, 0xff
mov dl, byte [esi + edx + 0x3df]
mov byte [eax], dl
inc eax
inc edi
dec cl
jne 0x45a97f
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x45a9b4
Capabilities:
Encode data using xor
Encrypt data using des
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbdc
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov edi, eax
mov bl, 1
lea esi, [ebp - 0x421]
mov eax, edi
mov edx, ebx
call fcn.0045a75c
mov byte [esi], al
inc ebx
inc esi
cmp bl, 0x41
jne 0x45a9d0
mov bl, 0x1c
mov esi, 0x478f68
lea edi, [ebp - 0x41]
mov dl, byte [esi]
mov eax, dword [ebp - 8]
call fcn.0045a75c
mov byte [edi], al
mov dl, byte [esi + 0x1c]
mov eax, dword [ebp - 8]
call fcn.0045a75c
mov byte [edi + 0x1c], al
inc edi
inc esi
dec bl
jne 0x45a9ec
mov bl, 1
lea esi, [ebp - 0x3a1]
mov ecx, esi
lea eax, [ebp - 0x421]
mov edx, ebx
call fcn.0045a944
inc ebx
add esi, 0x30
cmp bl, 0x11
jne 0x45aa14
mov bl, 1
mov eax, 0x478e98
lea edx, [ebp - 0xa1]
cmp bl, 0x20
ja 0x45aa4d
xor ecx, ecx
mov cl, byte [eax]
mov cl, byte [ebp + ecx - 0x422]
mov byte [edx], cl
jmp 0x45aa5a
xor ecx, ecx
mov cl, byte [eax]
mov cl, byte [ebp + ecx - 0x422]
mov byte [edx], cl
inc ebx
inc edx
inc eax
cmp bl, 0x41
jne 0x45aa39
mov byte [ebp - 9], 1
lea esi, [ebp - 0x3a1]
cmp byte [ebp + 8], 0
je 0x45aa84
lea ecx, [ebp - 0x61]
mov edx, esi
lea eax, [ebp - 0x81]
call fcn.0045a7c8
jmp 0x45aaac
xor eax, eax
mov al, byte [ebp - 9]
mov edx, 0x11
sub edx, eax
mov eax, edx
add eax, eax
lea eax, [eax + eax*2]
lea edx, [ebp + eax*8 - 0x3d1]
lea ecx, [ebp - 0x61]
lea eax, [ebp - 0x81]
call fcn.0045a7c8
mov bl, 0x20
lea eax, [ebp - 0xa1]
mov dl, byte [eax]
xor byte [eax + 0x40], dl
inc eax
dec bl
jne 0x45aab4
push esi
lea esi, [ebp - 0x81]
lea edi, [ebp - 0xa1]
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
pop esi
push esi
lea esi, [ebp - 0x61]
lea edi, [ebp - 0x81]
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
pop esi
inc byte [ebp - 9]
add esi, 0x30
cmp byte [ebp - 9], 0x11
jne 0x45aa6c
mov bl, 0x40
mov esi, 0x478ed8
lea eax, [ebp - 0x3e1]
mov dl, byte [esi]
cmp dl, 0x20
ja 0x45ab1a
and edx, 0xff
mov dl, byte [ebp + edx - 0x82]
mov byte [eax], dl
jmp 0x45ab29
and edx, 0xff
mov dl, byte [ebp + edx - 0xc2]
mov byte [eax], dl
inc eax
inc esi
dec bl
jne 0x45ab02
mov bl, 1
lea esi, [ebp - 0x3e1]
mov cl, byte [esi]
mov eax, dword [ebp - 4]
mov edx, ebx
call fcn.0045a784
inc ebx
inc esi
cmp bl, 0x41
jne 0x45ab37
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x45de1c
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 0x45de30
inc ebx
mov eax, ebx
mov ecx, 3
cdq
idiv ecx
test edx, edx
jg 0x45de2f
mov eax, ebx
mov ecx, 3
cdq
idiv ecx
shl eax, 2
mov ebx, eax
mov eax, edi
mov edx, ebx
call fcn.00404cb4
xor ebx, ebx
cmp esi, dword [esp]
jge 0x45df99
inc ebx
mov eax, edi
call fcn.00404b80
mov dl, byte [ebp + esi]
and dl, 0xfc
and edx, 0xff
shr edx, 2
mov dl, byte [edx + 0x4791e8]
mov byte [eax + ebx - 1], dl
lea eax, [esi + 1]
cmp eax, dword [esp]
jge 0x45df51
inc ebx
mov eax, edi
call fcn.00404b80
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 + 0x4791e8]
mov byte [eax + ebx - 1], dl
lea eax, [esi + 2]
cmp eax, dword [esp]
jge 0x45df20
inc ebx
mov eax, edi
call fcn.00404b80
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 + 0x4791e8]
mov byte [eax + ebx - 1], dl
inc ebx
mov eax, edi
call fcn.00404b80
mov dl, byte [ebp + esi + 2]
and dl, 0x3f
and edx, 0xff
mov dl, byte [edx + 0x4791e8]
mov byte [eax + ebx - 1], dl
jmp 0x45df8d
inc ebx
mov eax, edi
call fcn.00404b80
mov dl, byte [ebp + esi + 1]
and dl, 0xf
and edx, 0xff
shl edx, 2
mov dl, byte [edx + 0x4791e8]
mov byte [eax + ebx - 1], dl
inc ebx
mov eax, edi
call fcn.00404b80
mov byte [eax + ebx - 1], 0x3d
jmp 0x45df8d
inc ebx
mov eax, edi
call fcn.00404b80
mov dl, byte [ebp + esi]
and dl, 3
and edx, 0xff
shl edx, 4
mov dl, byte [edx + 0x4791e8]
mov byte [eax + ebx - 1], dl
inc ebx
mov eax, edi
call fcn.00404b80
mov byte [eax + ebx - 1], 0x3d
inc ebx
mov eax, edi
call fcn.00404b80
mov byte [eax + ebx - 1], 0x3d
add esi, 3
cmp esi, dword [esp]
jl 0x45de61
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret