joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10006280
Capabilities:
Allocate or change rwx memory
Log keystrokes via application hook

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x1000635c
cmp dword [ebp - 4], 1
je 0x100062a1
jmp 0x100063d0
lea ecx, [ebp - 8]
push ecx
push 0x40
push 0x2b3ffe
push 0x401000
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp eax, 1
jne 0x1000635a
call fcn.10019bc0
mov ecx, 0x100769dc
call fcn.10017070
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push 0
push 0x10005470
push 7
call dword [sym.imp.USER32.dll_SetWindowsHookExA]
mov dword [0x1025503c], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push 0
push 0x1001a390
push 2
call dword [sym.imp.USER32.dll_SetWindowsHookExA]
mov dword [0x10255040], eax
push str.._Glow.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x10255044], eax
push 0x10042780
call fcn.1001ac60
add esp, 4
test eax, eax
jle 0x1000635a
call fcn.100013cb
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call fcn.10001721
push 0x1001adb0
push 0x1025506c
call fcn.10001af0
push 0x1001ada0
push 0x10255070
call fcn.10001af0
call fcn.10001ae8
jmp 0x100063d0
mov edx, dword [0x1025503c]
push edx
call dword [sym.imp.USER32.dll_UnhookWindowsHookEx]
mov eax, dword [0x10255040]
push eax
call dword [sym.imp.USER32.dll_UnhookWindowsHookEx]
cmp dword [0x10255044], 0
je 0x1000638b
mov ecx, dword [0x10255044]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push str.WindowMode
call fcn.1001ac60
add esp, 4
test eax, eax
jle 0x100063d0
call fcn.100013cb
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call fcn.10001721
push 0x1001adb0
push 0x1025506c
call fcn.100019e5
push 0x1001ada0
push 0x10255070
call fcn.100019e5
call fcn.10001ae8
mov eax, 1
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1000f4e0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x1005827c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x2c], ecx
mov eax, dword [ebp - 0x2c]
cmp dword [eax + 0x38], 0
je 0x1000f507
mov ecx, dword [ebp - 0x2c]
movzx edx, byte [ecx + 0x3d]
test edx, edx
jne 0x1000f50e
mov al, 1
jmp 0x1000f5e2
call fcn.10011b90
push eax
mov eax, dword [ebp - 0x2c]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x2c]
mov eax, dword [edx + 0xc]
call eax
mov dword [ebp - 0x3c], eax
call fcn.10011b90
mov dword [ebp - 0x40], eax
lea ecx, [ebp - 0x3c]
push ecx
lea edx, [ebp - 0x40]
push edx
call fcn.10011bf0
add esp, 8
movzx eax, al
test eax, eax
je 0x1000f54a
xor al, al
jmp 0x1000f5e2
mov dword [ebp - 0x48], 0x20
lea ecx, [ebp - 0x44]
push ecx
lea edx, [ebp - 8]
push edx
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x2c]
add ecx, 0x40
push ecx
mov edx, dword [ebp - 0x2c]
mov ecx, dword [edx + 0x38]
call fcn.10013b00
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x1000f586
cmp dword [ebp - 0x30], 1
je 0x1000f58d
cmp dword [ebp - 0x30], 3
je 0x1000f5dc
jmp 0x1000f5e0
mov eax, dword [ebp - 0x2c]
mov byte [eax + 0x3d], 0
mov ecx, dword [ebp - 0x44]
lea edx, [ebp - 0x28]
sub ecx, edx
mov dword [ebp - 0x34], ecx
je 0x1000f5bc
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0x4c]
push ecx
mov edx, dword [ebp - 0x34]
push edx
push 1
lea eax, [ebp - 0x28]
push eax
call fcn.10025515
add esp, 0x10
cmp dword [ebp - 0x34], eax
je 0x1000f5bc
xor al, al
jmp 0x1000f5e2
mov ecx, dword [ebp - 0x2c]
movzx edx, byte [ecx + 0x3d]
test edx, edx
jne 0x1000f5d0
mov dword [ebp - 0x38], 1
jmp 0x1000f5d7
mov dword [ebp - 0x38], 0
mov al, byte [ebp - 0x38]
jmp 0x1000f5e2
mov al, 1
jmp 0x1000f5e2
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001e080
mov esp, ebp
pop ebp
ret
Function at 0x10012d00
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [0x1005827c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov dword [ebp - 0x2c], ecx
call fcn.10011b90
mov dword [ebp - 0x44], eax
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x44]
push ecx
call fcn.10011bf0
add esp, 8
movzx edx, al
test edx, edx
je 0x10012d45
lea eax, [ebp + 8]
push eax
call fcn.10012bb0
add esp, 4
jmp 0x10012ec6
mov ecx, dword [ebp - 0x2c]
call fcn.10013090
test eax, eax
je 0x10012d87
mov ecx, dword [ebp - 0x2c]
call fcn.10013090
mov esi, eax
mov ecx, dword [ebp - 0x2c]
call fcn.10011bd0
cmp esi, eax
jae 0x10012d87
lea ecx, [ebp + 8]
push ecx
call fcn.10013770
add esp, 4
mov bl, al
mov ecx, dword [ebp - 0x2c]
call fcn.100109d0
mov byte [eax], bl
mov eax, dword [ebp + 8]
jmp 0x10012ec6
mov edx, dword [ebp - 0x2c]
cmp dword [edx + 0x4c], 0
jne 0x10012d9a
call fcn.10011b90
jmp 0x10012ec6
mov ecx, dword [ebp - 0x2c]
call fcn.10010a20
mov eax, dword [ebp - 0x2c]
cmp dword [eax + 0x38], 0
jne 0x10012de9
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 0x4c]
push edx
lea eax, [ebp + 8]
push eax
call fcn.10013770
add esp, 4
movzx ecx, al
push ecx
call fcn.10007310
add esp, 8
movzx edx, al
test edx, edx
je 0x10012dd9
mov eax, dword [ebp + 8]
mov dword [ebp - 0x3c], eax
jmp 0x10012de1
call fcn.10011b90
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
jmp 0x10012ec6
mov dword [ebp - 0x50], 0x20
lea ecx, [ebp + 8]
push ecx
call fcn.10013770
add esp, 4
mov byte [ebp - 0x2e], al
lea edx, [ebp - 0x48]
push edx
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0x28]
push ecx
lea edx, [ebp - 0x4c]
push edx
lea eax, [ebp - 0x2d]
push eax
lea ecx, [ebp - 0x2e]
push ecx
mov edx, dword [ebp - 0x2c]
add edx, 0x40
push edx
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0x38]
call fcn.10012cc0
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jl 0x10012ec1
cmp dword [ebp - 0x34], 1
jle 0x10012e44
cmp dword [ebp - 0x34], 3
je 0x10012e91
jmp 0x10012ec1
mov ecx, dword [ebp - 0x48]
lea edx, [ebp - 0x28]
sub ecx, edx
mov dword [ebp - 0x38], ecx
je 0x10012e76
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0x4c]
push ecx
mov edx, dword [ebp - 0x38]
push edx
push 1
lea eax, [ebp - 0x28]
push eax
call fcn.10025515
add esp, 0x10
cmp dword [ebp - 0x38], eax
je 0x10012e76
call fcn.10011b90
jmp 0x10012ec6
mov ecx, dword [ebp - 0x2c]
mov byte [ecx + 0x3d], 1
lea edx, [ebp - 0x2e]
cmp dword [ebp - 0x4c], edx
je 0x10012e8a
mov eax, dword [ebp + 8]
jmp 0x10012ec6
call fcn.10011b90
jmp 0x10012ec6
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0x4c]
push ecx
movzx edx, byte [ebp - 0x2e]
push edx
call fcn.10007310
add esp, 8
movzx eax, al
test eax, eax
je 0x10012eb4
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x40], ecx
jmp 0x10012ebc
call fcn.10011b90
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
jmp 0x10012ec6
call fcn.10011b90
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001e080
mov esp, ebp
pop ebp
ret 4
Function at 0x10013c10
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 4], ecx
mov eax, 1
test eax, eax
je 0x10013d36
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x38], 0
je 0x10013c48
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 4]
call fcn.10013d50
jmp 0x10013d4a
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 4]
call fcn.1000ff40
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], edx
cmp dword [ebp + 0x10], 0
jl 0x10013cdc
jg 0x10013c70
cmp dword [ebp + 0xc], 0
jbe 0x10013cdc
cmp dword [ebp - 8], 0
jl 0x10013cdc
jg 0x10013c7e
cmp dword [ebp - 0xc], 0
jbe 0x10013cdc
mov ecx, dword [ebp + 0x10]
cmp ecx, dword [ebp - 8]
jg 0x10013c9c
jl 0x10013c90
mov edx, dword [ebp + 0xc]
cmp edx, dword [ebp - 0xc]
jae 0x10013c9c
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0xc]
push edx
mov ecx, dword [ebp - 4]
call fcn.10012730
push eax
mov eax, dword [ebp + 8]
push eax
call fcn.10011720
add esp, 0xc
mov ecx, dword [ebp - 0xc]
add ecx, dword [ebp + 8]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
sub edx, dword [ebp - 0xc]
mov eax, dword [ebp + 0x10]
sbb eax, dword [ebp - 8]
mov dword [ebp + 0xc], edx
mov dword [ebp + 0x10], eax
mov ecx, dword [ebp - 0xc]
push ecx
mov ecx, dword [ebp - 4]
call fcn.10012370
cmp dword [ebp + 0x10], 0
jl 0x10013d26
jg 0x10013cea
cmp dword [ebp + 0xc], 0
jbe 0x10013d26
mov edx, dword [ebp - 4]
cmp dword [edx + 0x4c], 0
je 0x10013d26
mov ecx, dword [ebp - 4]
call fcn.10010a20
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x4c]
push ecx
mov edx, dword [ebp + 0xc]
push edx
push 1
mov eax, dword [ebp + 8]
push eax
call fcn.10024ea8
add esp, 0x10
xor ecx, ecx
mov edx, dword [ebp + 0xc]
sub edx, eax
mov eax, dword [ebp + 0x10]
sbb eax, ecx
mov dword [ebp + 0xc], edx
mov dword [ebp + 0x10], eax
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp + 0xc]
mov edx, dword [ebp - 0x10]
sbb edx, dword [ebp + 0x10]
jmp 0x10013d4a
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
call fcn.10013d50
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10013e70
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 4], ecx
mov eax, 1
test eax, eax
je 0x10013f8e
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x38], 0
je 0x10013ea8
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 4]
call fcn.10013fb0
jmp 0x10013fa2
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 4]
call fcn.100109a0
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], edx
cmp dword [ebp + 0x10], 0
jl 0x10013f3c
jg 0x10013ed0
cmp dword [ebp + 0xc], 0
jbe 0x10013f3c
cmp dword [ebp - 8], 0
jl 0x10013f3c
jg 0x10013ede
cmp dword [ebp - 0xc], 0
jbe 0x10013f3c
mov ecx, dword [ebp + 0x10]
cmp ecx, dword [ebp - 8]
jg 0x10013efc
jl 0x10013ef0
mov edx, dword [ebp + 0xc]
cmp edx, dword [ebp - 0xc]
jae 0x10013efc
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
call fcn.10013090
push eax
call fcn.10011720
add esp, 0xc
mov ecx, dword [ebp - 0xc]
add ecx, dword [ebp + 8]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
sub edx, dword [ebp - 0xc]
mov eax, dword [ebp + 0x10]
sbb eax, dword [ebp - 8]
mov dword [ebp + 0xc], edx
mov dword [ebp + 0x10], eax
mov ecx, dword [ebp - 0xc]
push ecx
mov ecx, dword [ebp - 4]
call fcn.10013050
cmp dword [ebp + 0x10], 0
jl 0x10013f7e
jg 0x10013f4a
cmp dword [ebp + 0xc], 0
jbe 0x10013f7e
mov edx, dword [ebp - 4]
cmp dword [edx + 0x4c], 0
je 0x10013f7e
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x4c]
push ecx
mov edx, dword [ebp + 0xc]
push edx
push 1
mov eax, dword [ebp + 8]
push eax
call fcn.10025515
add esp, 0x10
xor ecx, ecx
mov edx, dword [ebp + 0xc]
sub edx, eax
mov eax, dword [ebp + 0x10]
sbb eax, ecx
mov dword [ebp + 0xc], edx
mov dword [ebp + 0x10], eax
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp + 0xc]
mov edx, dword [ebp - 0x10]
sbb edx, dword [ebp + 0x10]
jmp 0x10013fa2
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
call fcn.10013fb0
mov esp, ebp
pop ebp
ret 0xc

Function at 0x10017100
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
push eax
push 0
push 0
push 0x100170c0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 4]
cmp dword [edx + 4], 0
jne 0x10017131
xor al, al
jmp 0x10017140
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov esp, ebp
pop ebp
ret
Function at 0x1001ac60
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], 0
mov dword [ebp - 0xc], 4
lea eax, [ebp - 8]
push eax
push 0x10043008
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x1001acb9
lea ecx, [ebp - 0xc]
push ecx
lea edx, [ebp - 4]
push edx
push 0
push 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1001acaf
mov eax, dword [ebp - 4]
jmp 0x1001acbb
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x1001ad10
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0xc]
push eax
push 0x40
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x1001ad56
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x1001ad99
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.100206d0
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x1001ad97
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x1001ad99
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x10032777
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.100325ed

Function at 0x430005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
mov eax, section..text
nop
nop
mov ebx, 0x408f6c
nop
mov ecx, 0x74c60bc6
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x430024
nop
nop
nop
nop
nop
mov eax, section..data
mov ebx, 0x42e3d0
nop
mov ecx, 0x25bc7751
nop
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x430084
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x43006c
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x101ea07c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x102879a0]
jne 0x101ea086
repz ret
jmp fcn.101ea32d

Function at 0x101eaa99
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff8
sub esp, 0x98
call fcn.1000108e
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x24], ecx
je 0x101eab56
jmp 0x101eac19
mov eax, dword [esp + 0x20]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x1c], eax
jmp 0x101eac01
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 0x18], ecx
jne 0x101eaac1
lea eax, [esp + 0x28]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x74], ecx
mov dword [0x10287974], 0xfffff682
mov edx, dword [esp + 0x18]
mov esi, dword [ecx + edx + 0x50]
mov dword [esp + 0x5c], esi
mov esi, dword [esp + 0x88]
mov dword [esp], eax
mov dword [esp + 4], esi
call fcn.101eb643
mov ecx, esp
lea edx, [esp + 0x28]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 1
mov ecx, dword [0x10287974]
add ecx, 0xffffe5c3
mov dword [0x10287978], ecx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x24], eax
jmp 0x101eac19
lea eax, [esp + 0x28]
mov ecx, dword [0x10287974]
add ecx, 0xffffefd3
mov dword [0x10287974], ecx
mov dword [esp + 0x10], eax
call fcn.101eaf7d
mov dword [esp + 0xc], eax
xor eax, eax
mov ecx, dword [esp + 0xc]
cmp ecx, 0
mov dword [esp + 0x14], eax
jne 0x101eab49
lea eax, [esp + 0x80]
mov dword [esp], eax
call fcn.101ea80a
lea ecx, [0x101ebbbb]
mov edx, dword [esp + 0x80]
mov dword [esp + 0x50], edx
mov dword [esp + 0x44], 0x135000
mov dword [0x10287974], 0x15a6
mov edx, dword [0x10287960]
mov dword [esp + 0x30], edx
mov edx, dword [0x10287964]
mov dword [esp + 0x68], edx
mov edx, dword [0x10287968]
mov dword [esp + 0x40], edx
mov edx, dword [0x1028796c]
mov dword [esp + 0x6c], edx
mov edx, dword [0x10287970]
mov dword [esp + 0x70], edx
mov dword [0x10287978], 0x109b
mov dword [esp + 8], eax
mov dword [esp + 0x1c], ecx
mov eax, dword [esp + 0x1c]
cmp word [eax], 0x5a4d
mov dword [esp + 0x20], eax
je 0x101eaad8
jmp 0x101eaac1
mov eax, dword [esp + 0x24]
lea esp, [ebp - 4]
pop esi
pop ebp
ret
Function at 0x101eac98
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 [ebp - 0x10], eax
call fcn.101eb777
xor ecx, ecx
mov edx, eax
mov esi, dword [eax + 0x3c]
mov edi, edx
add edi, esi
mov esi, dword [eax + esi]
cmp esi, 0x4550
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], edi
je 0x101eacd4
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x78]
mov dword [0x10287978], 0x370c
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
add ecx, dword [edx + eax + 0x20]
mov esi, dword [edx + eax + 0x24]
mov dword [0x10287974], 0x1fed
mov edi, dword [edx + eax + 0x18]
cmp edi, 0
mov ebx, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x34], ebx
je 0x101ead57
jmp 0x101ead7e
mov al, byte [ebp - 0x35]
test al, 1
jne 0x101eadee
jmp 0x101eadc1
mov eax, dword [ebp - 0x3c]
mov ecx, eax
mov edx, dword [ebp - 0x40]
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 - 0x35], cl
je 0x101ead1c
jmp 0x101ead90
mov eax, dword [ebp - 0x34]
add esp, 0x4c
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x50]
xor edx, edx
mov esi, dword [ebp - 0x28]
mov edi, dword [esi + eax*4]
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x3c], edx
jmp 0x101ead2c
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x2c]
add ecx, edx
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x4c], eax
jmp 0x101ead62
mov eax, dword [ebp - 0x44]
add eax, 1
mov cl, byte [ebp - 0x45]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x35]
and ch, dl
cmp eax, 0x20
setb dl
and ch, dl
test ch, 1
mov dword [ebp - 0x3c], eax
jne 0x101ead2c
jmp 0x101ead1c
xor eax, eax
mov ecx, dword [ebp - 0x54]
add ecx, 1
mov edx, dword [ebp - 0x58]
add edx, 2
mov esi, dword [ebp - 0x30]
cmp ecx, esi
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x4c], ecx
jb 0x101ead62
jmp 0x101ead57
mov eax, dword [ebp - 0x58]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x24]
add edx, dword [edx + esi + 0x1c]
mov edi, dword [ebp - 0x1c]
add edi, dword [edx + ecx*4]
mov dword [0x10287974], 0x1415
mov dword [ebp - 0x34], edi
jmp 0x101ead57
Function at 0x101eae16
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov edi, dword [0x10287978]
add edi, 0x53c
mov dword [0x10287978], edi
mov dword [0x10287980], 0
mov byte [0x10287984], 0
mov dword [0x1028797c], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x101eaf20
mov dword [0x10287974], 0x26c
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov dword [0x10287988], 0
mov dword [ebp - 0x24], eax
xor edx, edx
mov esi, dword [ebp - 0x10]
div esi
mov edi, dword [0x10287980]
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x24]
movzx esi, byte [ebx + esi]
add esi, edi
mov edi, dword [ebp - 0x14]
movzx edx, byte [edi + edx]
add esi, edx
mov dword [0x10287988], esi
mov eax, esi
cdq
idiv ecx
mov dword [0x10287980], edx
mov dword [0x10287974], 0x918
mov ecx, dword [ebp - 0x24]
mov cl, byte [ebx + ecx]
mov byte [0x10287984], cl
mov cl, byte [ebx + edx]
mov edx, dword [ebp - 0x24]
mov byte [ebx + edx], cl
mov dword [0x10287974], 0x16c8
mov cl, byte [0x10287984]
mov esi, dword [0x10287980]
mov byte [ebx + esi], cl
mov esi, dword [0x1028797c]
add esi, 1
mov dword [0x1028797c], esi
cmp esi, 0x100
mov dword [ebp - 0x20], esi
jl 0x101eae7a
jmp 0x101eae68
mov eax, dword [ebp - 0x1c]
mov dword [0x10287978], 0x1e35
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x10287978]
add eax, 0x325
mov dword [0x10287978], eax
mov eax, dword [0x1028797c]
add eax, 1
mov dword [0x1028797c], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x101eaf20
mov dword [0x10287974], 0x182
xor eax, eax
mov dword [0x1028797c], 0
mov dword [ebp - 0x20], eax
jmp 0x101eae7a
Function at 0x101eaf7d
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 4], 0
mov eax, dword fs:[0x30]
mov dword [ebp - 4], eax
xor ecx, ecx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], ecx
jmp 0x101eb00e
xor eax, eax
mov dword [0x10287974], 0x982
mov dword [ebp - 0x14], eax
jmp 0x101eb08b
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x18], 0x6f
je 0x101eaffd
jmp 0x101eafa9
mov eax, dword [0x10287974]
add eax, 0xfffff36e
mov dword [0x10287974], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x14], 0x64
jne 0x101eafa9
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x12], 0x64
je 0x101eb05d
jmp 0x101eafa9
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x16], 0x61
je 0x101eafce
jmp 0x101eafa9
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], edx
je 0x101eb042
mov eax, dword [ebp - 0x1c]
add eax, 1
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
cmp eax, 0x104
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x20], ecx
jl 0x101eb00e
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x18], eax
je 0x101eafbd
jmp 0x101eafa9
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x10], 0x6c
jne 0x101eafa9
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x18]
cmp word [ecx + edx*2 - 0xe], 0x6c
mov dword [ebp - 0x14], eax
jne 0x101eafa9
mov eax, dword [ebp - 0x14]
add esp, 0x24
pop ebp
ret