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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x478d40]
cmp byte [eax + 0xc], 0
je 0x4463dd
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4463d6
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x479ba0], 0
jne 0x4462c4
push 0x4463e4
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x4463ec
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x479ba0], eax
cmp dword [0x477be4], 0
jne 0x4463bf
push 0x4463fc
call sub.kernel32.dll_LoadLibraryA
mov dword [0x477be4], eax
cmp dword [0x477be4], 0
je 0x4463bf
push 0x446408
mov eax, dword [0x477be4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x479ba4], eax
push 0x446418
mov eax, dword [0x477be4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x479ba8], eax
push 0x44642c
mov eax, dword [0x477be4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x479bac], eax
push 0x446444
mov eax, dword [0x477be4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x479bb0], eax
push 0x44645c
mov eax, dword [0x477be4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x479bb4], eax
push 0x446470
mov eax, dword [0x477be4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x479bb8], eax
push 0x446488
mov eax, dword [0x477be4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x479bbc], eax
push 0x4464a0
mov eax, dword [0x477be4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x479bc0], eax
push 0x4464bc
mov eax, dword [0x477be4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x479bc4], eax
push 0x4464c8
mov eax, dword [0x477be4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x479bc8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4463dd
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x44a268
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.004040b8
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x44a2b7
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.00404328
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4519f4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x451a44]
test si, 4
je 0x451a08
or bl, 1
test si, 8
je 0x451a12
or bl, 4
test si, 1
je 0x451a1c
or bl, 8
test si, 2
je 0x451a26
or bl, 0x10
test si, 0x10
je 0x451a30
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x451a3f
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x451a48
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x451a80]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x451a61
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x451a70
or bl, 4
test esi, 0x20000000
je 0x451a7b
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x458128
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x45813a
add esp, 0xfffffff0
call fcn.00403608
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041e774
mov eax, dword [0x4787a0]
mov dword [eax + 4], ebx
mov dword [eax], 0x4584cc
mov eax, dword [0x4787b0]
mov dword [eax + 4], ebx
mov dword [eax], 0x4584d8
mov eax, ebx
call fcn.004584e4
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x4154f4]
call fcn.004032b4
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x4154f4]
call fcn.004032b4
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x4154f4]
call fcn.004032b4
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x4154f4]
call fcn.004032b4
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x4154f4]
call fcn.004032b4
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, 0x454900
push eax
push 0
push 0
mov eax, dword [0x478a00]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x4201e0]
call fcn.00421954
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x4201e0]
call fcn.00421954
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x4201e0]
call fcn.00421954
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00458904
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4587e0
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4587e0
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4587e0
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x458277
call fcn.00403660
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x4585c4
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 0x45876f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x458750
mov dl, 1
mov eax, dword [0x415b58]
call fcn.004032b4
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.004040b8
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x45873f
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.004465d0
test al, al
je 0x458732
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, 0x458780
lea eax, [ebp - 0x254]
call fcn.00409418
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x458732
xor eax, eax
push ebp
push 0x45872b
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 0x4587b8
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x458714
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404328
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 0x458714
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404328
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x458732
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x458635
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041a32c
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 0x458776
lea eax, [ebp - 0x260]
call fcn.004040b8
ret

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

Disassembly:
push ecx
mov eax, dword [0x479bec]
cmp byte [eax + 0xa5], 0
jne 0x459115
cmp dword [0x479c04], 0
jne 0x4590d6
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x459060
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x479c04], eax
cmp dword [0x479c00], 0
jne 0x4590f1
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x479c00], eax
cmp dword [0x479c08], 0
jne 0x459115
push esp
push 0
push 0
push 0x459004
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x479c08], eax
pop edx
ret
Function at 0x45920c
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x459223
add esp, 0xfffffff0
call fcn.00403608
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041e774
mov eax, dword [0x4789d8]
cmp word [eax + 2], 0
jne 0x45924b
mov eax, dword [0x4789d8]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045a8fc
mov eax, dword [0x478b14]
cmp word [eax + 2], 0
jne 0x459265
mov eax, dword [0x478b14]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045aaf4
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x4154f4]
call fcn.004032b4
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x4154f4]
call fcn.004032b4
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 [0x420cc0]
call fcn.00428070
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x4593ec
mov eax, dword [0x47885c]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00428440
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x45b0a4
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x47885c]
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.0040ccac
test eax, eax
je 0x45935a
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408df8
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040ccd4
test eax, eax
je 0x45936e
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.00404328
mov eax, dword [0x47862c]
cmp byte [eax], 0
jne 0x4593a2
mov eax, ebx
call fcn.00459514
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.0045b280
mov eax, ebx
call fcn.0045bc44
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4593e2
call fcn.00403660
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x459794
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x479bec]
cmp dword [eax + 0x30], 0
je 0x45983e
cmp dword [ebx + 0x94], 0
jne 0x459838
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x459724
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x459838
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 0x4597fe
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x459838
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.00417bac
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x45980d
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x45a3a0
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 0x45a3d5
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.004041a8
jmp 0x45a3e2
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.0040410c
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x45b45c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45b49d
mov eax, esi
call fcn.00441bfc
test al, al
je 0x45b49d
mov eax, dword [ebx + 0x84]
call fcn.004418f8
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45b49d
push 0
mov eax, dword [ebx + 0x84]
call fcn.004418f8
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x46a8e0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
mov ecx, 8
push 0
push 0
dec ecx
jne 0x46a8e8
push ecx
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x46aada
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, dword [ebx + 8]
lea ecx, [ebp - 0xc]
mov edx, 0x46aaf0
mov eax, esi
call fcn.0046876c
mov edx, dword [ebp - 0xc]
lea eax, [ebx + 0xc]
call fcn.0040410c
lea ecx, [ebp - 0x10]
mov edx, 0x46ab04
mov eax, esi
call fcn.0046876c
mov edx, dword [ebp - 0x10]
lea eax, [ebx + 0x28]
call fcn.0040410c
lea ecx, [ebp - 0x14]
mov edx, 0x46ab1c
mov eax, esi
call fcn.0046876c
mov edx, dword [ebp - 0x14]
lea eax, [ebx + 0x10]
call fcn.0040410c
lea ecx, [ebp - 0x18]
mov edx, 0x46ab38
mov eax, esi
call fcn.0046876c
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x14]
call fcn.0040410c
lea ecx, [ebp - 0x1c]
mov edx, 0x46ab54
mov eax, esi
call fcn.0046876c
mov edx, dword [ebp - 0x1c]
lea eax, [ebx + 0x24]
call fcn.0040410c
lea ecx, [ebp - 0x24]
mov edx, 0x46ab6c
mov eax, esi
call fcn.0046876c
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.004082ac
mov eax, dword [ebp - 0x20]
or edx, 0xffffffff
call fcn.004087f4
mov edi, eax
mov dword [ebx + 0x18], edi
test edi, edi
setge al
mov byte [ebx + 0x4c], al
lea ecx, [ebp - 0x28]
mov edx, 0x46ab84
mov eax, esi
call fcn.0046876c
mov eax, dword [ebp - 0x28]
call fcn.00462244
fstp qword [ebx + 0x30]
wait
lea ecx, [ebp - 0x2c]
mov edx, 0x46ab94
mov eax, esi
call fcn.0046876c
mov eax, dword [ebp - 0x2c]
call fcn.00462244
fstp qword [ebx + 0x40]
wait
lea ecx, [ebp - 0x30]
mov edx, 0x46abac
mov eax, esi
call fcn.0046876c
mov eax, dword [ebp - 0x30]
or edx, 0xffffffff
call fcn.004087f4
inc eax
je 0x46aa7d
lea ecx, [ebp - 0x34]
mov edx, 0x46abac
mov eax, esi
call fcn.0046876c
mov eax, dword [ebp - 0x34]
call fcn.004087b8
mov edi, eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov dword [ebp - 8], eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov ecx, edx
mov eax, ecx
push ecx
mov ecx, 0x3c
cdq
idiv ecx
pop ecx
mov dword [ebp - 4], eax
mov eax, ecx
mov ecx, 0x3c
cdq
idiv ecx
mov edi, edx
push 0
mov ecx, edi
mov dx, word [ebp - 4]
mov ax, word [ebp - 8]
call fcn.00409d68
fstp qword [ebp - 0x3c]
wait
call fcn.0040a0cc
fadd qword [ebp - 0x3c]
fstp qword [ebx + 0x38]
wait
jmp 0x46aa98
lea ecx, [ebp - 0x40]
mov edx, 0x46abac
mov eax, esi
call fcn.0046876c
mov eax, dword [ebp - 0x40]
call fcn.00462244
fstp qword [ebx + 0x38]
wait
lea ecx, [ebp - 0x44]
mov edx, 0x46abbc
mov eax, esi
call fcn.0046876c
mov edx, dword [ebp - 0x44]
lea eax, [ebx + 0x48]
call fcn.0040410c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46aae1
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.004040dc
lea eax, [ebp - 0x34]
mov edx, 0xb
call fcn.004040dc
ret
Function at 0x47186c
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 0x4718c6
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [eax + 0x30]
call fcn.0047185c
mov ebx, eax
lea edx, [ebp - 4]
mov eax, edi
call fcn.00460eb0
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0xc]
call fcn.00460ab0
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 0x4718cd
lea eax, [ebp - 4]
call fcn.004040b8
ret
Function at 0x6bf770
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x480848
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebp
push edi
mov edi, ecx
xor ebp, ebp
mov ecx, dword [esp + 0x48]
lea eax, [esp + 0x48]
push ebp
push eax
push ecx
lea ecx, [edi + 0x104]
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebp
call fcn.006ba670
test eax, eax
jne 0x6bf7dc
push ebp
push 0x598f6c
mov ecx, edi
call fcn.006be9f0
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
pop edi
pop ebp
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
add esp, 0x3c
ret 0x10
mov edx, dword [esp + 0x48]
push ebx
mov ebx, dword [esp + 0x50]
push esi
push ebp
push ebp
push ebx
lea ecx, [edx + 0x14]
call fcn.006ba1f0
lea ecx, [esp + 0x2c]
mov esi, eax
call fcn.006b0190
push ebx
mov dword [esp + 0x4c], ebp
call fcn.006ba820
add esp, 4
test eax, eax
je 0x6bf87f
add esi, 0x18
push esi
call fcn.006f9f30
add esi, eax
push esi
call fcn.006f9f30
mov ecx, dword [esp + 0x60]
add esp, 8
cmp ecx, 3
lea eax, [esi + eax + 8]
ja 0x6bfb82
jmp dword [ecx*4 + 0x41fbc0]
mov eax, dword [esi]
push ebp
push eax
mov ecx, edi
call fcn.006beb30
mov ebx, dword [esp + 0x58]
mov ebp, eax
lea edi, [esi + 0x18]
mov edx, dword [ebp + 0x28]
lea ecx, [ebx + ebx*4]
mov esi, edi
lea eax, [edx + ecx*4]
push esi
mov dword [esp + 0x5c], eax
call fcn.006f9f30
add esi, eax
push esi
call fcn.006f9f30
add esi, eax
add esp, 8
mov esi, dword [esi]
test esi, esi
je 0x6bf8d0
mov ecx, dword [esi + 0x1c]
push ecx
call dword [0x484538]
test eax, eax
je 0x6bf8d0
mov eax, 1
jmp 0x6bf8d2
xor eax, eax
cmp ebx, 8
jge 0x6bfb37
cmp ebx, 7
ja 0x6bfb82
jmp dword [ebx*4 + 0x41fbd0]
test eax, eax
jne 0x6bfb4a
mov ecx, dword [esp + 0x10]
push eax
push 0x598f58
call fcn.006be9f0
push 6
call dword [ebp + 0x2c]
lea edx, [esp + 0x1c]
xor ecx, ecx
add ebx, 0xfffffff8
push edx
mov dword [esp + 0x20], ecx
push ebx
push esi
mov dword [esp + 0x2c], ecx
call eax
mov edx, dword [esp + 0x5c]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x5c]
push ecx
mov ecx, dword [esp + 0x18]
push edx
push eax
call fcn.006c0090
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
lea ecx, [esp + 0x2c]
mov esi, eax
mov dword [esp + 0x48], 0xffffffff
mov dword [esp + 0x2c], 0x5821b8
call fcn.006b0390
mov ecx, dword [esp + 0x40]
mov eax, esi
pop esi
mov edx, edi
pop ebx
pop edi
pop ebp
mov dword fs:[0], ecx
add esp, 0x3c
ret 0x10
Function at 0x6c8670
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x5b0c28]
xor edx, edx
cmp eax, edx
jne 0x6c8696
xor eax, eax
mov byte [eax + 0x5b0b28], al
inc eax
cmp eax, 0x100
jl 0x6c867e
mov dword [0x5b0c28], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x5b0b28
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x6c8727
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 0x6c86fa
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 0x6c86c8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x6c87a0
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 0x6c87f3
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 0x6c87da
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 0x6cca90
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 0x6cccb1
cmp eax, 8
jg 0x6cccb1
cmp dword [esp + 0x8c], 2
jl 0x6cccb1
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 0x6cccb1
sub ebx, edi
test ebx, ebx
mov dword [esp + 0x20], ebx
jle 0x6cccb1
mov eax, dword [esp + 0x80]
test eax, eax
je 0x6ccb17
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 0x6ccc9a
mov ebp, dword [0x4844c8]
mov eax, ebx
mov dword [esp + 0x10], 0x32
sub eax, edx
cmp eax, 0x32
jg 0x6ccb49
mov dword [esp + 0x10], eax
xor eax, eax
test ecx, ecx
jle 0x6ccc81
mov ebx, dword [esp + 0x10]
add ebx, edx
mov dword [esp + 0x20], ebx
sub ecx, eax
cmp ecx, 0x32
jle 0x6ccb69
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
push eax
call 0x8bfa27
push edi
lea eax, [esp + 0x2c]
push esi
push eax
call ebp
mov eax, dword [esp + 0x84]
test eax, eax
je 0x6ccba8
lea ecx, [esp + 0x48]
lea edx, [esp + 0x28]
push ecx
lea eax, [esp + 0x2c]
push edx
push eax
call dword [0x4844b0]
lea ecx, [esp + 0x28]
push ecx
push edi
call 0x8b51da
test eax, eax
jne 0x6ccc68
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.006cc0a0
cmp eax, 1
jne 0x6ccc92
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.006cc950
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x14]
mov eax, ebx
cmp eax, ecx
jl 0x6ccb5d
mov ebx, dword [esp + 0x24]
add edx, dword [esp + 0x10]
cmp edx, ebx
mov dword [esp + 0x14], edx
jge 0x6ccc9a
jmp 0x6ccb34
mov dword [esp + 0x1c], 0
mov ecx, dword [esp + 0x18]
call fcn.006cbca0
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