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

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x4484ac]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44848d
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44849c
or bl, 4
test esi, 0x20000000
je 0x4484a7
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x44eb88
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x44eb9a
add esp, 0xfffffff0
call fcn.00403814
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00419a18
mov eax, dword [0x45fe10]
mov dword [eax + 4], ebx
mov dword [eax], 0x44ef2c
mov eax, dword [0x45fe1c]
mov dword [eax + 4], ebx
mov dword [eax], 0x44ef38
mov eax, ebx
call fcn.0044ef44
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x411c30]
call fcn.004034ac
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x411c30]
call fcn.004034ac
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x411c30]
call fcn.004034ac
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x411c30]
call fcn.004034ac
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x411c30]
call fcn.004034ac
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, 0x44b35c
push eax
push 0
push 0
mov eax, dword [0x45ff50]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41b468]
call fcn.0041cb28
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41b468]
call fcn.0041cb28
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41b468]
call fcn.0041cb28
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0044f3b8
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44f280
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44f280
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44f280
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x44ecd7
call fcn.0040386c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x44f040
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd9c
push ebx
xor edx, edx
mov dword [ebp - 0x264], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x44f210
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x44f1f1
mov dl, 1
mov eax, dword [0x41204c]
call fcn.004034ac
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404268
lea eax, [ebp - 0x118]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
mov ebx, eax
call sub.kernel32.dll_GetSystemDefaultLangID
movzx eax, ax
mov dword [ebp - 0x10], eax
dec ebx
test ebx, ebx
jl 0x44f1e0
inc ebx
mov dword [ebp - 0x14], ebx
lea eax, [ebp - 0x118]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
call fcn.0043cf40
test al, al
jne 0x44f0dd
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x44f1d3
xor edx, edx
push ebp
push 0x44f1cc
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x44f0fd
mov ebx, dword [ebp - 0x10]
jmp 0x44f0ff
mov ebx, eax
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov dword [ebp - 0x260], ebx
mov byte [ebp - 0x25c], 0
lea ecx, [ebp - 0x260]
mov edx, 0x44f220
lea eax, [ebp - 0x258]
call fcn.00408f2c
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x44f1b5
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x218]
push eax
push 0
push 0
push 0x44f258
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x44f1b5
lea eax, [ebp - 0x264]
lea edx, [ebp - 0x218]
mov ecx, pe_nt_image_headers32
call fcn.004044d8
mov edx, dword [ebp - 0x264]
mov eax, dword [ebp - 0x18]
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 - 0x18]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x44f1b5
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x218]
mov ecx, pe_nt_image_headers32
call fcn.004044d8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44f1d3
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x18], 4
dec dword [ebp - 0x14]
jne 0x44f0be
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00415bb0
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 0x44f217
lea eax, [ebp - 0x264]
call fcn.00404268
ret
Function at 0x44fb58
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x461b44]
cmp byte [eax + 0xa5], 0
jne 0x44fbc9
cmp dword [0x461b5c], 0
jne 0x44fb8a
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x44fb14
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x461b5c], eax
cmp dword [0x461b58], 0
jne 0x44fba5
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x461b58], eax
cmp dword [0x461b60], 0
jne 0x44fbc9
push esp
push 0
push 0
push 0x44fab8
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x461b60], eax
pop edx
ret

Function at 0x45025c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x461b44]
cmp dword [eax + 0x30], 0
je 0x450306
cmp dword [ebx + 0x94], 0
jne 0x450300
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4501ec
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x450300
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 0x4502c6
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x450300
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.00413fac
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4502d5
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x450e64
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 0x450e99
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.00404358
jmp 0x450ea6
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004042bc
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x451fb8
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x451ff9
mov eax, esi
call fcn.0043851c
test al, al
je 0x451ff9
mov eax, dword [ebx + 0x84]
call fcn.00438218
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x451ff9
push 0
mov eax, dword [ebx + 0x84]
call fcn.00438218
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x453ce8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x218], ecx
mov dword [ebp - 0x214], ecx
mov dword [ebp - 0x210], ecx
mov dword [ebp - 0x20c], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x453f48
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 1
jl 0x453d4b
lea edx, [ebp - 0x20c]
mov eax, dword [ebp - 4]
call fcn.004537b0
mov eax, dword [ebp - 0x20c]
mov edx, ebx
call fcn.0040c28c
cmp al, 1
jne 0x453d4b
dec ebx
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 4]
call fcn.00453ac8
test al, al
je 0x453ed7
cmp dword [ebp - 8], 0
jge 0x453d69
xor eax, eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
inc ebx
lea edx, [ebp - 0x210]
mov eax, dword [ebp - 4]
call fcn.004537b0
mov eax, dword [ebp - 0x210]
call fcn.00404528
cmp ebx, eax
jge 0x453db3
lea edx, [ebp - 0x214]
mov eax, dword [ebp - 4]
call fcn.004537b0
mov eax, dword [ebp - 0x214]
mov al, byte [eax + ebx - 1]
mov edx, dword [0x46011c]
and eax, 0xff
bt dword [edx], eax
jae 0x453db3
inc ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x228]
cmp eax, dword [ebp - 8]
jg 0x453dc7
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
mov ecx, ebx
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.00453cc4
cmp ebx, dword [ebp - 8]
je 0x453ec9
lea eax, [ebp - 0x108]
push eax
call sub.user32.dll_GetKeyboardState
mov edx, pe_nt_image_headers32
lea eax, [ebp - 0x208]
mov byte [eax], 0
inc eax
dec edx
jne 0x453df3
mov byte [ebp - 0x1f8], 0x81
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.004036e4
and eax, 0x7f
movzx eax, word [eax*2 + 0x45fd30]
mov byte [ebp + eax - 0x208], 0x81
lea eax, [ebp - 0x208]
push eax
call sub.user32.dll_SetKeyboardState
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 1
xor eax, eax
push ebp
push 0x453eb6
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.004036e4
and eax, 0x7f
movzx eax, word [eax*2 + 0x45fd30]
push eax
push pe_nt_image_headers32
mov eax, dword [ebp - 4]
call fcn.00438218
push eax
call sub.user32.dll_SendMessageA
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.004036e4
and eax, 0x7f
movzx eax, word [eax*2 + 0x45fd30]
push eax
push 0x101
mov eax, dword [ebp - 4]
call fcn.00438218
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x453ebd
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 0
ret
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [eax + 0x230], edx
jmp 0x453f2a
cmp dword [ebp - 8], 0
jge 0x453ee2
xor eax, eax
mov dword [ebp - 8], eax
lea edx, [ebp - 0x218]
mov eax, dword [ebp - 4]
call fcn.004537b0
mov eax, dword [ebp - 0x218]
call fcn.00404528
cmp eax, dword [ebp - 8]
jg 0x453f1c
lea edx, [ebp - 0x21c]
mov eax, dword [ebp - 4]
call fcn.004537b0
mov eax, dword [ebp - 0x21c]
call fcn.00404528
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00453cc4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x453f4f
lea eax, [ebp - 0x21c]
mov edx, 5
call fcn.0040428c
ret
Function at 0x10006eec
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x58
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov edx, 0xffffffff
mov esi, dword [0x1002af6c]
add esi, 0xffffddcc
mov dword [0x1002af6c], esi
cmp ecx, 0
sete bl
cmp eax, 0
sete bh
and bl, bh
test bl, 1
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
jne 0x10006f43
jmp 0x10006fcf
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff8
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
add esp, 0x58
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [0x1002af70], 0x81c
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x18], eax
jmp 0x10006f43
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x28]
mov dx, word [ecx + eax*2]
mov si, dx
add si, 0xffbf
mov di, dx
add di, 0x20
cmp si, 0x1a
mov dword [ebp - 0x2c], eax
mov word [ebp - 0x2e], dx
mov word [ebp - 0x30], di
jb 0x10006f94
mov ax, word [ebp - 0x2e]
mov word [ebp - 0x30], ax
mov ax, word [ebp - 0x30]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x2c]
cmp word [ecx + edx*2], ax
sete bl
add edx, 1
cmp ax, 0
setne bh
mov al, bl
and al, bh
mov esi, dword [ebp - 0x34]
cmp edx, esi
setb bh
and al, bh
test al, 1
mov byte [ebp - 0x35], bl
mov dword [ebp - 0x24], edx
jne 0x10006f60
jmp 0x100070c8
mov dword [0x1002af70], 0xdb1
mov dword [0x1002af6c], 0xc99
mov ecx, dword fs:[0x18]
mov dword [ebp - 0x3c], ecx
xor eax, eax
mov ecx, dword [0x1002af6c]
add ecx, 0x22a9
mov dword [0x1002af6c], ecx
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ecx + 0x30]
mov edx, dword [edx + 0xc]
mov esi, edx
add esi, 0x14
mov edx, dword [edx + 0x14]
mov dword [0x1002af6c], 0x1b91
cmp edx, esi
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x18], eax
je 0x10006f43
mov eax, dword [ebp - 0x10]
cmp eax, 0
setne cl
mov byte [ebp - 0x45], cl
mov eax, 0x1b91
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x50], ecx
jmp 0x1000704e
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x4c]
mov edx, eax
add edx, 0x24
mov esi, dword [eax + 0x28]
mov edi, dword [eax + 0x10]
mov ebx, dword [ebp - 0x10]
cmp edi, ebx
sete bl
mov bh, byte [ebp - 0x45]
and bh, bl
test bh, 1
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x58], edx
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x20], edi
jne 0x10006f38
mov eax, dword [ebp - 0x58]
mov cx, word [eax]
mov edx, dword [ebp - 0x54]
add edx, 0x1b8e
mov word [ebp - 0x5a], cx
mov dword [ebp - 0x60], edx
xor eax, eax
mov ecx, dword [ebp - 0x60]
mov dword [0x1002af6c], ecx
mov dx, word [ebp - 0x5a]
shr dx, 1
movzx esi, dx
cmp dx, 0
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x24], eax
je 0x100070e8
jmp 0x10006f60
mov dword [0x1002af6c], 0x732
mov eax, 0x732
mov cl, byte [ebp - 0x35]
test cl, 1
mov dword [ebp - 0x64], eax
jne 0x10006f4e
jmp 0x100070e8
mov eax, dword [ebp - 0x64]
xor ecx, ecx
mov dword [0x1002af70], 0x53e
mov edx, dword [ebp - 0x1c]
mov esi, dword [edx]
mov edi, dword [ebp - 0x44]
cmp esi, edi
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x50], esi
je 0x10006f43
jmp 0x1000704e
Function at 0x10007265
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
xor edi, edi
mov dword [0x1002af74], 0
mov dword [0x1002af78], 0
mov dword [0x1002af80], 0
mov dword [0x1002af70], 0x146a
cmp eax, 0
mov ebx, edi
mov dword [ebp - 0x10], eax
mov eax, edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], edi
jne 0x100072cc
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x24]
mov esi, 0x100
add ecx, 1
mov dword [ebp - 0x2c], eax
mov eax, ecx
mov dword [ebp - 0x30], edx
cdq
idiv esi
mov dword [0x1002af74], edx
mov ecx, dword [ebp - 0x20]
movzx edi, byte [ecx + edx]
mov ebx, dword [ebp - 0x30]
add edi, ebx
mov eax, edi
mov dword [ebp - 0x34], edx
cdq
idiv esi
mov dword [0x1002af78], edx
mov esi, dword [ebp - 0x34]
mov cl, byte [ecx + esi]
mov byte [0x1002af7c], cl
mov edi, dword [ebp - 0x20]
mov cl, byte [edi + edx]
mov byte [edi + esi], cl
mov cl, byte [0x1002af7c]
mov edx, dword [0x1002af78]
mov byte [edi + edx], cl
mov dword [0x1002af6c], 0x352
mov edx, dword [0x1002af74]
movzx edx, byte [edi + edx]
mov ebx, dword [0x1002af78]
movzx ebx, byte [edi + ebx]
add ebx, edx
and ebx, 0xff
mov dword [0x1002af80], ebx
mov edx, dword [0x1002af70]
add edx, 0x46c
mov dword [0x1002af6c], edx
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x2c]
mov cl, byte [edx + ecx]
xor cl, byte [edi + ebx]
mov ebx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x2c]
mov byte [ebx + edx], cl
add edx, 1
mov ecx, dword [ebp - 0x10]
cmp edx, ecx
mov dword [ebp - 0x38], edx
je 0x100072c4
mov eax, dword [0x1002af74]
mov ecx, dword [0x1002af78]
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x28], edx
jmp 0x100072cc
Function at 0x10007437
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x34
mov dword [ebp - 8], 0
mov eax, dword fs:[0x30]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor eax, eax
mov ecx, dword [0x1002af70]
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
add ecx, 0xffffc7b6
mov dword [0x1002af6c], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x18], eax
jmp 0x100074d5
mov eax, dword [ebp - 0x1c]
add eax, 0xffffdce2
mov ecx, dword [ebp - 0x20]
add ecx, 1
mov dword [0x1002af6c], eax
cmp ecx, 0x104
mov edx, ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x24], ecx
jl 0x100074d5
jmp 0x100074f1
mov eax, 1
mov dword [0x1002af6c], 0x312
mov dword [ebp - 0x28], eax
jmp 0x100074cc
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x2c]
cmp word [eax + ecx*2 - 0x16], 0x61
je 0x10007530
jmp 0x10007595
mov eax, dword [ebp - 0x28]
add esp, 0x34
pop esi
pop ebp
ret
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
cmp word [edx + eax*2], 0
mov esi, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x24], esi
jne 0x10007479
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x14]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x2c], eax
jne 0x10007595
mov dword [0x1002af6c], 0xb74
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffff4
shl eax, 1
mov ecx, dword [ebp - 0x14]
add ecx, eax
mov dword [ebp - 0x30], ecx
mov eax, dword [ebp - 0x30]
cmp word [eax], 0x6f
je 0x100074b8
jmp 0x10007595
mov dword [0x1002af6c], 0xec7
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x2c]
cmp word [eax + ecx*2 - 0x14], 0x64
jne 0x10007595
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffff7
shl eax, 1
mov ecx, dword [ebp - 0x14]
add ecx, eax
mov dword [ebp - 0x34], ecx
mov eax, dword [ebp - 0x34]
cmp word [eax], 0x64
jne 0x10007595
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x2c]
cmp word [eax + ecx*2 - 0x10], 0x6c
jne 0x10007595
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x2c]
cmp word [eax + ecx*2 - 0xe], 0x6c
sete dl
mov byte [ebp - 0x35], dl
mov al, byte [ebp - 0x35]
test al, 1
jne 0x100074a4
jmp 0x10007595
mov dword [0x1002af70], 0x3a3
xor eax, eax
mov dword [ebp - 0x28], eax
jmp 0x100074cc
Function at 0x10007824
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x4c
mov eax, dword [ebp + 8]
mov dword [0x1002af6c], 0x1866
mov dword [ebp - 0x10], eax
call fcn.10007115
xor ecx, ecx
mov edx, eax
mov esi, dword [eax + 0x3c]
mov esi, dword [eax + esi + 0x78]
mov dword [0x1002af6c], 0x229
mov edi, edx
add edi, dword [eax + esi + 0x20]
mov ebx, dword [eax + esi + 0x24]
mov dword [0x1002af70], 0x450f
mov eax, dword [eax + esi + 0x18]
cmp eax, 0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x28], ecx
jne 0x10007893
mov eax, dword [ebp - 0x28]
add esp, 0x4c
pop esi
pop edi
pop ebx
pop ebp
ret
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
add ecx, edx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x2c]
xor edx, edx
mov esi, dword [ebp - 0x24]
mov edi, dword [esi + eax*4]
mov dword [0x1002af6c], 0x1866
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x40], edx
mov eax, dword [ebp - 0x40]
mov ecx, eax
mov edx, dword [ebp - 0x3c]
add ecx, edx
mov esi, dword [ebp - 0x1c]
mov bl, byte [esi + ecx]
mov ecx, dword [ebp - 0x10]
mov bh, byte [ecx + eax]
cmp bl, bh
sete cl
cmp bl, 0
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x45], bh
mov byte [ebp - 0x46], cl
je 0x10007924
mov eax, dword [ebp - 0x44]
add eax, 1
mov cl, byte [ebp - 0x45]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x46]
and ch, dl
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x4d], ch
mov eax, dword [ebp - 0x4c]
cmp eax, 0x20
setb cl
mov dl, byte [ebp - 0x4d]
and dl, cl
test dl, 1
mov dword [ebp - 0x40], eax
jne 0x100078c7
mov al, byte [ebp - 0x46]
test al, 1
jne 0x1000795a
jmp 0x1000792d
xor eax, eax
mov ecx, dword [ebp - 0x38]
add ecx, 2
mov edx, dword [ebp - 0x34]
add edx, 1
mov esi, dword [ebp - 0x18]
cmp edx, esi
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], edx
jb 0x100078a3
jmp 0x10007888
mov eax, dword [ebp - 0x38]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x20]
mov edi, dword [edx + esi + 0x1c]
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x58], edi
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x58]
add eax, ecx
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x54]
add edx, dword [eax + esi*4]
mov dword [0x1002af70], 0xeaa
mov dword [ebp - 0x28], edx
jmp 0x10007888
Function at 0x10007993
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x1c
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov dword [0x1002af78], 0
mov byte [0x1002af7c], 0
mov dword [0x1002af70], 0xdee
mov dword [0x1002af74], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov dword [0x1002af6c], 0x1665
mov eax, dword [0x1002af74]
add eax, 1
mov dword [0x1002af74], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x100079d8
mov dword [0x1002af74], 0
xor eax, eax
mov dword [ebp - 0x20], eax
jmp 0x10007a19
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov edx, dword [0x1002af78]
mov dword [ebp - 0x24], eax
xor esi, esi
mov dword [ebp - 0x28], edx
mov edx, esi
mov esi, dword [ebp - 0x10]
div esi
mov edi, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x24]
movzx esi, byte [edi + ebx]
mov edi, dword [ebp - 0x28]
add esi, edi
mov edi, dword [ebp - 0x14]
movzx edx, byte [edi + edx]
add esi, edx
mov eax, esi
cdq
idiv ecx
mov dword [0x1002af78], edx
mov ecx, dword [ebp - 0x18]
mov cl, byte [ecx + ebx]
mov byte [0x1002af7c], cl
mov esi, dword [ebp - 0x18]
mov cl, byte [esi + edx]
mov byte [esi + ebx], cl
mov cl, byte [0x1002af7c]
mov edx, dword [0x1002af78]
mov byte [esi + edx], cl
mov edx, dword [0x1002af74]
add edx, 1
mov dword [0x1002af74], edx
cmp edx, 0x100
mov dword [ebp - 0x20], edx
jl 0x10007a19
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10007cc7
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x90
lea eax, [esp + 0x80]
lea ecx, [esp + 0x28]
mov dword [0x1002af6c], 0x1176
mov dword [0x1002af70], 0x1408
mov dword [esp], eax
mov dword [esp + 0x24], ecx
call fcn.10008300
lea ecx, [0x10007b27]
mov edx, dword [esp + 0x80]
mov dword [esp + 0x28], edx
mov dword [esp + 0x4c], 0x12b000
mov dword [0x1002af6c], 0x119a
mov edx, dword [0x1002af58]
mov dword [esp + 0x50], edx
mov edx, dword [0x1002af5c]
mov dword [esp + 0x44], edx
mov edx, dword [0x1002af60]
mov dword [esp + 0x48], edx
mov edx, dword [0x1002af64]
mov dword [esp + 0x5c], edx
mov edx, dword [0x1002af68]
mov dword [esp + 0x6c], edx
mov dword [0x1002af70], 0x505
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], ecx
jmp 0x10007d6f
mov eax, dword [esp + 0x18]
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x1c]
cmp word [eax], 0x5a4d
mov dword [esp + 0x14], eax
jne 0x10007d92
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 0x10], ecx
je 0x10007db0
mov eax, dword [esp + 0x14]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [0x1002af6c], 0x1b27
mov dword [esp + 0x1c], eax
jmp 0x10007d6f
mov eax, dword [esp + 0x14]
mov dword [esp + 0x70], eax
mov dword [0x1002af70], 0x2091
mov ecx, dword [esp + 0x10]
mov edx, dword [eax + ecx + 0x50]
mov dword [esp + 0xc], edx
mov eax, dword [esp + 0xc]
mov dword [esp + 0x54], eax
mov dword [0x1002af6c], 0x2252
call fcn.10007437
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x18], ecx
jne 0x10007d67
lea eax, [esp + 0x28]
mov ecx, dword [esp + 0x88]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.10008195
mov ecx, esp
lea edx, [esp + 0x28]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 2
mov dword [0x1002af6c], 0xc31
mov dword [esp + 0x18], eax
jmp 0x10007d67