joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10051d10
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1394
call fcn.100a1c20
mov eax, dword [0x10112040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, edx
mov ebx, ecx
call dword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov dword [ebp - 0xc], 0xffffffff
mov esi, 1
mov dword [ebp - 0x138c], eax
mov ecx, eax
shr ecx, 0x1e
xor ecx, eax
imul eax, ecx, 0x6c078965
add eax, esi
mov dword [ebp + esi*4 - 0x138c], eax
inc esi
cmp esi, 0x270
jb 0x10051d46
xor ebx, 0x80000000
mov dword [ebp - 0x1390], 0x270
xor edi, 0x80000000
lea ecx, [ebp - 0x1390]
sub edi, ebx
cmp edi, 0xffffffff
jne 0x10051d91
call fcn.10061810
mov ecx, eax
jmp 0x10051dd3
inc edi
call fcn.10061810
mul edi
mov dword [ebp - 0x1394], eax
mov ecx, edx
cmp eax, edi
jae 0x10051dd3
mov eax, edi
xor edx, edx
neg eax
div edi
mov esi, edx
cmp dword [ebp - 0x1394], esi
jae 0x10051dd3
nop word [eax + eax]
lea ecx, [ebp - 0x1390]
call fcn.10061810
mul edi
mov ecx, edx
cmp eax, esi
jb 0x10051dc0
lea eax, [ecx + ebx]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor eax, 0x80000000
pop ebx
call fcn.100a07a5
mov esp, ebp
pop ebp
ret
Function at 0x100537f0
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x10112040]
xor eax, ebp
mov dword [ebp - 4], eax
movsx ecx, word [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x18], esi
cmp ecx, 0x69
ja case.0x1005381b.3
movzx eax, byte [ecx + 0x100539d4]
jmp dword [eax*4 + 0x10053988]
push 7
push str.LButton
jmp 0x10053957
push 7
push str.RButton
jmp 0x10053957
push 7
push str.MButton
jmp 0x10053957
push 8
push str.XButton1
jmp 0x10053957
push 8
push str.XButton2
jmp 0x10053957
push 7
push str.NumPad0
jmp 0x10053957
push 7
push str.NumPad1
jmp 0x10053957
push 7
push str.NumPad2
jmp 0x10053957
push 7
push str.NumPad3
jmp 0x10053957
push 7
push str.NumPad4
jmp 0x10053957
push 7
push str.NumPad5
jmp 0x10053957
push 7
push str.NumPad6
jmp 0x10053957
push 7
push str.NumPad7
jmp 0x10053957
push 7
push str.NumPad8
jmp 0x10053957
push 7
push str.NumPad9
jmp 0x10053957
push 3
push 0x10102254
jmp 0x10053957
push 9
push str.Caps_Lock
jmp 0x10053957
push 4
push str.None
jmp 0x10053957
xor eax, eax
xorps xmm0, xmm0
push 0x10
mov word [ebp - 0x14], ax
mov dword [ebp - 0xa], eax
mov word [ebp - 6], ax
lea eax, [ebp - 0x14]
push eax
push 0
push ecx
movq qword [ebp - 0x12], xmm0
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
shl eax, 0x10
push eax
call dword [sym.imp.USER32.dll_GetKeyNameTextA]
test eax, eax
je 0x10053950
xorps xmm0, xmm0
lea ecx, [ebp - 0x14]
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
lea edx, [ecx + 1]
mov dword [esi + 0x14], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10053940
sub ecx, edx
lea eax, [ebp - 0x14]
push ecx
push eax
jmp 0x1005396b
push 0xd
push str.VK2STR_FAILED
xorps xmm0, xmm0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov ecx, esi
call fcn.100155a0
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.100a07a5
mov esp, ebp
pop ebp
ret 8
Function at 0x1005d840
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a5e71
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x10112040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x10115e28]
mov ecx, dword [0x10115e34]
mov eax, dword [eax]
mov esi, dword [eax + 0xc]
mov eax, dword [ecx]
call dword [eax + 0x30]
mov ecx, dword [0x10115e28]
push eax
call esi
mov esi, eax
mov dword [ebp - 0x14], esi
push 3
test esi, esi
je 0x1005d8b2
call fcn.1009b5d0
mov ebx, dword [eax + 4]
mov dword [ebp - 0x18], ebx
call fcn.10051e60
test eax, eax
je 0x1005d8c6
mov ecx, 3
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], ebx
jmp 0x1005d8cb
mov dword [ebp - 0x14], 0
call fcn.1009b5d0
mov edi, dword [eax + 4]
mov ebx, edi
mov dword [ebp - 0x18], edi
mov ecx, 2
mov eax, dword [0x10112dec]
mov edi, 1
movss xmm0, dword [0x101083fc]
imul ecx, ebx
push 3
mov dword [ebp - 0x10], 0xffc8c8c8
sub eax, ecx
add eax, 0xfffffffe
mov dword [ebp - 0x1c], eax
mov eax, dword [0x10115e58]
divss xmm0, dword [eax + 8]
cvttss2si esi, xmm0
call fcn.1009b5d0
push esi
mov esi, dword [ebp - 0x10]
push str.fps__d
push edi
push esi
push dword [ebp - 0x1c]
push 2
push eax
push 0x10112de8
call fcn.10099cd0
add esp, 0x20
call fcn.10051e60
mov dword [ebp - 0x10], eax
test eax, eax
je 0x1005d9e5
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x1005d9e5
mov edx, dword [eax + 8]
lea ecx, [eax + 8]
call dword [edx + 0x24]
mov ecx, dword fs:[0x2c]
mov edi, eax
mov edx, dword [0x10115de8]
mov edx, dword [ecx + edx*4]
mov ecx, dword [0x10118040]
cmp ecx, dword [edx + 4]
jle 0x1005d9ab
push 0x10118040
call fcn.100a0bb4
add esp, 4
cmp dword [0x10118040], 0xffffffff
jne 0x1005d9ab
mov edx, str.m_iPing
mov dword [ebp - 4], 0
mov ecx, str.CPlayerResource
call fcn.1009c3f0
push 0x10118040
mov dword [0x10118038], eax
mov dword [ebp - 4], 0xffffffff
call fcn.100a0b63
add esp, 4
mov eax, dword [0x10118038]
push 3
lea eax, [eax + edi*4]
mov edi, dword [ebp - 0x10]
mov edi, dword [eax + edi]
call fcn.1009b5d0
mov ecx, dword [ebp - 0x18]
add ecx, dword [ebp - 0x1c]
push edi
push str.ping__d
push 1
push esi
push ecx
push 2
push eax
push 0x10112de8
call fcn.10099cd0
add esp, 0x20
mov edi, 2
push 3
call fcn.1009b5d0
push str.Oct_16_2024
push str.build__hs
push 1
imul edi, ebx
push esi
add edi, dword [ebp - 0x1c]
push edi
push 2
push eax
push 0x10112de8
call fcn.10099cd0
add esp, 0x20
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10061810
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [ebp - 4], esi
mov eax, dword [esi]
cmp eax, 0x270
jne 0x1006186d
lea edx, [esi + 8]
mov edi, eax
nop dword [eax]
mov ecx, dword [edx]
lea edx, [edx + 4]
xor ecx, dword [edx - 8]
and ecx, 0x7fffffff
xor ecx, dword [edx - 8]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edx + 0x62c]
xor eax, ecx
mov dword [edx + 0x9b8], eax
sub edi, 1
jne 0x10061830
mov eax, dword [esi]
jmp 0x1006194b
cmp eax, 0x4e0
jb 0x1006194b
lea edi, [esi + 0x9c4]
mov esi, 0xe3
push ebx
mov ebx, dword [edi]
lea edx, [edi]
mov eax, ebx
mov ebx, dword [edx + 4]
lea edi, [edx + 4]
mov ecx, ebx
xor ecx, eax
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edx + 0x634]
xor eax, ecx
mov dword [edx - 0x9c0], eax
sub esi, 1
jne 0x10061886
mov edi, dword [ebp - 4]
mov esi, 0x18c
add edi, 0xd50
mov ebx, dword [edi]
mov eax, ebx
lea edx, [edi]
mov ebx, dword [edx + 4]
lea edi, [edx + 4]
mov ecx, eax
xor ecx, ebx
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edx - 0xd4c]
xor eax, ecx
mov dword [edx - 0x9c0], eax
sub esi, 1
jne 0x100618d1
mov esi, dword [ebp - 4]
pop ebx
mov eax, dword [esi + 0x1380]
mov ecx, dword [esi + 4]
xor ecx, eax
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [esi + 0x634]
xor eax, ecx
mov dword [esi + 0x9c0], eax
xor eax, eax
mov dword [esi], 0
mov edx, dword [esi + eax*4 + 4]
inc eax
mov dword [esi], eax
mov ecx, edx
mov eax, dword [esi + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
pop edi
xor eax, edx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1006ca10
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a6f70
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x10112040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 8]
lea ecx, [esi + 0x18]
movq xmm0, qword [ebp + 0xc]
mov dword [esi], eax
mov eax, dword [ebp + 0x14]
movq qword [esi + 4], xmm0
xorps xmm0, xmm0
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
push 1
movups xmmword [ecx], xmm0
push 0x10104428
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.100155a0
lea ecx, [esi + 0x30]
xorps xmm0, xmm0
push 0
movups xmmword [ecx], xmm0
push 0x100c8149
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.100155a0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0x10

Function at 0x1006cc30
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, edx
mov dword [ebp - 4], ebx
push edi
mov edi, ecx
test esi, esi
je 0x1006cc70
mov bl, byte [ebx]
lea eax, [ebx + 0x20]
lea ecx, [ebx - 0x41]
movzx edx, al
movzx eax, bl
cmp cl, 0x19
mov ebx, dword [ebp - 4]
cmova edx, eax
inc ebx
movsx eax, dl
xor eax, edi
mov dword [ebp - 4], ebx
imul edi, eax, 0x1000193
sub esi, 1
jne 0x1006cc45
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10072730
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a7191
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x10112040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp byte [0x10112240], 0
je 0x1007291b
mov eax, dword [0x10115e28]
mov ecx, dword [0x10115e34]
mov eax, dword [eax]
mov esi, dword [eax + 0xc]
mov eax, dword [ecx]
call dword [eax + 0x30]
mov ecx, dword [0x10115e28]
push eax
call esi
test eax, eax
je 0x1007291b
mov ecx, eax
call fcn.10037c90
mov ecx, dword [0x10115e28]
mov ecx, dword [ecx]
mov edx, dword [ecx + 0x10]
mov ecx, dword [eax]
push ecx
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [0x10115e28]
call edx
mov esi, eax
test esi, esi
je 0x1007291b
mov ecx, dword [esi]
mov edx, dword [ecx + 0x5f8]
mov ecx, esi
call edx
test al, 2
je 0x1007291b
push esi
call fcn.10036ce0
test eax, eax
jne 0x1007291b
mov eax, dword [0x10112f18]
mov ecx, esi
mov dword [ebp - 0x10], eax
call dword [ebp - 0x10]
fstp dword [ebp - 0x10]
xorps xmm0, xmm0
comiss xmm0, dword [ebp - 0x10]
jae 0x1007291b
mov eax, dword [0x10115e28]
mov ecx, dword [0x10115e34]
mov eax, dword [eax]
mov esi, dword [eax + 0xc]
mov eax, dword [ecx]
call dword [eax + 0x30]
mov ecx, dword [0x10115e28]
push eax
call esi
mov esi, dword [0x10115de8]
mov ebx, eax
mov edi, dword fs:[0x2c]
test ebx, ebx
je 0x10072889
mov edx, dword [edi + esi*4]
mov ecx, dword [0x10116020]
cmp ecx, dword [edx + 4]
jle 0x1007287a
push 0x10116020
call fcn.100a0bb4
add esp, 4
cmp dword [0x10116020], 0xffffffff
jne 0x1007287a
mov edx, str.deadflag
mov dword [ebp - 4], 0
mov ecx, str.CBasePlayer
call fcn.1009c3f0
push 0x10116020
mov dword [0x10116038], eax
mov dword [ebp - 4], 0xffffffff
call fcn.100a0b63
add esp, 4
mov eax, dword [0x10116038]
cmp dword [ebx + eax], 0
jne 0x1007291b
cmp byte [0x10117da3], 0
jne 0x1007296f
mov ecx, dword [0x10115e0c]
push str.playerperf
call dword [0x10112870]
mov ecx, dword [edi + esi*4]
mov eax, dword [0x101181c8]
cmp eax, dword [ecx + 4]
jle 0x100728f6
push 0x101181c8
call fcn.100a0bb4
add esp, 4
cmp dword [0x101181c8], 0xffffffff
jne 0x100728f6
push str.Plat_FloatTime
push str.tier0.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x101181c8
mov dword [0x101181cc], eax
call fcn.100a0b63
add esp, 4
call dword [0x101181cc]
fstp dword [0x10117dc0]
mov byte [0x10117da3], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov byte [0x10117da2], 0
mov dword [0x10117db8], 0
mov dword [0x10117db4], 0
mov dword [0x10117dc0], 0
mov dword [0x10117dc8], 0
mov dword [0x10117db0], 0
mov byte [0x10117da3], 0
mov dword [0x10117dc4], 0
mov dword [0x10117dbc], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10099c60
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 1
jne 0x10099c8a
push 0
push 0
push dword [ebp + 8]
push 0x10099bf0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x10099c8a
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
pop ebp
ret 0xc
Function at 0x1009c230
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov eax, dword [0x10112040]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x40
lea eax, [ebp - 0x48]
mov esi, ecx
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, 0x20
mov dword [ebp - 0x60], 0x67452301
mov dword [ebp - 0x50], eax
lea ecx, [ebp - 0x48]
shr eax, 3
mov edx, 0x3f
and eax, 0x3f
mov dword [ebp - 0x5c], 0xefcdab89
add ecx, eax
mov dword [ebp - 0x58], 0x98badcfe
mov dword [ebp - 0x54], 0x10325476
sub edx, eax
mov dword [ebp - 0x4c], 0
add esp, 0xc
mov dword [ebp - 0x48], esi
mov byte [ecx], 0x80
inc ecx
cmp edx, 8
jae 0x1009c2c2
push edx
push 0
push ecx
call sub.VCRUNTIME140.dll_memset
lea edx, [ebp - 0x48]
lea ecx, [ebp - 0x60]
call fcn.1009bbb0
push 0x38
lea eax, [ebp - 0x48]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0x18
jmp 0x1009c2d1
lea eax, [edx - 8]
push eax
push 0
push ecx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov eax, dword [ebp - 0x50]
lea edx, [ebp - 0x48]
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x60]
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0xc], eax
call fcn.1009bbb0
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x5a]
xor ecx, ebp
pop esi
call fcn.100a07a5
mov esp, ebp
pop ebp
ret
Function at 0x1009dde0
Capabilities:
Enumerate threads
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x10112040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x28], edx
push edi
xor ebx, ebx
push ebx
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 0x1009df68
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x1c
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x1009def7
mov ebx, 1
cmp dword [ebp - 0x20], 0x10
jb 0x1009deba
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [ebp - 0x14], eax
jne 0x1009deba
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [ebp - 0x18], eax
je 0x1009deba
mov edx, dword [esi]
test edx, edx
jne 0x1009de86
push 0x200
push edx
push dword [0x10117dd4]
mov dword [esi + 4], 0x80
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edx, eax
mov dword [esi], edx
test edx, edx
je 0x1009dedf
jmp 0x1009deae
mov eax, dword [esi + 4]
cmp dword [esi + 8], eax
jb 0x1009deae
add eax, eax
mov dword [esi + 4], eax
shl eax, 2
push eax
push edx
push 0
push dword [0x10117dd4]
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov edx, eax
test edx, edx
je 0x1009dedf
mov dword [esi], edx
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 0x1009de41
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
je 0x1009def7
mov eax, dword [esi]
xor ebx, ebx
test eax, eax
je 0x1009def7
push eax
push ebx
push dword [0x10117dd4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov dword [esi], ebx
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
je 0x1009df68
cmp dword [esi], 0
je 0x1009df55
xor ebx, ebx
cmp dword [esi + 8], ebx
jbe 0x1009df55
xor ecx, ecx
mov dword [ebp - 0x24], ecx
mov eax, dword [esi]
push dword [eax + ecx]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov edi, eax
test edi, edi
je 0x1009df46
push edi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push dword [ebp + 8]
mov edx, dword [ebp - 0x28]
mov ecx, edi
call fcn.1009dc70
add esp, 4
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x24]
inc ebx
add ecx, 4
mov dword [ebp - 0x24], ecx
cmp ebx, dword [esi + 8]
jb 0x1009df13
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100a07a5
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 9
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100a07a5
mov esp, ebp
pop ebp
ret
Function at 0x1009df80
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, ecx
cmp dword [edi], 0
je 0x1009dfe4
push ebx
xor ebx, ebx
cmp dword [edi + 8], ebx
jbe 0x1009dfd3
xor ecx, ecx
mov dword [ebp - 4], ecx
push esi
nop word [eax + eax]
mov eax, dword [edi]
push dword [eax + ecx]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov esi, eax
test esi, esi
je 0x1009dfc3
push esi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
inc ebx
add ecx, 4
mov dword [ebp - 4], ecx
cmp ebx, dword [edi + 8]
jb 0x1009dfa0
pop esi
push dword [edi]
push 0
push dword [0x10117dd4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop ebx
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x1009dff0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x10112040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
imul esi, ecx, 0x2c
mov ebx, edx
push edi
add esi, dword [0x101195c0]
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 0x1009e051
pop edi
pop esi
mov eax, 0xa
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100a07a5
mov esp, ebp
pop ebp
ret
test ebx, ebx
je 0x1009e072
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 0x1009e093
mov eax, dword [esi]
mov word [eax], 0xf9eb
jmp 0x1009e093
mov eax, dword [esi + 0xc]
test byte [esi + 0x14], 1
mov dword [edi], eax
je 0x1009e08d
mov ax, word [esi + 0x10]
mov word [edi + 4], ax
mov al, byte [esi + 0x12]
mov byte [edi + 6], al
jmp 0x1009e093
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 cl, bl
xor eax, eax
add cl, cl
shl bl, 2
xor cl, byte [esi + 0x14]
and cl, 2
xor cl, byte [esi + 0x14]
xor bl, cl
and bl, 4
xor bl, cl
mov ecx, dword [ebp - 4]
pop edi
mov byte [esi + 0x14], bl
xor ecx, ebp
pop esi
pop ebx
call fcn.100a07a5
mov esp, ebp
pop ebp
ret
Function at 0x100a046f
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push 2
lea eax, [ebp - 4]
push eax
push 0x20000001
push str._x_sys_default_locale
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
xor ecx, ecx
test eax, eax
jne 0x100a0496
mov eax, ecx
mov dword [ebp - 4], eax
jmp 0x100a0499
mov eax, dword [ebp - 4]
push esi
mov esi, dword [ebp + 0xc]
push ecx
push ecx
push esi
push eax
push dword [ebp + 8]
push ecx
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
push eax
push dword [esi]
call fcn.100a044b
pop esi
leave
ret 8
Function at 0xd18370
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
push edi
push 0x1a
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0xd1838e
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push 0
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, dword [esp + 0x14]
push 0xd41074
push ecx
mov edi, eax
call fcn.00d2c198
mov esi, eax
add esp, 8
test esi, esi
jne 0xd183cb
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push ebx
push 1
push edi
call fcn.00d2c02e
push esi
call fcn.00d2bfb1
add esp, 0x14
mov al, 1
pop edi
pop esi
pop ebx
ret
Function at 0xd1b850
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x218
lea eax, [esp]
push ebp
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push eax
push 0x20019
push 0
push ecx
push SysReAllocString
call edi
test eax, eax
jne 0xd1b8ae
mov ecx, dword [esp + 0xc]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
lea edx, [esp + 0x10]
lea eax, [esp + 0x1c]
push edx
push eax
push 0xd46720
push ecx
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0xd1b8ba
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
pop esi
pop ebp
add esp, 0x218
ret
mov eax, dword [esp + 0xc]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
call esi
lea ecx, [esp + 0x1c]
push str.DefaultIcon
push ecx
call fcn.00d2c1e1
add esp, 8
lea edx, [esp + 0xc]
lea eax, [esp + 0x1c]
push edx
push 0x20019
push 0
push eax
push SysReAllocString
call edi
test eax, eax
jne 0xd1b8ae
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x1c]
push ecx
push edx
push 0xd46720
push eax
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0xd1b92a
mov ecx, dword [esp + 0xc]
push ecx
call esi
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x218
ret
mov edx, dword [esp + 0xc]
push edx
call esi
lea eax, [esp + 0x1c]
push 0x2c
push eax
call fcn.00d2d082
xor esi, esi
add esp, 8
cmp eax, esi
je 0xd1b957
mov word [eax], si
add eax, 2
push eax
call fcn.00d2d030
add esp, 4
jmp 0xd1b959
xor eax, eax
lea ecx, [esp + 0x18]
push 1
lea edx, [esp + 0x18]
push ecx
push edx
push eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x24], esi
push eax
mov dword [esp + 0x2c], esi
call dword [sym.imp.SHELL32.dll_ExtractIconExW]
test eax, eax
je 0xd1b8ae
mov al, byte [esp + 0x22c]
test al, al
mov eax, dword [esp + 0x14]
jne 0xd1b8b0
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
add esp, 0x218
ret

Function at 0xd1bff0
Capabilities:
Execute syscall

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
lea edx, [ebp + 0xc]
int 0x2e
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret