joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10024580
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10081eb3
mov eax, dword fs:[0]
push eax
sub esp, 0x2b0
push ebx
push esi
push edi
lea edi, [ebp - 0x2bc]
mov ecx, 0xac
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x1009f774]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov byte [0x1009f53d], 0
mov ecx, 0x100a3688
call fcn.10022120
movzx eax, al
test eax, eax
jne 0x100245e5
mov eax, 1
test eax, eax
je 0x1002478b
sub esp, 0x20
mov ecx, esp
mov dword [ebp - 0x2b4], esp
push str._HardWarIDLogger
call fcn.10002170
mov dword [ebp - 0x2bc], eax
call fcn.10022a30
add esp, 0x20
mov esi, esp
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp esi, esp
call fcn.1002ba00
lea eax, [ebp - 0x34]
push eax
mov ecx, 0x100a3688
call fcn.10021840
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x34]
call fcn.10002350
add eax, 1
push eax
call fcn.10026d70
add esp, 4
mov dword [ebp - 0x2a8], eax
mov eax, dword [ebp - 0x2a8]
mov dword [ebp - 0x40], eax
lea ecx, [ebp - 0x34]
call fcn.10002310
push eax
mov eax, dword [ebp - 0x40]
push eax
call fcn.10031510
add esp, 8
mov esi, esp
lea eax, [ebp - 0x1a8]
push eax
call dword [sym.imp.ADVAPI32.dll_GetCurrentHwProfileW]
cmp esi, esp
call fcn.1002ba00
lea eax, [ebp - 0x1a4]
push eax
push 0x1008494c
lea ecx, [ebp - 0xac]
push ecx
call fcn.1002ccb0
add esp, 0xc
lea eax, [ebp - 0x1d0]
push eax
call fcn.100243d0
add esp, 4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1d0]
call fcn.10002310
push eax
push str.Hacking_opened_Blocked_HWID_:__ls_connection_refused
push 0x100a32a0
call fcn.1002ccb0
add esp, 0xc
lea ecx, [ebp - 0x34]
call fcn.1000da80
cmp eax, 3
jbe 0x1002476d
lea ecx, [ebp - 0x34]
call fcn.10002310
push eax
lea ecx, [ebp - 0x1d0]
call fcn.10002310
push eax
call fcn.1002d040
add esp, 8
test eax, eax
jne 0x1002471b
push 0
lea ecx, [ebp - 0x1d0]
call fcn.10002310
push eax
lea ecx, [ebp - 0x34]
call fcn.100023e0
cmp eax, dword [0x100848f4]
je 0x1002476d
push 0x1d
push str.XeonansePlayerAreaBitFunction
push 0x513146
call fcn.10022750
add esp, 0xc
sub esp, 0x20
mov ecx, esp
mov dword [ebp - 0x29c], esp
push 0x100a32a0
call fcn.10002170
mov dword [ebp - 0x2bc], eax
call fcn.10022a30
add esp, 0x20
push 0x1d
push str.XeonansePlayerAreaBitFunction
push 0x513146
call fcn.10022750
add esp, 0xc
push 0
call fcn.1002c570
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1d0]
call fcn.10002220
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.10002220
push edx
mov ecx, ebp
push eax
lea edx, [0x100247c8]
call fcn.1002ba30
pop eax
pop edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1002c4c0
add esp, 0x2bc
cmp ebp, esp
call fcn.1002ba00
mov esp, ebp
pop ebp
ret
Function at 0x100291d0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10087b50
push 0x1003f258
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
add esp, 0xffffffcc
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
push 0x1c
lea eax, [ebp - 0x34]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x38], edx
mov eax, dword [ebp - 0x38]
xor ecx, ecx
mov cx, word [eax]
cmp ecx, 0x5a4d
je 0x10029236
mov byte [ebp - 0x3d], 0
mov dword [ebp - 4], 0xffffffff
mov al, byte [ebp - 0x3d]
jmp 0x100292bf
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x38]
add eax, dword [edx + 0x3c]
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x3c]
cmp dword [ecx], 0x4550
je 0x1002925d
mov byte [ebp - 0x3e], 0
mov dword [ebp - 4], 0xffffffff
mov al, byte [ebp - 0x3e]
jmp 0x100292bf
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x38]
add eax, dword [edx + 0xd8]
cmp dword [ebp + 0xc], eax
jb 0x10029298
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x38]
add edx, dword [ecx + 0xd8]
mov eax, dword [ebp - 0x3c]
add edx, dword [eax + 0xdc]
cmp dword [ebp + 0xc], edx
jae 0x10029298
mov byte [ebp - 0x3f], 1
mov dword [ebp - 4], 0xffffffff
mov al, byte [ebp - 0x3f]
jmp 0x100292bf
mov byte [ebp - 0x40], 0
mov dword [ebp - 4], 0xffffffff
mov al, byte [ebp - 0x40]
jmp 0x100292bf
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x100293a0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x100a3f48]
mov dword [ebp - 4], eax
jmp 0x100293b9
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0
je 0x100293d6
lea eax, [ebp - 8]
push eax
push 0x40
push 0x10000
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
jmp 0x100293b0
mov esp, ebp
pop ebp
ret
Function at 0x100293e0
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x100a3f58], eax
je 0x100293fe
mov eax, 0x10dd
jmp 0x100294e0
mov eax, dword [0x100a3f68]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x1002947d
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x14]
push eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x10]
xor eax, eax
mov al, byte [edx + 0x36]
push eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [ebp - 8]
cmp dword [eax + 4], 0
jne 0x1002945b
mov ecx, dword [ebp - 8]
cmp dword [ecx + 0x10], 0
je 0x1002945b
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x10]
push eax
call fcn.10029550
add esp, 4
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x10], 0
mov edx, dword [ebp - 8]
mov eax, dword [edx]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
push edx
call fcn.1002f8f0
add esp, 4
mov eax, dword [ebp - 0x10]
mov dword [ebp - 8], eax
jmp 0x10029406
mov dword [0x100a3f68], 0
call fcn.100294f0
mov ecx, dword [0x100a3f64]
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0
je 0x100294ca
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 4]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.1002f8f0
add esp, 4
mov edx, dword [ebp - 0x14]
mov dword [ebp - 4], edx
jmp 0x10029495
mov dword [0x100a3f64], 0
mov dword [0x100a3f58], 0
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x10029a50
Capabilities:
Hook routines via microsoft detours

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
cmp dword [eax], 0x52727464
je 0x10029a65
xor eax, eax
jmp 0x10029ada
mov ecx, dword [ebp + 8]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
add edx, 0x10000
mov dword [ebp - 4], edx
mov eax, dword [ebp + 8]
add eax, 0x48
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], 0
jmp 0x10029a92
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
cmp dword [ebp - 0xc], 0x38d
jae 0x10029ad5
mov edx, dword [ebp - 0xc]
imul edx, edx, 0x48
mov eax, dword [ebp - 0x10]
cmp dword [eax + edx + 0x40], 0
je 0x10029ad3
mov ecx, dword [ebp - 0xc]
imul ecx, ecx, 0x48
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + ecx + 0x40]
cmp eax, dword [ebp - 8]
jb 0x10029acf
mov ecx, dword [ebp - 0xc]
imul ecx, ecx, 0x48
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + ecx + 0x40]
cmp eax, dword [ebp - 4]
jb 0x10029ad3
xor eax, eax
jmp 0x10029ada
jmp 0x10029a89
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x10029b90
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [0x100a3f5c], 0
je 0x10029ba9
mov eax, dword [0x100a3f5c]
jmp 0x10029c49
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
cmp dword [ebp + 8], eax
jne 0x10029bbb
xor eax, eax
jmp 0x10029c49
push 8
call fcn.1002fdb0
add esp, 4
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x10029c11
mov dword [ebp - 8], 8
cmp dword [ebp - 4], 0
je 0x10029bfa
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
push edx
call fcn.1002f8f0
add esp, 4
mov dword [ebp - 4], 0
mov eax, dword [ebp - 8]
mov dword [0x100a3f5c], eax
mov dword [0x100a3f60], 0
mov eax, dword [ebp - 8]
jmp 0x10029c49
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
jne 0x10029c2b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 8], eax
jmp 0x10029bdb
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 8]
mov dword [edx + 4], eax
mov ecx, dword [ebp - 4]
mov edx, dword [0x100a3f64]
mov dword [ecx], edx
mov eax, dword [ebp - 4]
mov dword [0x100a3f64], eax
xor eax, eax
mov esp, ebp
pop ebp
ret 4
Function at 0x1002a490
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
push eax
call fcn.1002a560
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jae 0x1002a54c
cmp dword [ebp - 4], 0x50000000
jb 0x1002a4cc
cmp dword [ebp - 4], 0x80000000
ja 0x1002a4cc
mov dword [ebp - 4], 0x80010000
jmp 0x1002a4a5
push 0x1c
push 0
lea edx, [ebp - 0x20]
push edx
call fcn.10030670
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x1002a4f2
jmp 0x1002a54c
cmp dword [ebp - 0x10], 0x10000
jne 0x1002a535
cmp dword [ebp - 0x14], 0x10000
jb 0x1002a535
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x1002a528
mov eax, dword [ebp - 0x24]
jmp 0x1002a54e
mov eax, dword [ebp - 4]
add eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x1002a547
mov ecx, dword [ebp - 0x20]
add ecx, dword [ebp - 0x14]
push ecx
call fcn.1002a560
add esp, 4
mov dword [ebp - 4], eax
jmp 0x1002a4a5
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x1002a5a0
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.1002a670
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jbe 0x1002a664
cmp dword [ebp - 4], 0x50000000
jb 0x1002a5e1
cmp dword [ebp - 4], 0x80000000
ja 0x1002a5e1
mov dword [ebp - 4], 0x4fff0000
jmp 0x1002a5ba
push 0x1c
push 0
lea edx, [ebp - 0x20]
push edx
call fcn.10030670
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x1002a607
jmp 0x1002a664
cmp dword [ebp - 0x10], 0x10000
jne 0x1002a64a
cmp dword [ebp - 0x14], 0x10000
jb 0x1002a64a
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x1002a63d
mov eax, dword [ebp - 0x24]
jmp 0x1002a666
mov eax, dword [ebp - 4]
sub eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x1002a65f
mov ecx, dword [ebp - 0x1c]
sub ecx, 0x10000
push ecx
call fcn.1002a670
add esp, 4
mov dword [ebp - 4], eax
jmp 0x1002a5ba
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x1002c4c0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1009f774]
jne 0x1002c4ca
repz ret
jmp fcn.100436c0
Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

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

Disassembly:
pushal
nop
mov eax, section..text
nop
nop
nop
push 4
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
cmp eax, 0
nop
nop
nop
je 0x433072
nop
nop
nop
nop
mov ebx, 0x40de38
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x35674720
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x433060
nop
mov eax, section..rsrc
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x4330d2
nop
nop
mov ebx, 0x4304d8
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
push eax
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0xd67544b
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x4330c0
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219

Function at 0x401e68
Capabilities:
Terminate process

Disassembly:
inc eax
add byte [edx - 1], dl
adc eax, sym.imp.MSVCRT.dll_fprintf
mov ecx, 0x8602ac
add esp, 0x14
test eax, eax
sub dword [edi], ecx
push eax
push 0x40d054
call dword [sym.imp.MSVCRT.dll_printf]
add esp, 8
push esi
call dword [sym.imp.MSVCRT.dll_exit]
pop esi
nop
nop
nop
nop
nop
xchg edx, eax
mov edx, 0x908f9016
nop

Function at 0x404092
Capabilities:
Encode data using xor

Disassembly:
push cs
invalid
call 0x403f55
mov ecx, 0x1dd
call 0x404092
rcr dword [esi + 0x30], 0x4c
push cs
pop es
xor byte [esi + ecx + 7], cl
loop 0x404095
imul esi, dword [eax + 0x5a], 0xffffffdd
jmp 0x404080
Function at 0x100981a
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push 0x1c
push 0x100f438
call fcn.0100c048
xor ebx, ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
push ebx
lea eax, [ebp - 0x20]
push eax
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push 0x10012a0
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov dword [ebp - 0x24], eax
cmp eax, ebx
jne 0x10098a9
push 4
pop edi
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x28], edi
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x2c]
push eax
push ebx
mov esi, 0x100127c
push esi
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x24], eax
cmp eax, ebx
je 0x100988d
cmp eax, 2
jne 0x10098a9
mov dword [ebp - 0x1c], ebx
mov eax, dword [ebp + 8]
or dword [ebp - 0x1c], eax
push dword [ebp - 0x28]
lea eax, [ebp - 0x1c]
push eax
push edi
push ebx
push esi
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], 0xfffffffe
call fcn.010098c2
mov eax, dword [ebp - 0x24]
call fcn.0100c08d
ret 4

Function at 0x1009970
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
push 2
lea eax, [ebp - 4]
push eax
push 0x20001004
push dword [ebp + 8]
call esi
test eax, eax
jne 0x1009996
xor eax, eax
inc eax
jmp 0x10099d3
cmp dword [ebp - 4], 0
je 0x1009991
push 2
lea eax, [ebp - 4]
push eax
push 0x2000000b
push dword [ebp + 8]
call esi
test eax, eax
je 0x1009991
cmp dword [ebp - 4], 1
je 0x1009991
push 2
lea eax, [ebp - 4]
push eax
push 0x20001011
push dword [ebp + 8]
call esi
test eax, eax
je 0x1009991
xor eax, eax
cmp dword [ebp - 4], 2
sete al
pop esi
leave
ret 4
Function at 0x1009a57
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push edi
push 0x1001a30
push 0x1001364
push 0x1010060
call fcn.010098d6
xor edi, edi
mov dword [ebp - 0xc], eax
cmp eax, edi
jne 0x1009a96
push 0x10019c0
push 1
call fcn.0100e7e5
pop ecx
pop ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x1009c05
push ebx
push esi
mov esi, dword [ebp + 8]
push 1
push esi
call sub.KERNEL32.dll_NlsUpdateLocale
mov ebx, dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov dword [ebp - 4], eax
cmp eax, edi
jne 0x1009b05
push esi
push 0x1001960
push edi
call fcn.0100e7e5
add esp, 0xc
push 2
lea eax, [ebp - 8]
push eax
push 0x2000005b
push esi
call ebx
test eax, eax
jle 0x1009b1f
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_SetUserGeoID]
test eax, eax
jne 0x1009af2
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push dword [ebp - 8]
mov dword [ebp - 4], eax
push 0x10018f8
jmp 0x1009b0c
push dword [ebp - 8]
push 0x10018b0
push edi
call fcn.0100e7e5
add esp, 0xc
jmp 0x1009b16
push eax
push esi
push 0x1001830
push 1
call fcn.0100e7e5
add esp, 0x10
cmp dword [ebp - 4], edi
jne 0x1009c00
push 1
call dword [ebp - 0xc]
mov dword [ebp - 4], eax
cmp eax, edi
je 0x1009b35
push eax
push 0x1001778
push 1
jmp 0x1009b3c
push esi
push 0x10016b0
push edi
call fcn.0100e7e5
add esp, 0xc
cmp dword [ebp - 4], edi
jne 0x1009c00
cmp dword [ebp + 0xc], edi
je 0x1009b72
push esi
push 0x10015f8
push edi
call fcn.0100e7e5
add esp, 0xc
push esi
call fcn.010099dd
mov dword [ebp - 4], eax
cmp eax, edi
jne 0x1009c00
cmp dword [ebp + 0x10], edi
je 0x1009c00
push esi
push 0x1001538
push edi
call fcn.0100e7e5
add esp, 0xc
push edi
push edi
push 0x5e
push esi
call ebx
mov esi, eax
cmp esi, edi
jle 0x1009c00
lea eax, [esi + esi]
push eax
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
test edi, edi
je 0x1009beb
push esi
push edi
push 0x5e
push dword [ebp + 8]
call ebx
test eax, eax
jle 0x1009bd9
push dword [ebp + 8]
push edi
push 0x10014e0
push 0
call fcn.0100e7e5
add esp, 0x10
push edi
call fcn.01009908
mov dword [ebp - 4], eax
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x1009c00
push 0x10014c4
push 1
call fcn.0100e7e5
pop ecx
pop ecx
mov dword [ebp - 4], 8
mov eax, dword [ebp - 4]
pop esi
pop ebx
pop edi
leave
ret 0xc
Function at 0x1009ca0
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0x10]
push esi
xor esi, esi
push edi
mov dword [ebp - 4], esi
cmp ebx, esi
je 0x1009ce5
push dword [ebp + 0x14]
push esi
push esi
push ebx
push dword [ebp + 8]
call fcn.0100db61
push ebx
push dword [ebp + 0x14]
mov dword [ebp - 4], eax
cmp eax, esi
jne 0x1009cd6
push 0x1001da8
push esi
jmp 0x1009cdd
push 0x1001d40
push 2
call fcn.0100e7e5
add esp, 0x10
mov edi, dword [ebp + 0xc]
cmp edi, esi
je 0x1009db2
push dword [ebp + 0x14]
push edi
push dword [ebp + 8]
call fcn.0100d4bc
push edi
push dword [ebp + 0x14]
mov dword [ebp - 4], eax
cmp eax, esi
jne 0x1009d0f
push 0x1001ce8
push esi
jmp 0x1009d16
push 0x1001c80
push 2
call fcn.0100e7e5
add esp, 0x10
cmp ebx, esi
jne 0x1009db2
push esi
push esi
push 0x5e
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
call edi
mov ebx, eax
cmp ebx, esi
jle 0x1009db2
lea eax, [ebx + ebx]
push eax
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [ebp + 0x10], eax
cmp eax, esi
je 0x1009d9d
push ebx
push eax
push 0x5e
push dword [ebp + 0xc]
call edi
test eax, eax
jle 0x1009d8a
push dword [ebp + 0x14]
push dword [ebp + 0xc]
push dword [ebp + 0x10]
push 0x1001c10
push esi
call fcn.0100e7e5
add esp, 0x14
push dword [ebp + 0x14]
push esi
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0100db61
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push esi
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x1009db2
push 0x10014c4
push 1
call fcn.0100e7e5
pop ecx
pop ecx
mov dword [ebp - 4], 8
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x100a035
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x28
push 0x100f458
call fcn.0100c048
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
xor edi, edi
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x30], ebx
cmp dword [ebp + 8], ebx
je 0x100a1e3
cmp dword [ebp + 0xc], ebx
je 0x100a1e3
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x24]
push eax
push 0x20019
push ebx
push 0x1001ef8
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x1c], eax
cmp eax, ebx
je 0x100a092
mov dword [ebp - 0x24], ebx
jmp 0x100a15f
lea eax, [ebp - 0x20]
push eax
push ebx
lea eax, [ebp - 0x30]
push eax
push ebx
push dword [ebp + 8]
push dword [ebp - 0x24]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
call esi
mov dword [ebp - 0x1c], eax
cmp eax, ebx
jne 0x100a15f
cmp dword [ebp - 0x30], 1
jne 0x100a158
cmp dword [ebp - 0x20], ebx
je 0x100a158
cmp dword [ebp - 0x20], 2
jae 0x100a0da
mov dword [ebp - 0x1c], 0x18
jmp 0x100a15f
add dword [ebp - 0x20], 2
push dword [ebp - 0x20]
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
mov dword [ebp - 0x34], edi
cmp edi, ebx
jne 0x100a102
mov dword [ebp - 0x1c], 8
jmp 0x100a15f
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], edi
cmp dword [ebp - 0x2c], ebx
je 0x100a11d
mov eax, dword [ebp - 0x28]
mov byte [eax], bl
inc dword [ebp - 0x28]
dec dword [ebp - 0x2c]
jmp 0x100a10b
lea eax, [ebp - 0x20]
push eax
push edi
push ebx
push ebx
push dword [ebp + 8]
push dword [ebp - 0x24]
call esi
mov dword [ebp - 0x1c], eax
cmp eax, ebx
jne 0x100a15f
mov eax, dword [ebp - 0x20]
shr eax, 1
push eax
push edi
call fcn.01009f6f
test eax, eax
je 0x100a158
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, bx
jne 0x100a148
sub eax, edx
sar eax, 1
jne 0x100a15f
mov dword [ebp - 0x1c], 0x545
mov dword [ebp - 4], 0xfffffffe
call fcn.0100a1b9
mov esi, dword [ebp + 0xc]
cmp dword [ebp - 0x1c], ebx
jne 0x100a175
mov dword [esi], edi
cmp dword [ebp - 0x24], ebx
je 0x100a183
push dword [ebp - 0x24]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, ebx
je 0x100a1cb
cmp dword [esi], ebx
jne 0x100a1cb
push dword [ebp - 0x1c]
push dword [ebp + 8]
push 0x1001e70
push ebx
call fcn.0100e7e5
add esp, 0x10
cmp edi, ebx
je 0x100a1de
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x100a1de
push dword [esi]
push dword [ebp + 8]
push 0x1001e10
push ebx
call fcn.0100e7e5
add esp, 0x10
mov eax, dword [ebp - 0x1c]
jmp 0x100a1e6
push 0x57
pop eax
call fcn.0100c08d
ret 8