joyce8/EMBER2024-capa huggingface dataset:
Function at 0x453528
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 0x4536d3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x4536b4
mov dl, 1
mov eax, dword [0x415d28]
call fcn.00403308
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404148
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x4536a3
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.0044120c
test al, al
je 0x453696
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, 0x4536e4
lea eax, [ebp - 0x254]
call fcn.0040940c
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x453696
xor eax, eax
push ebp
push 0x45368f
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 0x45371c
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x453678
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004043b8
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 0x453678
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004043b8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x453696
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x453599
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041a42c
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 0x4536da
lea eax, [ebp - 0x260]
call fcn.00404148
ret

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

Disassembly:
push ecx
mov eax, dword [0x4acbb8]
cmp byte [eax + 0xa5], 0
jne 0x4540c1
cmp dword [0x4acbd0], 0
jne 0x454082
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x45400c
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4acbd0], eax
cmp dword [0x4acbcc], 0
jne 0x45409d
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x4acbcc], eax
cmp dword [0x4acbd4], 0
jne 0x4540c1
push esp
push 0
push 0
push 0x453fb0
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x4acbd4], eax
pop edx
ret
Function at 0x4541b8
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x4541cf
add esp, 0xfffffff0
call fcn.0040365c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041e874
mov eax, dword [0x4aba1c]
cmp word [eax + 2], 0
jne 0x4541f7
mov eax, dword [0x4aba1c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00455890
mov eax, dword [0x4abba4]
cmp word [eax + 2], 0
jne 0x454211
mov eax, dword [0x4abba4]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00455a88
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x4156c4]
call fcn.00403308
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x4156c4]
call fcn.00403308
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 [0x420db0]
call fcn.004284d4
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x454398
mov eax, dword [0x4ab828]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.004288a4
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x456038
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4ab828]
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.0040cfe4
test eax, eax
je 0x454306
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408e00
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040d00c
test eax, eax
je 0x45431a
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.004043b8
mov eax, dword [0x4ab548]
cmp byte [eax], 0
jne 0x45434e
mov eax, ebx
call fcn.004544c0
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.00456214
mov eax, ebx
call fcn.00456bd8
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45438e
call fcn.004036b4
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x454740
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4acbb8]
cmp dword [eax + 0x30], 0
je 0x4547ea
cmp dword [ebx + 0x94], 0
jne 0x4547e4
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4546d0
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4547e4
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 0x4547aa
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4547e4
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.00417d58
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4547b9
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x45534c
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 0x455381
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.00404238
jmp 0x45538e
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.0040419c
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x4563f0
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x456431
mov eax, esi
call fcn.0043c888
test al, al
je 0x456431
mov eax, dword [ebx + 0x84]
call fcn.0043c5b0
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x456431
push 0
mov eax, dword [ebx + 0x84]
call fcn.0043c5b0
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x4570b4
Capabilities:
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffb0
mov dword [esp + 4], edx
mov dword [esp], eax
mov eax, dword [esp + 4]
xor edx, edx
mov dword [eax], edx
lea eax, [esp + 0x10]
push eax
call sub.kernel32.dll_GetSystemInfo
mov ebp, dword [esp + 0x14]
call sub.kernel32.dll_GetCurrentProcessId
mov dword [esp + 8], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0xc], eax
xor edi, edi
mov ebx, dword [esp + 0xc]
shr ebx, 0x10
mov eax, ebx
shl eax, 0x10
mov ebx, eax
mov eax, edi
shl eax, 0x10
sub ebx, eax
mov eax, ebx
xor edx, edx
div ebp
imul ebp
mov ebx, eax
push 4
push 0x3000
push ebp
push ebx
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
test esi, esi
je 0x457132
cmp esi, ebx
je 0x457132
push 0x8000
push 0
push esi
call sub.kernel32.dll_VirtualFree_1
inc edi
jmp 0x4571ab
test esi, esi
jne 0x4571b4
push 0x1c
lea eax, [esp + 0x38]
push eax
push ebx
call sub.kernel32.dll_VirtualQuery_1
cmp dword [esp + 0x40], 0x118
jb 0x4571a8
mov eax, dword [esp + 0x48]
and eax, 4
cmp eax, 4
jne 0x4571a8
mov eax, dword [esp + 8]
xor edx, edx
xor eax, 0x23456789
xor edx, 0xabcdef01
cmp edx, dword [ebx + 4]
jne 0x4571a8
cmp eax, dword [ebx]
jne 0x4571a8
mov eax, dword [esp + 8]
xor edx, edx
xor eax, 0x10fedcba
xor edx, 0x98765432
cmp edx, dword [ebx + 0x114]
jne 0x4571a8
cmp eax, dword [ebx + 0x110]
jne 0x4571a8
lea eax, [ebx + 8]
mov edx, dword [esp]
xor ecx, ecx
mov cl, byte [eax]
inc ecx
call fcn.00402c54
je 0x4571b4
inc edi
xor ebx, ebx
cmp edi, 0x14
jle 0x4570eb
xor eax, eax
test esi, esi
je 0x45721a
cmp esi, ebx
jne 0x457236
mov eax, dword [esp + 8]
xor edx, edx
xor eax, 0x23456789
xor edx, 0xabcdef01
mov dword [ebx], eax
mov dword [ebx + 4], edx
lea eax, [ebx + 8]
mov edx, dword [esp]
call fcn.00402ba8
mov eax, dword [esp + 8]
xor edx, edx
xor eax, 0x10fedcba
xor edx, 0x98765432
mov dword [ebx + 0x110], eax
mov dword [ebx + 0x114], edx
mov dword [ebx + 0x108], 1
lea eax, [ebx + 0x118]
mov edx, dword [esp + 4]
mov dword [edx], 1
jmp 0x457236
test ebx, ebx
je 0x457236
inc dword [ebx + 0x108]
lea eax, [ebx + 0x118]
mov edx, dword [esp + 4]
mov ecx, dword [ebx + 0x108]
mov dword [edx], ecx
add esp, 0x50
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x459f9c
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x45a15c
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x28]
xor ecx, ecx
mov edx, 0x24
call fcn.00402cc4
lea eax, [ebp - 0x28]
push eax
call sub.kernel32.dll_GetSystemInfo
mov eax, dword [ebp - 0x14]
mov dword [0x4a7854], eax
mov eax, dword [ebp - 0xc]
mov dword [0x4a7858], eax
mov eax, dword [ebp - 0x24]
mov dword [0x4a785c], eax
mov eax, dword [0x4abe60]
cmp dword [eax], 2
sete byte [0x4a7384]
push 0x45a168
call sub.kernel32.dll_GetModuleHandleA_2
lea edx, [ebp - 4]
call fcn.0045a8ec
cmp byte [0x4a7384], 0
jne 0x45a028
lea edx, [ebp - 0x5c]
mov eax, dword [ebp - 4]
call fcn.0045a91c
test al, al
je 0x45a028
mov eax, dword [ebp - 0x4c]
mov dword [0x4ad16c], eax
jmp 0x45a02f
xor eax, eax
mov dword [0x4ad16c], eax
call fcn.00459d14
and eax, 0x7f
cmp eax, 0x10
ja case.0x45a040.0
jmp dword [eax*4 + 0x45a047]
mov byte [0x4a7370], 1
jmp case.0x45a040.0
mov byte [0x4a7374], 1
jmp case.0x45a040.0
mov byte [0x4a7378], 1
jmp case.0x45a040.0
mov byte [0x4a737c], 1
jmp case.0x45a040.0
mov byte [0x4a7380], 1
jmp case.0x45a040.0
mov byte [0x4a7388], 1
mov byte [0x4a738c], 1
jmp case.0x45a040.0
mov byte [0x4a7388], 1
mov byte [0x4a7390], 1
jmp case.0x45a040.0
mov byte [0x4a7388], 1
mov byte [0x4a7390], 1
mov byte [0x4a7394], 1
jmp case.0x45a040.0
mov byte [0x4a7398], 1
jmp case.0x45a040.0
mov byte [0x4a739c], 1
jmp case.0x45a040.0
mov byte [0x4a73a0], 1
jmp case.0x45a040.0
mov byte [0x4a73a4], 1
jmp case.0x45a040.0
mov byte [0x4a73a8], 1
jmp case.0x45a040.0
mov byte [0x4a73ac], 1
jmp case.0x45a040.0
mov byte [0x4a73b0], 1
jmp case.0x45a040.0
mov byte [0x4a73b4], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45a163
lea eax, [ebp - 4]
call fcn.00404148
ret

Function at 0x45a91c
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x45a9c3
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea eax, [ebp - 0xc]
push eax
mov eax, esi
call fcn.00404608
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov edi, eax
test edi, edi
jbe 0x45a9ad
lea eax, [ebp - 0x10]
mov edx, edi
call fcn.00404794
mov eax, dword [ebp - 0x10]
push eax
push edi
mov eax, dword [ebp - 0xc]
push eax
mov eax, esi
call fcn.00404608
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x45a9ad
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x45a9d4
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x45a9ad
cmp dword [ebp - 8], 0x34
jne 0x45a9ad
mov bl, 1
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 4]
mov esi, eax
mov edi, edx
mov ecx, 0xd
rep movsd dword es:[edi], dword [esi]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45a9ca
lea eax, [ebp - 0x10]
call fcn.00404148
ret
Function at 0x45b2e0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
call fcn.0045b29c
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x45b354
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov dword [0x4ad19c], eax
mov ebx, 0x45b228
lea eax, [ebp - 8]
push eax
push 0x40
push 4
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x45b354
xor eax, eax
push ebp
push 0x45b34d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov dword [eax], ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45b354
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
push 4
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_VirtualProtect
ret
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x45b35c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
call fcn.0045b29c
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x45b3c7
mov ebx, dword [0x4ad19c]
lea eax, [ebp - 8]
push eax
push 0x40
push 4
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x45b3c7
xor eax, eax
push ebp
push 0x45b3c0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov dword [eax], ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45b3c7
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
push 4
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_VirtualProtect
ret
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4610b8
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x4610e6
mov eax, ebx
call fcn.00461b6c
cmp dword [ebx + 0x40], 0
je 0x4610df
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x461157
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x461149
cmp dword [ebx + 8], 0
je 0x461108
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x46111a
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x461149
cmp dword [ebx + 8], 0
je 0x4610fb
cmp eax, 3
je 0x46112d
dec eax
jne 0x4610fb
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x4610fb
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x4610fb
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x461175
cmp dword [ebx + 0x14], 0xcc
je 0x461175
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.00461180
pop ebx
ret
Function at 0x473a8c
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x1c]
test al, al
jne 0x473b6c
mov eax, dword [ebp - 4]
call fcn.00426f68
call fcn.00422af0
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x2c]
test eax, eax
jl 0x473b6c
inc eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x20]
test eax, eax
jl 0x473b60
inc eax
mov dword [ebp - 0x1c], eax
xor esi, esi
push esi
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.gdi32.dll_GetPixel
mov edi, eax
mov eax, edi
call fcn.00406f88
xor ebx, ebx
mov bl, al
imul ebx, dword [ebp - 8]
mov eax, edi
call fcn.00406f8c
and eax, 0xff
imul dword [ebp - 0xc]
add ebx, eax
mov eax, edi
call fcn.00406f90
and eax, 0xff
imul dword [ebp + 8]
add ebx, eax
mov eax, ebx
mov edx, dword [ebp - 8]
add edx, dword [ebp - 0xc]
add edx, dword [ebp + 8]
mov ecx, edx
cdq
idiv ecx
mov edi, eax
mov ebx, edi
mov ecx, ebx
mov edx, ebx
mov eax, ebx
call fcn.00406f6c
push eax
push esi
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.gdi32.dll_SetPixel
inc esi
dec dword [ebp - 0x1c]
jne 0x473aeb
inc dword [ebp - 0x10]
dec dword [ebp - 0x18]
jne 0x473ad9
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x473b78
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x1c]
test al, al
jne 0x473c58
mov eax, dword [ebp - 4]
call fcn.00426f68
call fcn.00422af0
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x2c]
test eax, eax
jl 0x473c58
inc eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x20]
test eax, eax
jl 0x473c4c
inc eax
mov dword [ebp - 0x1c], eax
xor esi, esi
push esi
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.gdi32.dll_GetPixel
mov edi, eax
mov eax, edi
call fcn.00406f88
xor ebx, ebx
mov bl, al
imul ebx, dword [ebp - 8]
mov eax, edi
call fcn.00406f8c
and eax, 0xff
imul dword [ebp - 0xc]
add ebx, eax
mov eax, edi
call fcn.00406f90
and eax, 0xff
imul dword [ebp + 8]
add ebx, eax
mov eax, ebx
mov edx, dword [ebp - 8]
add edx, dword [ebp - 0xc]
add edx, dword [ebp + 8]
mov ecx, edx
cdq
idiv ecx
mov edi, eax
mov ebx, edi
mov ecx, ebx
mov edx, ebx
mov eax, ebx
call fcn.00406f6c
push eax
push esi
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.gdi32.dll_SetPixel
inc esi
dec dword [ebp - 0x1c]
jne 0x473bd7
inc dword [ebp - 0x10]
dec dword [ebp - 0x18]
jne 0x473bc5
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x494a60
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
xor edx, edx
push ebp
push 0x494aba
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [eax + 0x30]
call fcn.00494a50
mov ebx, eax
lea edx, [ebp - 4]
mov eax, edi
call fcn.004927fc
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0xc]
call fcn.00492354
mov edx, dword [esi + 8]
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x494ac1
lea eax, [ebp - 4]
call fcn.00404148
ret
Function at 0x499014
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
mov ebx, eax
push ebp
push ecx
mov esi, dword [ebx + 0x24]
mov edi, dword [ebx + 0x34]
sub edi, dword [ebx + 0x6c]
sub edi, dword [ebx + 0x64]
test edi, edi
jne 0x49903e
cmp dword [ebx + 0x64], 0
jne 0x49903e
cmp dword [ebx + 0x6c], 0
jne 0x49903e
mov edi, esi
jmp 0x4990c5
cmp edi, 0xffffffff
jne 0x499046
dec edi
jmp 0x4990c5
mov eax, dword [ebx + 0x24]
sub eax, 0x106
add eax, esi
cmp eax, dword [ebx + 0x64]
ja 0x4990c5
push esi
mov eax, dword [ebx + 0x30]
mov edx, eax
mov ebp, esi
add edx, ebp
push edx
push eax
call fcn.00498410
add esp, 0xc
sub dword [ebx + 0x68], esi
sub dword [ebx + 0x64], esi
sub dword [ebx + 0x54], ebp
mov eax, dword [ebx + 0x44]
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x3c]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp esi, dword [esp]
ja 0x499093
mov cx, word [esp]
sub cx, si
jmp 0x499095
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x49907c
mov eax, esi
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x38]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp esi, dword [esp]
ja 0x4990bb
mov cx, word [esp]
sub cx, si
jmp 0x4990bd
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x4990a4
add edi, esi
mov ebp, dword [ebx]
cmp dword [ebp + 4], 0
je 0x499122
mov edx, dword [ebx + 0x30]
mov ecx, edi
add edx, dword [ebx + 0x64]
mov eax, ebp
add edx, dword [ebx + 0x6c]
call fcn.00498db0
add dword [ebx + 0x6c], eax
cmp dword [ebx + 0x6c], 3
jb 0x49910d
mov eax, dword [ebx + 0x30]
mov edx, dword [ebx + 0x64]
movzx eax, byte [eax + edx]
mov dword [ebx + 0x40], eax
mov ecx, dword [ebx + 0x50]
shl eax, cl
mov edx, dword [ebx + 0x30]
mov ecx, dword [ebx + 0x64]
movzx edx, byte [edx + ecx + 1]
xor eax, edx
and eax, dword [ebx + 0x4c]
mov dword [ebx + 0x40], eax
cmp dword [ebx + 0x6c], 0x106
jae 0x499122
mov eax, dword [ebx]
cmp dword [eax + 4], 0
jne 0x49901e
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x49f378
Capabilities:
Hash data with crc32

Disassembly:
push ebx
push esi
xor esi, esi
mov ecx, 0x4ae1cc
mov eax, esi
mov edx, 8
mov ebx, eax
and ebx, 1
test bl, bl
je 0x49f39a
shr eax, 1
xor eax, 0xedb88320
jmp 0x49f39c
shr eax, 1
dec edx
jne 0x49f388
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x49f381
mov byte [0x4ae5cc], 1
pop esi
pop ebx
ret

Function at 0x49f3b8
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x4ae5cc], 0
jne 0x49f3cf
call fcn.0049f378
mov eax, edi
dec eax
test eax, eax
jl 0x49f3f8
inc eax
xor edx, edx
xor ecx, ecx
mov cl, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x4ae1cc]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x49f3d9
mov eax, ebx
pop edi
pop esi
pop ebx
ret