joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10012d90
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov edi, dword [0x100397a0]
mov eax, ecx
mov dword [ebp - 8], eax
mov dword [edi + 0x2d30], 0
test eax, eax
je 0x10012ea9
lea esi, [edi + 0x2d34]
mov dword [edi + 0x2d30], 0
mov ecx, dword [esi + 4]
test ecx, ecx
jns 0x10012de8
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.10013c60
mov ecx, dword [esi + 4]
xor edx, edx
mov dword [esi], 0
test ecx, ecx
jne 0x10012dff
push 8
mov ecx, esi
call fcn.10013c60
mov edx, dword [esi]
mov eax, dword [esi + 8]
xor ebx, ebx
mov byte [edx + eax], 0
inc dword [esi]
mov eax, dword [edi + 0x2d40]
mov ecx, dword [esi]
test eax, eax
jle 0x10012e63
xor ecx, ecx
mov dword [ebp - 4], ecx
cmp ebx, eax
jl 0x10012e3a
push 0x4f8
push str.C:UsersMainDesktopLuaCoreImGui_DirectX_9_Kiero_Hook_2imguiimgui.h
push str.i___Size
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov ecx, dword [ebp - 4]
add esp, 0xc
mov eax, dword [edi + 0x2d48]
add eax, ecx
push esi
push eax
push edi
mov eax, dword [eax + 0x10]
call eax
mov ecx, dword [ebp - 4]
inc ebx
mov eax, dword [edi + 0x2d40]
add ecx, 0x18
add esp, 0xc
mov dword [ebp - 4], ecx
cmp ebx, eax
jl 0x10012e3a
mov ecx, dword [esi]
lea eax, [ecx - 1]
mov edx, 0x10030a70
neg ecx
sbb ecx, ecx
and ecx, eax
mov eax, dword [edi + 0x2d3c]
test eax, eax
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 8]
mov edi, 0x1003979c
cmovne edi, eax
call fcn.10002680
mov esi, eax
test esi, esi
je 0x10012ea9
push esi
push dword [ebp - 4]
push 1
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 0x14
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1002a680
Capabilities:
Enumerate threads
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x1003900c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x24], edx
push edi
push 0
push 4
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
cmp edi, 0xffffffff
je 0x1002a77a
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x1c
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x1002a773
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [ebp - 0x20], 0x10
jb 0x1002a759
call ebx
cmp dword [ebp - 0x14], eax
jne 0x1002a759
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [ebp - 0x18], eax
je 0x1002a759
mov edx, dword [esi]
test edx, edx
jne 0x1002a722
push 0x200
push edx
push dword [0x100397a8]
mov dword [esi + 4], 0x80
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edx, eax
mov dword [esi], edx
test edx, edx
je 0x1002a773
jmp 0x1002a74d
mov eax, dword [esi + 4]
cmp dword [esi + 8], eax
jb 0x1002a74d
shl eax, 3
push eax
push edx
push 0
push dword [0x100397a8]
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov edx, eax
test edx, edx
je 0x1002a773
mov eax, dword [esi + 4]
add eax, eax
mov dword [esi], edx
mov dword [esi + 4], eax
mov ecx, dword [esi + 8]
mov eax, dword [ebp - 0x18]
mov dword [edx + ecx*4], eax
inc dword [esi + 8]
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x1c
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x1002a6e1
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esi], 0
je 0x1002a7bf
xor edi, edi
cmp dword [esi + 8], edi
jbe 0x1002a7bf
mov eax, dword [esi]
push dword [eax + edi*4]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov ebx, eax
test ebx, ebx
je 0x1002a7b9
push ebx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push dword [ebp + 8]
mov edx, dword [ebp - 0x24]
mov ecx, ebx
call fcn.1002a510
add esp, 4
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
cmp edi, dword [esi + 8]
jb 0x1002a786
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1002bf1a
mov esp, ebp
pop ebp
ret
Function at 0x1002a7d0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x1003900c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
imul esi, ecx, 0x2c
mov ebx, edx
push edi
add esi, dword [0x100399a0]
mov eax, dword [esi]
mov cl, byte [esi + 0x14]
and cl, 1
lea edi, [eax - 5]
cmove edi, eax
movzx eax, cl
lea ecx, [ebp - 8]
push ecx
push 0x40
lea eax, [eax*2 + 5]
push eax
push edi
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1002a831
pop edi
pop esi
mov eax, 0xa
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1002bf1a
mov esp, ebp
pop ebp
ret
test ebx, ebx
je 0x1002a852
mov byte [edi], 0xe9
mov eax, dword [esi + 4]
sub eax, edi
sub eax, 5
mov dword [edi + 1], eax
test byte [esi + 0x14], 1
je 0x1002a873
mov eax, dword [esi]
mov word [eax], 0xf9eb
jmp 0x1002a873
mov eax, dword [esi + 0xc]
test byte [esi + 0x14], 1
mov dword [edi], eax
je 0x1002a86d
mov ax, word [esi + 0x10]
mov word [edi + 4], ax
mov al, byte [esi + 0x12]
mov byte [edi + 6], al
jmp 0x1002a873
mov al, byte [esi + 0x10]
mov byte [edi + 4], al
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push dword [ebp - 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push dword [ebp - 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov al, byte [esi + 0x14]
and bl, 1
mov cl, bl
and al, 0xfd
add cl, cl
shl bl, 2
or cl, al
xor eax, eax
and cl, 0xfb
or cl, bl
mov byte [esi + 0x14], cl
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1002bf1a
mov esp, ebp
pop ebp
ret
Function at 0x1002a8d0
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov edx, dword [0x100399a8]
push ebx
push esi
push edi
xor edi, edi
xor esi, esi
mov dword [ebp - 4], edi
mov ebx, ecx
test edx, edx
je 0x1002a9c1
mov eax, dword [0x100399a0]
add eax, 0x14
movzx ecx, byte [eax]
shr ecx, 1
and ecx, 1
cmp ecx, ebx
jne 0x1002a915
inc esi
add eax, 0x2c
cmp esi, edx
jb 0x1002a8f8
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp esi, 0xffffffff
je 0x1002a9c1
xor eax, eax
lea ecx, [ebp - 0x10]
test ebx, ebx
setne al
or edx, 0xffffffff
push eax
call fcn.1002a680
mov ecx, dword [0x100399a8]
add esp, 4
cmp esi, ecx
jae 0x1002a975
imul edi, esi, 0x2c
mov eax, dword [0x100399a0]
movzx eax, byte [edi + eax + 0x14]
shr eax, 1
and eax, 1
cmp eax, ebx
je 0x1002a96a
mov edx, ebx
mov ecx, esi
call fcn.1002a7d0
mov dword [ebp - 4], eax
test eax, eax
jne 0x1002a972
mov ecx, dword [0x100399a8]
inc esi
add edi, 0x2c
cmp esi, ecx
jb 0x1002a941
mov edi, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x1002a9c1
xor esi, esi
cmp dword [ebp - 8], esi
jbe 0x1002a9b2
mov edi, eax
push dword [edi + esi*4]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov ebx, eax
test ebx, ebx
je 0x1002a9a6
push ebx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, dword [ebp - 8]
jb 0x1002a985
mov edi, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
push eax
push 0
push dword [0x100397a8]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1002ad00
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov ebx, ecx
xor esi, esi
push edi
mov edi, edx
mov dword [ebp - 4], ebx
mov edx, 1
mov ecx, 0x100397a4
xor eax, eax
lock cmpxchg dword [ecx], edx
test eax, eax
je 0x1002ad55
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
nop dword [eax]
cmp esi, 0x20
jae 0x1002ad39
push 0
jmp 0x1002ad3b
push 1
call ebx
inc esi
mov ecx, 1
xor eax, eax
mov edx, 0x100397a4
lock cmpxchg dword [edx], ecx
test eax, eax
jne 0x1002ad30
mov ebx, dword [ebp - 4]
cmp dword [0x100397a8], 0
je 0x1002ae28
test ebx, ebx
jne 0x1002ad74
mov ecx, edi
call fcn.1002a8d0
mov edi, eax
jmp 0x1002ae2d
mov ecx, dword [0x100399a8]
xor esi, esi
test ecx, ecx
je 0x1002ad94
mov edx, dword [0x100399a0]
mov eax, edx
cmp ebx, dword [eax]
je 0x1002ad9e
inc esi
add eax, 0x2c
cmp esi, ecx
jb 0x1002ad88
mov edi, 4
jmp 0x1002ae2d
cmp esi, 0xffffffff
je 0x1002ad94
imul eax, esi, 0x2c
movzx eax, byte [eax + edx + 0x14]
shr eax, 1
and eax, 1
cmp eax, edi
je 0x1002ae1f
push 1
mov edx, esi
lea ecx, [ebp - 0x10]
call fcn.1002a680
add esp, 4
mov edx, edi
mov ecx, esi
call fcn.1002a7d0
mov edi, eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], edi
test eax, eax
je 0x1002ae2d
xor esi, esi
cmp dword [ebp - 8], esi
jbe 0x1002ae0e
mov edi, eax
push dword [edi + esi*4]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov ebx, eax
test ebx, ebx
je 0x1002ae02
push ebx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, dword [ebp - 8]
jb 0x1002ade1
mov edi, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
push eax
push 0
push dword [0x100397a8]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x1002ae2d
neg edi
sbb edi, edi
add edi, 6
jmp 0x1002ae2d
mov edi, 2
xor eax, eax
mov ecx, 0x100397a4
xchg dword [ecx], eax
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1002bd10
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
sub eax, 0
je 0x1002bd48
sub eax, 1
jne 0x1002bd7d
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
push 0
push 0
push dword [ebp + 8]
push 0x1002bc90
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, 1
pop ebp
ret 0xc
cmp dword [0x100397f4], 0
je 0x1002bd7d
xor edx, edx
xor ecx, ecx
call fcn.1002ad00
push dword [0x100397f0]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov dword [0x100397f0], 0
mov dword [0x100397f4], 0
mov eax, 1
pop ebp
ret 0xc
Function at 0x40edf0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43251b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x43a4a0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea ecx, [esi + 4]
mov dword [esi], 0x436930
call fcn.0041f8f2
push 4
mov dword [ebp - 4], 0
call fcn.00420245
mov edi, eax
add esp, 4
test edi, edi
je 0x40ee6c
call fcn.0041ef82
mov dword [edi], eax
jmp loc.0048750c
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x100ee082
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x101ba4d8]
jne 0x100ee08c
repz ret
jmp fcn.100f766b

Function at 0x100f8ddf
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.100eb9c6
and dword [ebp - 4], 0
cmp dword [0x101bc264], 0
mov ebx, eax
jne 0x100f8e90
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x100f8f41
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x100f8f41
push eax
call fcn.100eb954
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x101bc264], eax
call esi
push eax
call fcn.100eb954
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x101bc268], eax
call esi
push eax
call fcn.100eb954
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x101bc26c], eax
call esi
push eax
call fcn.100eb954
pop ecx
mov dword [0x101bc274], eax
test eax, eax
je 0x100f8e90
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.100eb954
pop ecx
mov dword [0x101bc270], eax
mov eax, dword [0x101bc270]
cmp eax, ebx
je 0x100f8ee8
cmp dword [0x101bc274], ebx
je 0x100f8ee8
push eax
call fcn.100eb9cf
push dword [0x101bc274]
mov esi, eax
call fcn.100eb9cf
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x100f8ee8
test edi, edi
je 0x100f8ee8
call esi
test eax, eax
je 0x100f8edf
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x100f8edf
test byte [ebp - 0xc], 1
jne 0x100f8ee8
or dword [ebp + 0x10], 0x200000
jmp 0x100f8f21
mov eax, dword [0x101bc268]
cmp eax, ebx
je 0x100f8f21
push eax
call fcn.100eb9cf
pop ecx
test eax, eax
je 0x100f8f21
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x100f8f21
mov eax, dword [0x101bc26c]
cmp eax, ebx
je 0x100f8f21
push eax
call fcn.100eb9cf
pop ecx
test eax, eax
je 0x100f8f21
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x101bc264]
call fcn.100eb9cf
pop ecx
test eax, eax
je 0x100f8f41
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x100f8f43
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x100fbcf3
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x48
mov eax, dword [ebp + 8]
mov ecx, dword [0x101b993c]
add ecx, 0x205c
mov dword [0x101b9938], ecx
mov dword [0x101b993c], 0x879
mov dword [ebp - 0x10], eax
call fcn.100fd0f2
xor ecx, ecx
mov edx, eax
mov dword [0x101b9938], 0xfffff7a8
mov esi, dword [eax + 0x3c]
mov dword [0x101b993c], 0x2416
mov dword [0x101b9938], 0x1348
mov esi, dword [eax + esi + 0x78]
mov edi, edx
add edi, dword [eax + esi + 0x20]
mov ebx, dword [eax + esi + 0x24]
mov dword [0x101b9938], 0x254a
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
je 0x100fbe77
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 [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 0x100fbdfc
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
cmp eax, 0x20
setb dl
and ch, dl
test ch, 1
mov dword [ebp - 0x40], eax
jne 0x100fbdab
mov al, byte [ebp - 0x46]
test al, 1
jne 0x100fbe3e
jmp 0x100fbe05
mov dword [0x101b9938], 0x150d
mov eax, dword [ebp - 0x38]
add eax, 2
mov dword [ebp - 0x4c], eax
xor eax, eax
mov ecx, dword [ebp - 0x34]
add ecx, 1
mov edx, dword [ebp - 0x18]
cmp ecx, edx
mov esi, dword [ebp - 0x4c]
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x28], eax
jb 0x100fbd91
jmp 0x100fbe77
mov eax, dword [ebp - 0x38]
movzx ecx, word [eax]
mov dword [0x101b993c], 0x2552
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x20]
add edx, dword [edx + esi + 0x1c]
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x54], edx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x54]
mov edx, dword [ebp - 0x50]
add eax, dword [ecx + edx*4]
mov dword [0x101b9938], 0xfffff15b
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
add esp, 0x48
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x100fbf1f
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x50
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
xor edx, edx
mov dword [0x101b9938], 0x204b
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], edx
jmp 0x100fbff6
mov eax, dword [ebp - 0x34]
mov dword [0x101b9938], 0x2578
mov ecx, esp
mov dword [ecx + 0xc], 0x40
mov dword [ecx + 8], 0x1000
mov dword [ecx + 4], 0x6000
mov dword [ecx], 0
call eax
sub esp, 0x10
mov dword [esp], eax
mov ecx, dword [ebp - 0x28]
mov dword [esp + 4], ecx
mov dword [ebp - 0x38], eax
call fcn.100fc074
xor eax, eax
mov dword [0x101b993c], 0x145b
mov ecx, dword [ebp - 0x38]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xd0
mov dword [ecx + 0xd0], 0x4550
add ecx, 0xffc00000
mov edx, dword [ebp - 0x2c]
mov dword [edx + 8], ecx
mov ecx, dword [ebp - 0x38]
mov dword [edx + 0x2c], ecx
mov esi, dword [0x101b993c]
add esi, 0xffffec67
mov dword [0x101b9938], esi
add ecx, 0x1851
mov esi, dword [ebp - 0x38]
cmp esi, 0
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x40], eax
je 0x100fbfed
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
add esp, 0x50
pop esi
pop ebp
ret
mov eax, dword [ebp - 0x30]
mov cl, byte [eax + 0x101ab5f4]
mov dl, byte [eax + 0x101ab5c5]
sub dl, cl
mov byte [ebp + eax - 0x24], dl
add eax, 1
cmp eax, 0xe
mov dword [ebp - 0x30], eax
jne 0x100fbff6
lea eax, [ebp - 0x24]
mov dword [0x101b993c], 0x1bbe
mov dword [0x101b9938], 0x14
mov dword [ebp - 0x44], eax
call fcn.100fc6aa
mov dword [esp], eax
mov eax, dword [ebp - 0x44]
mov dword [esp + 4], eax
call fcn.100fc32a
mov dword [0x101b9938], 0xeeb
mov dword [0x101b993c], 0xfffffe15
cmp eax, 0
mov dword [ebp - 0x34], eax
jne 0x100fbf46
xor eax, eax
add esp, 0x50
pop esi
pop ebp
ret
Function at 0x100fc1a4
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x24
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov dword [0x101b9944], 0
mov byte [0x101b9948], 0
mov dword [0x101b993c], 0x2449
mov dword [0x101b9938], 0x109e
mov dword [0x101b9940], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x100fc212
xor eax, eax
mov dword [0x101b9940], 0
mov ecx, dword [ebp - 0x20]
add ecx, 0x1d78
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], eax
jmp 0x100fc25e
mov eax, dword [ebp - 0x1c]
mov dword [0x101b993c], 0x206
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x101b9938]
mov esi, eax
add esi, 0xfffff9d0
mov dword [0x101b9938], esi
mov esi, dword [0x101b9940]
add esi, 1
mov dword [0x101b9940], esi
cmp esi, 0x100
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], esi
jl 0x100fc212
jmp 0x100fc1f5
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
mov edx, 0x3a46
mov esi, 0x100
mov dword [0x101b994c], 0
mov edi, dword [0x101b9944]
mov ebx, dword [ebp - 0x18]
movzx ebx, byte [ebx + eax]
add ebx, edi
mov dword [ebp - 0x2c], eax
xor edi, edi
mov dword [ebp - 0x30], edx
mov edx, edi
mov edi, dword [ebp - 0x10]
div edi
mov edi, dword [ebp - 0x14]
movzx edx, byte [edi + edx]
add ebx, edx
mov dword [0x101b994c], ebx
mov dword [0x101b993c], ecx
mov dword [0x101b9938], 0xe04
mov eax, ebx
cdq
idiv esi
mov dword [0x101b9944], edx
mov ecx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x2c]
mov cl, byte [ecx + esi]
mov byte [0x101b9948], cl
mov dword [0x101b993c], 0x18fd
mov ebx, dword [ebp - 0x18]
mov cl, byte [ebx + edx]
mov byte [ebx + esi], cl
mov cl, byte [0x101b9948]
mov edx, dword [0x101b9944]
mov byte [ebx + edx], cl
mov dword [0x101b9938], 0x169e
mov edx, dword [0x101b9940]
add edx, 1
mov dword [0x101b9940], edx
cmp edx, 0x100
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], edx
jl 0x100fc25e
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x100fcd75
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 4], 0
mov dword [0x101b993c], 0x2455
mov eax, dword fs:[0x30]
mov dword [ebp - 4], eax
xor ecx, ecx
mov dword [0x101b993c], 0x15ac
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 0x100fcdcc
mov eax, dword [ebp - 0x14]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x18], eax
jge 0x100fcde2
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], edx
jne 0x100fcdb5
mov eax, dword [ebp - 0x18]
xor ecx, ecx
mov edx, dword [0x101b9938]
add edx, 0xffffed2c
mov dword [0x101b9938], edx
mov edx, dword [ebp - 0xc]
cmp word [edx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], ecx
jne 0x100fced5
xor eax, eax
mov dword [0x101b9938], 0x2d1a
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x1c]
cmp word [ecx + edx*2 - 0x18], 0x6f
mov dword [ebp - 0x20], eax
jne 0x100fced5
xor eax, eax
mov dword [0x101b9938], 0x6a7
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x1c]
cmp word [ecx + edx*2 - 0x16], 0x61
mov dword [ebp - 0x20], eax
jne 0x100fced5
xor eax, eax
mov dword [0x101b9938], 0x468
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x1c]
cmp word [ecx + edx*2 - 0x14], 0x64
mov dword [ebp - 0x20], eax
jne 0x100fced5
xor eax, eax
mov dword [0x101b9938], 0xffffe829
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x1c]
cmp word [ecx + edx*2 - 0x12], 0x64
mov dword [ebp - 0x20], eax
jne 0x100fced5
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x1c]
cmp word [ecx + edx*2 - 0x10], 0x6c
mov dword [ebp - 0x20], eax
jne 0x100fced5
xor eax, eax
mov dword [0x101b993c], 0x401
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x1c]
cmp word [ecx + edx*2 - 0xe], 0x6c
mov dword [ebp - 0x20], eax
jne 0x100fced5
mov dword [0x101b9938], 0x2389
mov eax, 1
mov dword [ebp - 0x20], eax
jmp 0x100fced5
mov eax, dword [ebp - 0x20]
add esp, 0x20
pop ebp
ret