joyce8/EMBER2024-capa huggingface dataset:
Function at 0x453250
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
push ecx
mov byte [esp + 1], cl
mov byte [esp], dl
mov esi, eax
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
mov edi, eax
mov eax, dword [0x505c9c]
cmp esi, dword [eax + 0x30]
jne 0x453277
or edi, 0x8000000
push esi
call sub.user32.dll_IsIconic
cmp eax, 1
sbb ebx, ebx
inc ebx
push esi
call sub.user32.dll_IsWindowVisible
test eax, eax
jne 0x4532a6
mov eax, dword [0x505c9c]
cmp esi, dword [eax + 0x30]
jne 0x4532a2
mov eax, dword [0x505c9c]
cmp byte [eax + 0x5b], 0
jne 0x4532a6
xor eax, eax
jmp 0x4532a8
mov al, 1
mov byte [esp + 2], al
movzx eax, byte [esp + 2]
or al, bl
je 0x4532bd
push 0
push esi
call sub.user32.dll_ShowWindow
cmp byte [esp], 0
je 0x4532d4
or edi, 0x40000
push edi
push 0xffffffffffffffec
push esi
call sub.user32.dll_SetWindowLongA
jmp 0x4532e3
and edi, 0xfffbffff
push edi
push 0xffffffffffffffec
push esi
call sub.user32.dll_SetWindowLongA
movzx eax, byte [esp + 1]
and al, byte [esp + 2]
jne 0x4532f2
test bl, bl
je 0x453308
test bl, bl
je 0x453300
push 6
push esi
call sub.user32.dll_ShowWindow
jmp 0x453308
push 5
push esi
call sub.user32.dll_ShowWindow
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x4535ac
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
add esp, 0xfffffff8
mov ebx, eax
call sub.user32.dll_GetActiveWindow
mov dword [esp], eax
mov byte [esp + 4], 0
test bl, bl
je 0x4535d2
mov eax, esp
push eax
push 0x453574
call sub.user32.dll_EnumWindows
jmp 0x4535e5
mov eax, esp
push eax
push 0x453554
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
call sub.user32.dll_EnumThreadWindows
movzx eax, byte [esp + 4]
pop ecx
pop edx
pop ebx
ret

Function at 0x453670
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x4536c4]
test si, 4
je 0x453685
or bl, 1
test si, 8
je 0x45368f
or bl, 4
test si, 1
je 0x453699
or bl, 8
test si, 2
je 0x4536a3
or bl, 0x10
test si, 0x10
je 0x4536ad
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4536bc
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x4536c8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x453704]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4536e2
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4536f1
or bl, 4
test esi, 0x20000000
je 0x4536fc
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x45b5d0
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x45b5e2
add esp, 0xfffffff0
call fcn.00403fb4
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00421ff8
mov eax, dword [0x4ffd8c]
mov dword [eax + 4], ebx
mov dword [eax], 0x45b974
mov eax, dword [0x4ffd98]
mov dword [eax + 4], ebx
mov dword [eax], 0x45b980
mov eax, ebx
call fcn.0045b98c
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x416cf0]
call fcn.00403c20
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x416cf0]
call fcn.00403c20
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x416cf0]
call fcn.00403c20
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x416cf0]
call fcn.00403c20
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x416cf0]
call fcn.00403c20
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, 0x45703c
push eax
push 0
push 0
mov eax, dword [0x4fff40]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x426214]
call fcn.00427990
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x426214]
call fcn.00427990
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x426214]
call fcn.00427990
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0045bdbc
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45bc8c
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45bc8c
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45bc8c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45b71f
call fcn.0040400c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x45ba70
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 0x45bc1b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x45bbfc
mov dl, 1
mov eax, dword [0x41735c]
call fcn.00403c20
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404b00
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x45bbeb
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.0044de68
test al, al
je 0x45bbde
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, 0x45bc2c
lea eax, [ebp - 0x254]
call fcn.00409cc0
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x45bbde
xor eax, eax
push ebp
push 0x45bbd7
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 0x45bc64
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x45bbc0
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404d70
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 0x45bbc0
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404d70
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45bbde
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x45bae1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x25], 0
mov dl, 1
call fcn.0041bb2c
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 0x45bc22
lea eax, [ebp - 0x260]
call fcn.00404b00
ret

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

Disassembly:
push ecx
mov eax, dword [0x505c9c]
cmp byte [eax + 0xad], 0
jne 0x45c605
cmp dword [0x505cb8], 0
jne 0x45c5c6
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x45c550
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x505cb8], eax
cmp dword [0x505cb4], 0
jne 0x45c5e1
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x505cb4], eax
cmp dword [0x505cbc], 0
jne 0x45c605
push esp
push 0
push 0
push 0x45c4f4
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x505cbc], eax
pop edx
ret
Function at 0x45c7d8
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x45c7ef
add esp, 0xfffffff0
call fcn.00403fb4
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00421ff8
mov eax, dword [0x4fff20]
cmp word [eax + 2], 0
jne 0x45c817
mov eax, dword [0x4fff20]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045e3f0
mov eax, dword [0x500010]
cmp word [eax + 2], 0
jne 0x45c831
mov eax, dword [0x500010]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045e5fc
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x416cf0]
call fcn.00403c20
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x416cf0]
call fcn.00403c20
mov dword [ebx + 0x98], eax
mov dl, 1
mov eax, dword [0x416cf0]
call fcn.00403c20
mov dword [ebx + 0xb0], 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 + 0xa5], 1
mov byte [ebx + 0xbc], 1
mov dl, 1
mov eax, dword [0x426c4c]
call fcn.0042e518
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x45c9e8
mov eax, dword [0x4ffe04]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042e8ec
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x45ecc0
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4ffe04]
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.0040d5bc
test eax, eax
je 0x45c938
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00409664
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040d5f0
test eax, eax
je 0x45c94c
mov byte [eax], 0
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_CharNextA_1
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404d70
mov byte [ebx + 0xd4], 0
push ebx
push 0x45df00
call fcn.00423174
mov dword [ebx + 0xc8], eax
mov eax, dword [0x4ffcc4]
cmp byte [eax], 0
jne 0x45c99d
mov eax, ebx
call fcn.0045cb2c
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0xa6], 1
xor eax, eax
mov dword [ebx + 0xa8], eax
mov eax, ebx
call fcn.0045ee98
mov eax, ebx
call fcn.0045f9fc
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45c9dd
call fcn.0040400c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45cdac
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x45ce4b
cmp dword [ebx + 0x94], 0
jne 0x45ce45
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x45cd34
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x45ce45
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 0x45ce0b
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x45ce45
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.00419584
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x45ce1a
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

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

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x505c9c]
cmp dword [eax + 0x30], 0
je 0x45d1c1
test bl, bl
jne 0x45d112
cmp dword [esi + 0x9c], 0
jne 0x45d107
mov eax, esi
call fcn.0045f878
push eax
push 0x45cf90
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x44], 0
je 0x45d0d8
mov eax, dword [0x505c9c]
call fcn.0045ff58
test al, al
je 0x45d0d8
mov eax, dword [0x505cc0]
call fcn.00405c54
mov edi, eax
cmp edi, 0
jl 0x45d0d8
push 0
mov eax, dword [0x505cc0]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x45d0c2
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x45d107
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.00419584
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x45d0e7
inc dword [esi + 0x9c]
jmp 0x45d1c1
cmp dword [esi + 0x9c], 0
jle 0x45d1c1
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x45d1c1
cmp dword [esi + 0x44], 0
je 0x45d16d
mov eax, dword [0x505c9c]
call fcn.0045ff58
test al, al
je 0x45d16d
mov eax, dword [0x505cc0]
call fcn.00405c54
mov edi, eax
cmp edi, 0
jl 0x45d16d
push 5
mov eax, dword [0x505cc0]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x45d157
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x45d19c
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.00419584
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x45d17c
mov eax, dword [esi + 0x98]
mov edx, dword [eax]
call dword [edx + 8]
push 0
mov eax, 0x505cc0
mov ecx, 1
mov edx, dword [0x45cf70]
call fcn.00405e08
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x45dc54
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffefc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x45dcbe
mov eax, ebx
call fcn.0045ff58
test al, al
jne 0x45dcbe
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.00404bf0
mov eax, dword [esi]
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x100]
test eax, eax
je 0x45dcab
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x45dccb
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404b54
jmp 0x45dccb
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404b54
add esp, 0x104
pop esi
pop ebx
ret

Function at 0x45f07c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45f0ea
mov eax, esi
call fcn.00448be8
test al, al
je 0x45f0ea
mov eax, dword [ebx + 0x84]
call fcn.00448864
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45f0ea
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x45f0de
push 0
mov eax, dword [ebx + 0x84]
call fcn.00448864
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.0044082c
jmp 0x45f0ea
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.0045eeb8
pop esi
pop ebx
ret
Function at 0x46c638
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 0x18]
xor eax, eax
mov dword [ebp - 0xc], eax
test ebx, ebx
je 0x46c66b
movzx eax, byte [ebx]
mov edx, dword [0x4a6f50]
cmp al, byte [edx]
jne 0x46c66b
cmp dword [ebp + 8], 0x38
je 0x46c675
mov eax, 0xfffffffa
jmp 0x46c83b
lea eax, [esi + 0x18]
call fcn.00404b00
cmp dword [esi + 0x20], 0
jne 0x46c68f
mov dword [esi + 0x20], 0x46c548
xor eax, eax
mov dword [esi + 0x28], eax
cmp dword [esi + 0x24], 0
jne 0x46c69c
mov dword [esi + 0x24], 0x46c540
cmp dword [ebp - 4], 0xffffffff
jne 0x46c6a9
mov dword [ebp - 4], 6
test edi, edi
jge 0x46c6b6
mov dword [ebp - 0xc], 1
neg edi
cmp dword [ebp + 0x14], 1
jl 0x46c6ea
cmp dword [ebp + 0x14], 9
jg 0x46c6ea
cmp dword [ebp - 8], 8
jne 0x46c6ea
cmp edi, 8
jl 0x46c6ea
cmp edi, 0xf
jg 0x46c6ea
cmp dword [ebp - 4], 0
jl 0x46c6ea
cmp dword [ebp - 4], 9
jg 0x46c6ea
cmp dword [ebp + 0x10], 0
jl 0x46c6ea
cmp dword [ebp + 0x10], 2
jle 0x46c6f4
mov eax, 0xfffffffe
jmp 0x46c83b
mov eax, esi
mov ecx, 0x16bc
mov edx, 1
call fcn.0046c554
mov ebx, eax
test ebx, ebx
jne 0x46c715
mov eax, 0xfffffffc
jmp 0x46c83b
mov dword [esi + 0x1c], ebx
mov dword [ebx], esi
mov eax, dword [ebp - 0xc]
mov dword [ebx + 0x18], eax
mov eax, edi
mov dword [ebx + 0x28], eax
mov ecx, eax
mov edx, 1
shl edx, cl
mov dword [ebx + 0x24], edx
dec edx
mov dword [ebx + 0x2c], edx
mov eax, dword [ebp + 0x14]
add eax, 7
mov dword [ebx + 0x48], eax
mov ecx, eax
mov edx, 1
shl edx, cl
mov dword [ebx + 0x44], edx
dec edx
mov dword [ebx + 0x4c], edx
mov eax, dword [ebx + 0x48]
add eax, 3
dec eax
mov ecx, 3
xor edx, edx
div ecx
mov dword [ebx + 0x50], eax
mov eax, esi
mov ecx, 2
mov edx, dword [ebx + 0x24]
call fcn.0046c554
mov dword [ebx + 0x30], eax
mov eax, esi
mov ecx, 2
mov edx, dword [ebx + 0x24]
call fcn.0046c554
mov dword [ebx + 0x38], eax
mov eax, esi
mov ecx, 2
mov edx, dword [ebx + 0x44]
call fcn.0046c554
mov dword [ebx + 0x3c], eax
mov ecx, dword [ebp + 0x14]
add ecx, 6
mov edi, 1
shl edi, cl
mov dword [ebx + 0x1690], edi
mov eax, esi
mov ecx, 4
mov edx, edi
call fcn.0046c554
mov dword [ebx + 8], eax
mov edx, dword [ebx + 0x1690]
add edx, edx
add edx, edx
mov dword [ebx + 0xc], edx
cmp dword [ebx + 0x30], 0
je 0x46c7e0
cmp dword [ebx + 0x38], 0
je 0x46c7e0
cmp dword [ebx + 0x3c], 0
je 0x46c7e0
cmp dword [ebx + 8], 0
jne 0x46c7fb
lea eax, [esi + 0x18]
mov edx, 0x4a6fd8
call fcn.00404d64
mov eax, esi
call fcn.0046cbe8
mov eax, 0xfffffffc
jmp 0x46c83b
mov edx, dword [ebx + 0x1690]
shr edx, 1
lea eax, [eax + edx*2]
mov dword [ebx + 0x1698], eax
mov eax, dword [ebx + 0x1690]
lea eax, [eax + eax*2]
mov edx, dword [ebx + 8]
lea eax, [edx + eax]
mov dword [ebx + 0x168c], eax
mov eax, dword [ebp - 4]
mov dword [ebx + 0x78], eax
mov eax, dword [ebp + 0x10]
mov dword [ebx + 0x7c], eax
movzx eax, byte [ebp - 8]
mov byte [ebx + 0x1d], al
mov eax, esi
call fcn.0046c86c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x46ceec
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, eax
mov edi, dword [ebx + 0x24]
mov esi, dword [ebx + 0x34]
sub esi, dword [ebx + 0x6c]
sub esi, dword [ebx + 0x64]
test esi, esi
jne 0x46cf15
cmp dword [ebx + 0x64], 0
jne 0x46cf15
cmp dword [ebx + 0x6c], 0
jne 0x46cf15
mov esi, edi
jmp 0x46cfa1
cmp esi, 0xffffffff
jne 0x46cf20
dec esi
jmp 0x46cfa1
mov eax, dword [ebx + 0x64]
lea edx, [edi + edi]
sub edx, 0x106
cmp eax, edx
jb 0x46cfa1
mov eax, dword [ebx + 0x30]
lea edx, [eax + edi]
mov ecx, edi
call fcn.0046c530
sub dword [ebx + 0x68], edi
sub dword [ebx + 0x64], edi
sub dword [ebx + 0x54], edi
mov eax, dword [ebx + 0x44]
mov edx, dword [ebx + 0x3c]
lea edx, [edx + eax*2]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp edi, dword [esp]
ja 0x46cf69
movzx ecx, word [esp]
sub cx, di
mov word [edx], cx
jmp 0x46cf6e
mov word [edx], 0
dec eax
test eax, eax
jne 0x46cf4f
mov eax, edi
mov edx, dword [ebx + 0x38]
lea edx, [edx + eax*2]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp edi, dword [esp]
ja 0x46cf95
movzx ecx, word [esp]
sub cx, di
mov word [edx], cx
jmp 0x46cf9a
mov word [edx], 0
dec eax
test eax, eax
jne 0x46cf7b
add esi, edi
mov eax, dword [ebx]
cmp dword [eax + 4], 0
je 0x46cfff
mov edx, dword [ebx + 0x64]
add edx, dword [ebx + 0x6c]
mov ecx, dword [ebx + 0x30]
lea edx, [ecx + edx]
mov ecx, esi
call fcn.0046cc64
add dword [ebx + 0x6c], eax
cmp dword [ebx + 0x6c], 3
jb 0x46cfea
mov eax, dword [ebx + 0x64]
mov edx, dword [ebx + 0x30]
movzx eax, byte [edx + eax]
mov dword [ebx + 0x40], eax
mov ecx, dword [ebx + 0x50]
shl eax, cl
mov edx, dword [ebx + 0x64]
mov ecx, dword [ebx + 0x30]
movzx edx, byte [ecx + edx + 1]
xor eax, edx
and eax, dword [ebx + 0x4c]
mov dword [ebx + 0x40], eax
cmp dword [ebx + 0x6c], 0x106
jae 0x46cfff
mov eax, dword [ebx]
cmp dword [eax + 4], 0
jne 0x46cef5
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x4719e0
Capabilities:
Hash data with crc32

Disassembly:
push ebx
push esi
xor esi, esi
mov ecx, 0x5087e0
mov eax, esi
mov edx, 8
mov ebx, eax
and ebx, 1
test bl, bl
je 0x471a02
shr eax, 1
xor eax, 0xedb88320
jmp 0x471a04
shr eax, 1
dec edx
jne 0x4719f0
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x4719e9
mov byte [0x508be0], 1
pop esi
pop ebx
ret

Function at 0x471a20
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x508be0], 0
jne 0x471a37
call fcn.004719e0
mov eax, edi
dec eax
test eax, eax
jl 0x471a5f
inc eax
xor edx, edx
movzx ecx, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x5087e0]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x471a41
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x473ecc
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ebx, eax
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 0x14]
movzx edx, byte [eax + 0x461]
movzx ecx, dl
cmp ecx, 6
ja case.0x473f66.0
jmp dword [ecx*4 + 0x473eff]
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x473f31
sub dl, 8
je 0x473f40
jmp case.0x473f66.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x473b78
jmp case.0x473f66.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x473bd0
jmp case.0x473f66.0
movzx ecx, byte [eax + 0x460]
cmp ecx, 0x10
ja case.0x473f66.0
movzx ecx, byte [ecx + 0x473f6d]
jmp dword [ecx*4 + 0x473f7e]
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x473c7c
jmp case.0x473f66.0
cmp dl, 3
jne 0x473fab
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x473cd0
jmp case.0x473f66.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x473c8c
jmp case.0x473f66.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x473d14
jmp case.0x473f66.0
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x473fd6
sub dl, 8
je 0x473fe2
jmp case.0x473f66.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x473d40
jmp case.0x473f66.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x473dac
jmp case.0x473f66.0
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x474001
sub dl, 8
je 0x47400d
jmp case.0x473f66.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x473e68
jmp case.0x473f66.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x473e90
mov edx, dword [eax + 0x468]
mov ecx, dword [ebx + 0x1c]
dec ecx
imul edx, ecx
mov esi, edx
add esi, dword [eax + 0x450]
mov dword [ebp - 0xc], esi
mov esi, dword [eax + 0x454]
mov dword [ebp - 8], esi
mov esi, edx
add esi, dword [eax + 0x44c]
mov dword [ebp - 0x10], esi
mov esi, ecx
test esi, esi
jb 0x4740b1
inc esi
mov eax, dword [ebx + 0x20]
inc eax
push eax
lea eax, [ebx + 0x4c]
push eax
mov eax, dword [ebp + 8]
push eax
movzx eax, byte [ebx + 0x48]
mov ecx, dword [ebx + eax*4 + 0x40]
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.0047310c
test eax, eax
je 0x4740b1
mov eax, ebx
call fcn.004740bc
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0x10]
push eax
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
lea edx, [eax + 1]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
call dword [ebp - 0x18]
movzx eax, byte [ebx + 0x48]
xor al, 1
mov byte [ebx + 0x48], al
mov eax, dword [ebx + 0x14]
mov eax, dword [eax + 0x468]
sub dword [ebp - 0xc], eax
sub dword [ebp - 0x10], eax
mov eax, dword [ebx + 0x18]
add dword [ebp - 8], eax
dec esi
jne 0x47404a
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8