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

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x44b674]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44b655
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44b664
or bl, 4
test esi, 0x20000000
je 0x44b66f
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x451c78
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x451c8a
add esp, 0xfffffff0
call fcn.00403a3c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00423c4c
mov eax, dword [0x480c8c]
mov dword [eax + 4], ebx
mov dword [eax], 0x45201c
mov eax, dword [0x480c98]
mov dword [eax + 4], ebx
mov dword [eax], 0x452028
mov eax, ebx
call fcn.00452034
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x419cac]
call fcn.004036c0
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x419cac]
call fcn.004036c0
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x419cac]
call fcn.004036c0
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x419cac]
call fcn.004036c0
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x419cac]
call fcn.004036c0
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, 0x44e4fc
push eax
push 0
push 0
mov eax, dword [0x480e94]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x4255dc]
call fcn.004269e0
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x4255dc]
call fcn.004269e0
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x4255dc]
call fcn.004269e0
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00452454
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x452330
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x452330
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x452330
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x451dc7
call fcn.00403a94
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x452114
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 0x4522bf
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x4522a0
mov dl, 1
mov eax, dword [0x41a19c]
call fcn.004036c0
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404444
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x45228f
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.0043fd38
test al, al
je 0x452282
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, 0x4522d0
lea eax, [ebp - 0x254]
call fcn.004119c4
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x452282
xor eax, eax
push ebp
push 0x45227b
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 0x452308
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x452264
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004046ac
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 0x452264
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004046ac
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x452282
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x452185
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041e2e4
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 0x4522c6
lea eax, [ebp - 0x260]
call fcn.00404444
ret

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

Disassembly:
push ecx
mov eax, dword [0x482ed8]
cmp byte [eax + 0xa5], 0
jne 0x452c65
cmp dword [0x482ef0], 0
jne 0x452c26
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x452bb0
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x482ef0], eax
cmp dword [0x482eec], 0
jne 0x452c41
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x482eec], eax
cmp dword [0x482ef4], 0
jne 0x452c65
push esp
push 0
push 0
push 0x452b54
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x482ef4], eax
pop edx
ret
Function at 0x452d5c
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x452d73
add esp, 0xfffffff0
call fcn.00403a3c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00423c4c
mov eax, dword [0x480e80]
cmp word [eax + 2], 0
jne 0x452d9b
mov eax, dword [0x480e80]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045420c
mov eax, dword [0x480f94]
cmp word [eax + 2], 0
jne 0x452db5
mov eax, dword [0x480f94]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00454404
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x419cac]
call fcn.004036c0
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x419cac]
call fcn.004036c0
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], 0x80000018
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 [0x425d8c]
call fcn.0042b998
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x452f3c
mov eax, dword [0x480d2c]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042bd68
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x454974
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x480d2c]
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.00413244
test eax, eax
je 0x452eaa
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00411320
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0041326c
test eax, eax
je 0x452ebe
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.004046ac
mov eax, dword [0x480b54]
cmp byte [eax], 0
jne 0x452ef2
mov eax, ebx
call fcn.00453064
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.00454b50
mov eax, ebx
call fcn.00455490
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x452f32
call fcn.00403a94
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4532d8
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x482ed8]
cmp dword [eax + 0x30], 0
je 0x453382
cmp dword [ebx + 0x94], 0
jne 0x45337c
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x453268
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x45337c
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 0x453342
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x45337c
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.0041c34c
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x453351
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x453e60
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 0x453e95
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.00404534
jmp 0x453ea2
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404498
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x454d2c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x454d6d
mov eax, esi
call fcn.0043b5fc
test al, al
je 0x454d6d
mov eax, dword [ebx + 0x84]
call fcn.0043b2f8
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x454d6d
push 0
mov eax, dword [ebx + 0x84]
call fcn.0043b2f8
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x481775
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x1c]
test edi, edi
je 0x48184a
mov ebx, dword [esp + 0x20]
test ebx, ebx
je 0x48184a
mov eax, dword [edi + 0x3c]
cmp dword [eax + edi + 0x7c], 0
je 0x48184a
mov eax, dword [eax + edi + 0x78]
add eax, edi
mov ecx, ebx
mov esi, dword [eax + 0x1c]
sub ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
add esi, edi
mov dword [esp + 0x14], esi
mov dword [esp + 0x20], edx
cmp ecx, edx
ja 0x4817d0
mov eax, dword [esi + ecx*4]
add eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 8
mov edx, dword [eax + 0x20]
mov ecx, dword [eax + 0x24]
mov ebp, dword [eax + 0x18]
add edx, edi
add ecx, edi
xor esi, esi
mov dword [esp + 0x10], edx
mov dword [esp + 0x1c], ecx
test ebp, ebp
je 0x48184a
mov eax, dword [edx + esi*4]
add eax, edi
mov ecx, ebx
lea ecx, [ecx]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x481815
test dl, dl
je 0x481811
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x481815
add ecx, 2
add eax, 2
test dl, dl
jne 0x4817f5
xor eax, eax
jmp 0x48181a
sbb eax, eax
or eax, 1
test eax, eax
jne 0x48182c
mov eax, dword [esp + 0x1c]
movzx eax, word [eax + esi*2]
cmp eax, dword [esp + 0x20]
jbe 0x481837
inc esi
cmp esi, ebp
jae 0x48184a
mov edx, dword [esp + 0x10]
jmp 0x4817eb
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + eax*4]
add eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 8
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret 8

Function at 0x481aae
Capabilities:
Parse pe header

Disassembly:
mov ecx, dword [esp + 4]
test ecx, ecx
jne 0x481ab9
xor eax, eax
ret
push esi
mov esi, dword [esp + 0xc]
cmp esi, 0x40
jb 0x481acd
mov eax, 0x5a4d
cmp word [ecx], ax
je 0x481ad1
xor eax, eax
pop esi
ret
push edi
mov edi, dword [ecx + 0x3c]
lea eax, [edi + 0xf8]
cmp esi, eax
jb 0x481b0a
cmp dword [edi + ecx], 0x4550
jne 0x481b0a
mov eax, 0x14c
cmp word [edi + ecx + 4], ax
jne 0x481b0a
test byte [edi + ecx + 0x16], 2
je 0x481b0a
movzx eax, word [edi + ecx + 0x14]
mov edx, 0xe0
cmp ax, dx
jae 0x481b0f
pop edi
xor eax, eax
pop esi
ret
push ebx
add eax, 0xffffff20
movzx ebx, ax
add ebx, edi
movzx edi, word [edi + ecx + 6]
add ebx, ecx
xor edx, edx
test edi, edi
jle 0x481b4b
xor eax, eax
jmp 0x481b2e
lea eax, [eax + eax*4]
mov ecx, dword [ebx + eax*8 + 0x10c]
add ecx, dword [ebx + eax*8 + 0x108]
cmp ecx, esi
ja 0x481b54
inc edx
movzx eax, dx
cmp eax, edi
jl 0x481b2e
pop ebx
pop edi
mov eax, 1
pop esi
ret
pop ebx
pop edi
xor eax, eax
pop esi
ret
Function at 0x481b5a
Capabilities:
Access peb ldr_data

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x10], 0
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x10], eax
mov ebp, dword [esp + 0x10]
mov edi, dword [ebp + 0x30]
mov esi, dword [esp + 0x18]
movzx ebx, word [esi]
mov eax, ebx
lea ecx, [eax - 0x41]
cmp ecx, 0x19
ja 0x481b92
add eax, 0x20
movzx edx, word [edi]
lea ecx, [edx - 0x41]
cmp ecx, 0x19
ja 0x481ba0
add edx, 0x20
cmp eax, edx
jne 0x481bb1
test bx, bx
je 0x481be6
add esi, 2
add edi, 2
jmp 0x481b82
movzx ecx, word [esi]
lea eax, [ecx - 0x41]
cmp eax, 0x19
ja 0x481bbf
add ecx, 0x20
movzx edx, word [edi]
lea eax, [edx - 0x41]
cmp eax, 0x19
ja 0x481bcd
add edx, 0x20
sub ecx, edx
je 0x481be6
mov ebp, dword [ebp]
mov dword [esp + 0x10], ebp
cmp dword [ebp + 0x18], 0
jne 0x481b7b
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret
mov eax, dword [ebp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret

Function at 0x4824d6
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push ebx
sub esp, 0x10
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
mov ecx, dword [edx]
test eax, eax
je 0x482597
test ecx, ecx
je 0x482597
mov ebx, dword [eax + 0x3c]
mov edx, dword [ebx + eax + 0x78]
mov ebx, dword [ebx + eax + 0x7c]
test edx, edx
je 0x482597
test ebx, ebx
je 0x482597
mov ebx, eax
add ebx, edx
je 0x482597
mov esi, dword [edx + eax + 0x18]
test esi, esi
je 0x482597
cmp dword [edx + eax + 0x14], 0
je 0x482597
mov edi, dword [edx + eax + 0x20]
mov ebx, dword [edx + eax + 0x24]
add edi, eax
mov edx, dword [edx + eax + 0x1c]
add ebx, eax
add edx, eax
test esi, esi
jbe 0x482597
mov dword [esp], edx
xor ebp, ebp
mov dword [esp + 0xc], edi
mov dword [esp + 4], esi
mov dword [esp + 8], ecx
mov eax, dword [esp + 0xc]
mov edi, dword [esp + 8]
movzx ecx, word [ebx + ebp*2]
mov esi, dword [eax + ebp*4]
add esi, dword [esp + 0x24]
mov dl, byte [edi]
cmp dl, byte [esi]
jne 0x482587
test dl, dl
je 0x482583
mov dl, byte [edi + 1]
cmp dl, byte [esi + 1]
jne 0x482587
add edi, 2
add esi, 2
test dl, dl
jne 0x482567
xor eax, eax
jmp 0x48258c
sbb eax, eax
or eax, 1
test eax, eax
je 0x4825a3
inc ebp
cmp ebp, dword [esp + 4]
jb 0x482554
xor eax, eax
add esp, 0x10
pop ebx
pop edi
pop esi
pop ebp
ret 8
mov edx, dword [esp]
mov edx, dword [edx + ecx*4]
mov eax, dword [esp + 0x24]
add eax, edx
add esp, 0x10
pop ebx
pop edi
pop esi
pop ebp
ret 8
Function at 0x4a3b5a
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x5588d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
call fcn.0054d533
xor ebp, ebp
mov dword [esi], 0x6a7068
mov dword [esi + 0x3c], ebp
mov dword [esi + 0x40], ebp
lea edi, [esi + 0x44]
mov dword [esp + 0x38], ebp
mov dword [esp + 0x14], edi
lea ecx, [edi + 0x18]
mov dword [edi], 0x6a617c
call fcn.00491b60
lea ecx, [edi + 0x30]
mov byte [esp + 0x38], 1
call fcn.0054b00e
lea ebx, [edi + 0x44]
mov ecx, ebx
call fcn.00491b60
mov dword [ebx], 0x6a6b94
mov dword [edi], 0x6a6f80
mov dword [esi + 0xa0], ebp
mov dword [esi + 0x9c], 0x6a6308
lea ecx, [esi + 0xb0]
call fcn.00491b60
lea edi, [esi + 0xc8]
mov dword [edi + 4], ebp
mov dword [edi], 0x6a705c
mov byte [esp + 0x38], 5
mov dword [esi], 0x6a6f88
mov dword [esi + 0xac], ebp
call fcn.00555d05
mov eax, dword [eax + 0xc]
push 0x40e
push eax
call dword [0x55e594]
push eax
mov ecx, edi
call fcn.00552bc9
mov ecx, dword [esi + 0xcc]
lea eax, [esp + 0x18]
push eax
push 0x18
push ecx
call dword [0x55e154]
mov ecx, dword [esp + 0x1c]
mov eax, 0x55555556
imul ecx
mov ecx, dword [esp + 0x20]
mov eax, edx
shr eax, 0x1f
add edx, eax
mov dword [esi + 0xd4], ecx
mov ecx, dword [esp + 0x30]
mov dword [esi + 0xd0], edx
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret

Function at 0x4a3cf0
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x558965
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
mov dword [esi], 0x6a6f88
mov dword [esp + 0x18], 0
lea ecx, [esi + 0xc8]
mov dword [esp + 0xc], ecx
mov dword [ecx], 0x6a63cc
mov byte [esp + 0x18], 4
call fcn.00552c20
lea ecx, [esi + 0xb0]
mov byte [esp + 0x18], 2
mov dword [ecx], 0x6a6170
call fcn.00491d60
lea ecx, [esi + 0x9c]
mov dword [esp + 0xc], ecx
mov dword [ecx], 0x6a63cc
mov byte [esp + 0x18], 5
call fcn.00552c20
lea edi, [esi + 0x44]
mov dword [esp + 0xc], edi
lea ecx, [edi + 0x44]
mov byte [esp + 0x18], 7
mov dword [ecx], 0x6a6170
call fcn.00491d60
lea ecx, [edi + 0x30]
mov byte [esp + 0x18], 6
call fcn.0054b041
lea ecx, [edi + 0x18]
mov byte [esp + 0x18], 0
mov dword [ecx], 0x6a6170
call fcn.00491d60
mov ecx, esi
mov dword [esp + 0x18], 0xffffffff
call fcn.0055401c
mov ecx, dword [esp + 0x10]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x4b6db0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x6e6bb8]
xor edx, edx
cmp eax, edx
jne 0x4b6dd6
xor eax, eax
mov byte [eax + 0x6e6ab8], al
inc eax
cmp eax, 0x100
jl 0x4b6dbe
mov dword [0x6e6bb8], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x6e6ab8
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x4b6e67
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x4b6e3a
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x4b6e08
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x4b6e70
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x4b6ec3
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x4b6eaa
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4bb540
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x68
mov eax, dword [esp + 0x78]
push ebx
push esi
cmp eax, 1
push edi
mov dword [esp + 0x14], ecx
jl 0x4bb761
cmp eax, 8
jg 0x4bb761
cmp dword [esp + 0x8c], 2
jl 0x4bb761
mov eax, dword [esp + 0x7c]
mov esi, dword [eax]
mov edi, dword [eax + 4]
mov ecx, dword [eax + 8]
mov dword [esp + 0x6c], ecx
sub ecx, esi
mov ebx, dword [eax + 0xc]
mov dword [esp + 0x7c], ecx
test ecx, ecx
mov dword [esp + 0x70], ebx
jle 0x4bb761
sub ebx, edi
test ebx, ebx
mov dword [esp + 0x20], ebx
jle 0x4bb761
mov eax, dword [esp + 0x80]
test eax, eax
je 0x4bb5c7
mov edx, dword [eax]
mov dword [esp + 0x44], edx
mov edx, dword [eax + 4]
mov dword [esp + 0x48], edx
mov edx, dword [eax + 8]
mov dword [esp + 0x4c], edx
mov eax, dword [eax + 0xc]
mov dword [esp + 0x50], eax
xor edx, edx
push ebp
test ebx, ebx
mov dword [esp + 0x1c], 1
mov dword [esp + 0x14], edx
jle 0x4bb74a
mov ebp, dword [0x55e5d0]
mov eax, ebx
mov dword [esp + 0x10], 0x32
sub eax, edx
cmp eax, 0x32
jg 0x4bb5f9
mov dword [esp + 0x10], eax
xor eax, eax
test ecx, ecx
jle 0x4bb731
mov ebx, dword [esp + 0x10]
add ebx, edx
mov dword [esp + 0x20], ebx
sub ecx, eax
cmp ecx, 0x32
jle 0x4bb619
mov ecx, 0x32
lea ebx, [ecx + eax]
mov ecx, dword [esp + 0x20]
push ecx
push ebx
push edx
lea edx, [esp + 0x34]
push eax
push edx
call dword [0x55e5bc]
push edi
lea eax, [esp + 0x2c]
push esi
push eax
call ebp
mov eax, dword [esp + 0x84]
test eax, eax
je 0x4bb658
lea ecx, [esp + 0x48]
lea edx, [esp + 0x28]
push ecx
lea eax, [esp + 0x2c]
push edx
push eax
call dword [0x55e5c4]
lea ecx, [esp + 0x28]
push ecx
call dword [0x55e610]
test eax, eax
jne 0x4bb718
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x34]
mov dword [esp + 0x40], ecx
mov eax, edi
mov ecx, esi
mov dword [esp + 0x44], edx
neg eax
neg ecx
push eax
lea edx, [esp + 0x3c]
push ecx
push edx
call ebp
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x60], edx
lea edx, [esp + 0x58]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x44]
push edx
mov edx, dword [esp + 0x94]
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x74]
push edx
mov edx, dword [esp + 0x94]
sub ecx, edi
sub eax, esi
push edx
push ecx
mov ecx, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x9c]
push eax
call fcn.004bab50
cmp eax, 1
jne 0x4bb742
mov ecx, dword [esp + 0x94]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x80]
push edx
push eax
push ecx
mov ecx, dword [esp + 0x28]
call fcn.004bb400
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x14]
mov eax, ebx
cmp eax, ecx
jl 0x4bb60d
mov ebx, dword [esp + 0x24]
add edx, dword [esp + 0x10]
cmp edx, ebx
mov dword [esp + 0x14], edx
jge 0x4bb74a
jmp 0x4bb5e4
mov dword [esp + 0x1c], 0
mov ecx, dword [esp + 0x18]
call fcn.004ba720
mov eax, dword [esp + 0x1c]
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x68
ret 0x1c
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x68
ret 0x1c