joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40c8f0
Capabilities:
Encode data using xor
Hash data with crc32
Read file on windows

Disassembly:
sub esp, 0x14
mov eax, dword [esp + 0x18]
push ebx
push esi
or esi, 0xffffffff
xor ebx, ebx
mov dword [esp + 8], 0x80000
test eax, eax
je 0x40cafe
push edi
push ebx
push pe_nt_image_headers32
push 3
push ebx
push 1
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
mov dword [esp + 0x1c], edi
cmp edi, 0xffffffff
je 0x40cafd
mov eax, dword [0x411368]
push ebp
push 0x80000
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebp, eax
test ebp, ebp
je 0x40caf5
cmp dword [esp + 0x30], ebx
jl 0x40c971
mov eax, dword [esp + 0x2c]
jg 0x40c962
test eax, eax
je 0x40c971
push 0
lea ecx, [esp + 0x34]
push ecx
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov edx, dword [esp + 0x34]
add edx, 0x80000
mov dword [esp + 0x28], edx
jmp 0x40c985
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
sub dword [esp + 0x28], 0x80000
add ebx, 0x80000
and eax, ecx
mov dword [esp + 0x14], ebx
cmp eax, 0xffffffff
je 0x40c9bd
mov eax, ebx
cdq
cmp edx, ecx
jl 0x40c9bd
jg 0x40c9b5
cmp eax, dword [esp + 0x34]
jbe 0x40c9bd
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x10]
push 0
lea edx, [esp + 0x1c]
push edx
push eax
push ebp
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ebx, dword [esp + 0x18]
mov eax, ebp
mov edx, ebx
cmp ebx, 8
jb 0x40cabc
mov edi, ebx
shr edi, 3
jmp 0x40c9f0
movzx ecx, byte [eax]
xor ecx, esi
and ecx, 0xff
mov dword [esp + 0x1c], ecx
mov ecx, esi
mov esi, dword [esp + 0x1c]
shr ecx, 8
xor ecx, dword [esi*4 + 0x40f550]
movzx esi, byte [eax + 1]
xor esi, ecx
and esi, 0xff
shr ecx, 8
xor ecx, dword [esi*4 + 0x40f550]
movzx esi, byte [eax + 2]
xor esi, ecx
and esi, 0xff
shr ecx, 8
xor ecx, dword [esi*4 + 0x40f550]
movzx esi, byte [eax + 3]
xor esi, ecx
and esi, 0xff
shr ecx, 8
xor ecx, dword [esi*4 + 0x40f550]
movzx esi, byte [eax + 4]
xor esi, ecx
and esi, 0xff
shr ecx, 8
xor ecx, dword [esi*4 + 0x40f550]
movzx esi, byte [eax + 5]
xor esi, ecx
and esi, 0xff
shr ecx, 8
xor ecx, dword [esi*4 + 0x40f550]
movzx esi, byte [eax + 6]
xor esi, ecx
and esi, 0xff
shr ecx, 8
xor ecx, dword [esi*4 + 0x40f550]
movzx esi, byte [eax + 7]
xor esi, ecx
and esi, 0xff
shr ecx, 8
xor ecx, dword [esi*4 + 0x40f550]
add eax, 8
sub edx, 8
dec edi
mov esi, ecx
jne 0x40c9f0
mov edi, dword [esp + 0x20]
test edx, edx
je 0x40cad9
movzx ecx, byte [eax]
xor ecx, esi
and ecx, 0xff
shr esi, 8
xor esi, dword [ecx*4 + 0x40f550]
inc eax
dec edx
jne 0x40cac0
cmp ebx, 0x80000
je 0x40c981
mov edx, dword [0x411368]
push ebp
push 0
push edx
call dword [sym.imp.KERNEL32.dll_HeapFree]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebp
pop edi
mov eax, esi
pop esi
not eax
pop ebx
add esp, 0x14
ret 0x14

Function at 0x40cb30
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x10], ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret
Function at 0x404863
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
mov eax, dword [0x426018]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ecx]
push ebx
push esi
push edi
sub ecx, 0x10
mov dword [ebp - 0x60], edx
call fcn.00403b35
push 0x44
xor ebx, ebx
push ebx
lea esi, [eax + 0x10]
lea eax, [ebp - 0x4c]
mov dword [ebp - 8], esi
push eax
call fcn.00409110
xor eax, eax
lea edi, [ebp - 0x5c]
stosd dword es:[edi], eax
add esp, 0xc
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
or dword [ebp - 0x20], 0x81
xor eax, eax
inc eax
mov word [ebp - 0x1c], ax
cmp dword [esi - 4], eax
jle 0x4048ce
push dword [esi - 0xc]
lea ecx, [ebp - 8]
call fcn.00403bfd
mov esi, dword [ebp - 8]
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x4c]
push eax
push ebx
push ebx
push 0x400
push ebx
push ebx
push ebx
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x4048fd
mov edi, dword [ebp - 0x60]
test edi, edi
je 0x40493a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi], eax
jmp 0x40493a
cmp byte [ebp + 8], bl
je 0x40490d
push 0xffffffffffffffff
push dword [ebp - 0x5c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebp - 0x60]
test eax, eax
je 0x404925
push eax
push dword [ebp - 0x5c]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
setne bl
jmp 0x404928
xor ebx, ebx
inc ebx
push dword [ebp - 0x5c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x58]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esi - 0x10]
call fcn.00401302
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00408bf5
leave
ret

Function at 0x4052e1
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x426018]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
xor ebx, ebx
push edi
mov edi, ecx
lea ecx, [ebp - 0x14]
push ecx
push 1
push ebx
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40535f
lea eax, [ebp - 0xc]
mov dword [ebp - 0x10], ebx
push eax
lea eax, [ebp - 0x10]
mov dword [ebp - 0xc], 4
push eax
lea eax, [ebp - 8]
mov dword [ebp - 8], ebx
push eax
push ebx
push esi
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x14]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x40535f
cmp dword [ebp - 8], 4
jne 0x40535f
cmp dword [ebp - 0xc], 4
ja 0x40535f
mov ecx, dword [ebp - 0x10]
mov dword [edi], ecx
mov byte [edi + 4], 1
jmp 0x405362
mov byte [edi + 4], bl
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00408bf5
leave
ret

Function at 0x40618e
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc0
push ebx
push esi
push edi
call fcn.00405f90
inc ebx
Function at 0x40619e
Capabilities:
Contain obfuscated stackstrings
Enumerate pe sections

Disassembly:
inc ebx
adc cl, byte [ebx - 0x24ccefbb]
cmp eax, ebx
je 0x4067ab
mov edi, dword [eax + 0x3c]
add edi, eax
movzx eax, word [edi + 0x14]
lea esi, [eax + edi + 0x18]
mov dword [ebp - 0x44], esi
call fcn.00405fb2
cmp dword [edi], 9
test eax, 0x647b70f
lea eax, [eax + eax*4]
shl eax, 3
sub eax, dword [ebp + 0x10]
add eax, esi
mov dword [ebp - 0xb4], eax
mov dword [ebp - 8], eax
call fcn.00405fb2
sub ebp, eax
sbb ebx, dword [edx + 0x66]
mov eax, dword [edi + 6]
cmp ax, bx
jbe 0x40620c
lea ecx, [esi + 0xc]
movzx edx, ax
mov eax, dword [ecx + 4]
mov esi, dword [ecx]
add eax, esi
cmp dword [ebp - 8], eax
jae 0x406206
mov dword [ebp - 8], eax
add ecx, 0x28
dec edx
jne 0x4061f7
mov byte [ebp - 0x58], bl
mov byte [ebp - 0x57], bl
mov byte [ebp - 0x56], 0x58
mov byte [ebp - 0x55], bl
mov byte [ebp - 0x54], 0xe0
mov byte [ebp - 0x53], 0xc2
mov byte [ebp - 0x52], 0xd3
mov byte [ebp - 0x51], 0xf4
mov byte [ebp - 0x50], 0xde
mov byte [ebp - 0x4f], 0xd4
mov byte [ebp - 0x4e], 0xd3
mov byte [ebp - 0x4d], 0xc2
mov byte [ebp - 0x4c], 0xca
mov byte [ebp - 0x4b], 0xee
mov byte [ebp - 0x4a], 0xc9
mov byte [ebp - 0x49], 0xc1
mov byte [ebp - 0x48], 0xc8
mov byte [ebp - 0x47], 0xa7
inc ebp
mov eax, 0xb945c6c8
cmpsd dword [esi], dword es:[edi]
call fcn.00405fb2
push edi
xchg ecx, eax
loop 0x40624a
lea eax, [ebp - 0x58]
push eax
call fcn.00405fc2
mov esi, dword [ebp + 0xc]
push eax
push esi
push dword [ebp + 8]
call fcn.00405f77
add esp, 0x10
lea ecx, [ebp - 0xb0]
push ecx
call eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xac]
xor edx, edx
div ecx
xor edx, edx
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 8]
div ecx
test edx, edx
je 0x4062a0
inc dword [ebp - 0x8c]
imul ecx, dword [ebp - 0x8c]
mov dword [ebp + 0xc], ecx
mov byte [ebp - 0x40], bl
mov byte [ebp - 0x3f], bl
mov byte [ebp - 0x3e], 0xec
mov byte [ebp - 0x3d], bl
mov byte [ebp - 0x3c], 0x45
mov byte [ebp - 0x3b], 0x7a
mov byte [ebp - 0x3a], 0x61
mov byte [ebp - 0x39], 0x67
mov byte [ebp - 0x38], 0x66
mov byte [ebp - 0x37], 0x72
mov byte [ebp - 0x36], 0x7f
mov byte [ebp - 0x35], 0x52
mov byte [ebp - 0x34], 0x7f
mov byte [ebp - 0x33], 0x7f
mov byte [ebp - 0x32], 0x7c
mov byte [ebp - 0x31], 0x70
mov byte [ebp - 0x30], 0x13
call fcn.00405fb2
or dword [ebp + 0x11], ebp
fisttp word [ebp - 0x17af3fbb]
invalid
Function at 0x4063ec
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc ebp
fisttp dword [edi - 0x3a]
inc ebp
fsub qword [edi - 0x3a]
inc ebp
fld qword [edx - 0x3a]
inc ebp
fimul word [ecx - 0x3a]
inc ebp
fistp word [ecx - 0x3a]
inc ebp
loopne 0x40644d
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.00405fc2
push eax
push esi
push dword [ebp + 8]
call fcn.00405f77
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.00405fb2
dec eax
insb byte es:[edi], dx
cmp ch, byte [edi - 0x78]
popfd
jl 0x406437
invalid
invalid
mov byte [ebp - 0x80], 0x51
mov byte [ebp - 0x7f], 0x73
mov byte [ebp - 0x7e], 0x62
mov byte [ebp - 0x7d], 0x5b
mov byte [ebp - 0x7c], 0x79
mov byte [ebp - 0x7b], 0x72
mov byte [ebp - 0x7a], 0x63
mov byte [ebp - 0x79], 0x7a
mov byte [ebp - 0x78], 0x73
mov byte [ebp - 0x77], 0x5e
mov byte [ebp - 0x76], 0x77
mov byte [ebp - 0x75], 0x78
mov byte [ebp - 0x74], 0x72
mov byte [ebp - 0x73], 0x7a
mov byte [ebp - 0x72], 0x73
mov byte [ebp - 0x71], 0x57
mov byte [ebp - 0x70], 0x16
call fcn.00405fb2
invalid
invalid

Function at 0x406526
Capabilities:
Inspect section memory permissions

Disassembly:
call [edx + 0x26]
and al, byte [ebx - 0x75]
jle 0x40656a
add edi, esi
mov dword [ebp - 0x88], edi
mov eax, dword [edi + 0x80]
cmp eax, ebx
invalid
invalid
pop ebp

Function at 0x4088c0
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4088ff
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4088ff
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4088ff
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x4088ff
cmp dword [ecx + 0x74], 0xe
jbe 0x4088ff
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x4190f0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x41911d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x41911d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x1000b970
Capabilities:
Create process on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x270
mov eax, dword [0x10018040]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x44
lea eax, [ebp - 0x260]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x218]
xorps xmm0, xmm0
movaps xmmword [ebp - 0x270], xmm0
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x110]
dec eax
nop
mov cl, byte [eax + 1]
lea eax, [eax + 1]
test cl, cl
jne 0x1000b9d0
mov ecx, dword [str._GameLaunching]
mov dword [eax], ecx
mov ecx, dword [0x10014c4c]
mov dword [eax + 4], ecx
mov ecx, dword [0x10014c50]
mov dword [eax + 8], ecx
mov cx, word [0x10014c54]
mov word [eax + 0xc], cx
mov cl, byte [0x10014c56]
mov byte [eax + 0xe], cl
lea eax, [ebp - 0x270]
push eax
lea eax, [ebp - 0x260]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
push dword [ebp - 0x270]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x26c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10010b59
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x1000cda0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10012490
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x10018040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
sub eax, 0
je 0x1000cfd7
sub eax, 1
jne 0x1000cffb
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push 0
push 2
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov dword [0x10018f64], eax
call fcn.1000f3c0
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentThread]
test eax, eax
jne 0x1000ce2a
call esi
push eax
call fcn.1000f8a0
test eax, eax
jne 0x1000ce25
push 0x1000ae10
push 0x10019044
call fcn.1000ec60
test eax, eax
jne 0x1000ce25
call fcn.1000f420
test eax, eax
je 0x1000ce2a
call fcn.1000f2b0
call fcn.1000f3c0
test eax, eax
jne 0x1000ce60
call esi
push eax
call fcn.1000f8a0
test eax, eax
jne 0x1000ce5b
push 0x1000b190
push 0x10019050
call fcn.1000ec60
test eax, eax
jne 0x1000ce5b
call fcn.1000f420
test eax, eax
je 0x1000ce60
call fcn.1000f2b0
call fcn.1000f3c0
test eax, eax
jne 0x1000ce96
call esi
push eax
call fcn.1000f8a0
test eax, eax
jne 0x1000ce91
push 0x1000ad40
push 0x10019040
call fcn.1000ec60
test eax, eax
jne 0x1000ce91
call fcn.1000f420
test eax, eax
je 0x1000ce96
call fcn.1000f2b0
call fcn.1000f3c0
test eax, eax
jne 0x1000cecc
call esi
push eax
call fcn.1000f8a0
test eax, eax
jne 0x1000cec7
push 0x1000af00
push 0x10019048
call fcn.1000ec60
test eax, eax
jne 0x1000cec7
call fcn.1000f420
test eax, eax
je 0x1000cecc
call fcn.1000f2b0
call fcn.1000f3c0
test eax, eax
jne 0x1000cf02
call esi
push eax
call fcn.1000f8a0
test eax, eax
jne 0x1000cefd
push 0x1000b280
push 0x10019054
call fcn.1000ec60
test eax, eax
jne 0x1000cefd
call fcn.1000f420
test eax, eax
je 0x1000cf02
call fcn.1000f2b0
mov eax, dword fs:[0x2c]
mov ecx, dword [0x10018e50]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x10019098]
cmp eax, dword [ecx + 4]
jle 0x1000cf4b
push 0x10019098
call fcn.10011026
add esp, 4
cmp dword [0x10019098], 0xffffffff
jne 0x1000cf4b
mov eax, dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x10019098
mov dword [0x10019094], eax
call fcn.10010fd5
add esp, 4
call fcn.1000f3c0
test eax, eax
jne 0x1000cf81
call esi
push eax
call fcn.1000f8a0
test eax, eax
jne 0x1000cf7c
push 0x1000acc0
push 0x10019094
call fcn.1000ec60
test eax, eax
jne 0x1000cf7c
call fcn.1000f420
test eax, eax
je 0x1000cf81
call fcn.1000f2b0
call fcn.1000f3c0
test eax, eax
jne 0x1000cfb7
call esi
push eax
call fcn.1000f8a0
test eax, eax
jne 0x1000cfb2
push 0x1000afd0
push 0x1001904c
call fcn.1000f0d0
test eax, eax
jne 0x1000cfb2
call fcn.1000f420
test eax, eax
je 0x1000cfb7
call fcn.1000f2b0
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
push 0
push 0
push 0
push 0x1000ccc0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
jmp 0x1000cffb
mov dword [ebp - 4], 0
mov eax, dword [0x100187e8]
cmp eax, 0xffffffff
je 0x1000cffb
push 0
push eax
call dword [0x10018f80]
mov dword [0x100187e8], 0xffffffff
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1000d850
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x10018040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
mov edi, dword [ebp + 8]
mov eax, ecx
lea ecx, [ebp - 8]
mov dword [ebp - 0xc], eax
push ecx
push 0x40
push edi
push eax
mov bl, dl
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
movzx eax, bl
mov ebx, dword [ebp - 0xc]
push edi
push eax
push ebx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.10010b59
mov esp, ebp
pop ebp
ret

Function at 0x1000d8b0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x10018040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
lea eax, [ebp - 8]
mov edi, ecx
push eax
push 0x40
push 1
push edi
mov bl, dl
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 8]
mov byte [edi], bl
push eax
push dword [ebp - 8]
push 1
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.10010b59
mov esp, ebp
pop ebp
ret

Function at 0x1000d900
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x10018040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
lea eax, [ebp - 8]
mov ebx, ecx
push eax
push 0x40
push 4
push ebx
mov edi, edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 8]
mov dword [ebx], edi
push eax
push dword [ebp - 8]
push 4
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.10010b59
mov esp, ebp
pop ebp
ret

Function at 0x1000dae0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 0xc]
sub eax, 0x10000
push eax
call fcn.1000dc90
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jbe 0x1000dbad
mov edx, dword [ebp - 4]
cmp edx, dword [section..data]
jb 0x1000db2a
mov eax, dword [ebp - 4]
cmp eax, dword [0x10018004]
ja 0x1000db2a
mov ecx, dword [ebp - 4]
sub ecx, 0x8000000
mov dword [ebp - 4], ecx
jmp 0x1000dafa
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x1000db50
jmp 0x1000dbad
cmp dword [ebp - 0x14], 0x10000
jne 0x1000db93
cmp dword [ebp - 0x18], 0x10000
jb 0x1000db93
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x1000db86
mov eax, dword [ebp - 8]
jmp 0x1000dbaf
mov eax, dword [ebp - 4]
sub eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x1000dba8
mov ecx, dword [ebp - 0x20]
sub ecx, 0x10000
push ecx
call fcn.1000dc90
add esp, 4
mov dword [ebp - 4], eax
jmp 0x1000dafa
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x1000dbc0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
push eax
call fcn.1000dcc0
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jae 0x1000dc85
mov edx, dword [ebp - 4]
cmp edx, dword [section..data]
jb 0x1000dc05
mov eax, dword [ebp - 4]
cmp eax, dword [0x10018004]
ja 0x1000dc05
mov ecx, dword [ebp - 4]
add ecx, 0x8000000
mov dword [ebp - 4], ecx
jmp 0x1000dbd5
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x1000dc2b
jmp 0x1000dc85
cmp dword [ebp - 0x14], 0x10000
jne 0x1000dc6e
cmp dword [ebp - 0x18], 0x10000
jb 0x1000dc6e
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x1000dc61
mov eax, dword [ebp - 8]
jmp 0x1000dc87
mov eax, dword [ebp - 4]
add eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x1000dc80
mov ecx, dword [ebp - 0x24]
add ecx, dword [ebp - 0x18]
push ecx
call fcn.1000dcc0
add esp, 4
mov dword [ebp - 4], eax
jmp 0x1000dbd5
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x1000dcf0
Capabilities:
Hook routines via microsoft detours

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.1000e0e0
add esp, 0xc
mov dword [ebp - 4], 0
cmp dword [0x10018ad4], 0
jne 0x1000dd2d
cmp dword [0x10018ad0], 0
je 0x1000dd2d
mov eax, dword [0x10018ad0]
mov dword [0x10018ad4], eax
cmp dword [0x10018ad4], 0
je 0x1000ddaa
mov ecx, dword [0x10018ad4]
cmp dword [ecx + 8], 0
je 0x1000ddaa
mov edx, dword [0x10018ad4]
mov eax, dword [edx + 8]
cmp eax, dword [ebp - 0x10]
jb 0x1000ddaa
mov ecx, dword [0x10018ad4]
mov edx, dword [ecx + 8]
cmp edx, dword [ebp - 0xc]
ja 0x1000ddaa
mov eax, dword [0x10018ad4]
mov ecx, dword [eax + 8]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
cmp edx, dword [ebp - 0x10]
jb 0x1000dd79
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0xc]
jbe 0x1000dd80
xor eax, eax
jmp 0x1000dec9
mov ecx, dword [0x10018ad4]
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x40]
mov dword [ecx + 8], eax
push 0x48
push 0xcc
mov ecx, dword [ebp - 4]
push ecx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov eax, dword [ebp - 4]
jmp 0x1000dec9
mov edx, dword [0x10018ad0]
mov dword [0x10018ad4], edx
jmp 0x1000ddc6
mov eax, dword [0x10018ad4]
mov ecx, dword [eax + 4]
mov dword [0x10018ad4], ecx
cmp dword [0x10018ad4], 0
je 0x1000de06
cmp dword [0x10018ad4], 0
je 0x1000de04
mov edx, dword [0x10018ad4]
cmp dword [edx + 8], 0
je 0x1000de04
mov eax, dword [0x10018ad4]
mov ecx, dword [eax + 8]
cmp ecx, dword [ebp - 0x10]
jb 0x1000de04
mov edx, dword [0x10018ad4]
mov eax, dword [edx + 8]
cmp eax, dword [ebp - 0xc]
ja 0x1000de04
jmp 0x1000dd5e
jmp 0x1000ddb8
mov ecx, dword [ebp + 8]
and ecx, 0xffff
mov edx, dword [ebp + 8]
sub edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.1000ded0
add esp, 0xc
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x1000dec7
mov eax, dword [ebp - 0x18]
mov dword [0x10018ad4], eax
mov ecx, dword [0x10018ad4]
mov dword [ecx], 0x52727464
mov edx, dword [0x10018ad4]
mov dword [edx + 8], 0
mov eax, dword [0x10018ad4]
mov ecx, dword [0x10018ad0]
mov dword [eax + 4], ecx
mov edx, dword [0x10018ad4]
mov dword [0x10018ad0], edx
mov dword [ebp - 0x14], 0
mov eax, dword [0x10018ad4]
add eax, 0x48
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0x38c
jmp 0x1000de97
mov ecx, dword [ebp - 8]
sub ecx, 1
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 1
jle 0x1000deb7
imul edx, dword [ebp - 8], 0x48
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x14]
mov dword [eax + edx + 0x40], ecx
imul edx, dword [ebp - 8], 0x48
add edx, dword [ebp - 4]
mov dword [ebp - 0x14], edx
jmp 0x1000de8e
mov eax, dword [0x10018ad4]
mov ecx, dword [ebp - 0x14]
mov dword [eax + 8], ecx
jmp 0x1000dd5e
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x10010784
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 0x100107ab
mov eax, ecx
mov dword [ebp - 4], eax
jmp 0x100107ae
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.10010760
pop esi
leave
ret 8