joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45c1b0
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x550113
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x6fb4c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
cmp dword [0x6f88cc], 0xffffffff
jne 0x45c211
mov esi, 0x7008ac
mov ecx, esi
call fcn.0043f110
and esi, 0xfffffffe
cmp dword [0x6f88cc], 0xffffffff
jne 0x45c207
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x6f88cc], eax
and esi, 0xfffffffe
mov ecx, esi
call fcn.0043f5c0
push dword [0x6f88cc]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
test ebx, ebx
jne 0x45c2b4
cmp byte [ebp + 8], al
je 0x45c2b4
push 0x44
call fcn.00524591
add esp, 4
mov dword [ebp - 0x1c], eax
push 1
mov ecx, eax
mov dword [ebp - 4], ebx
call fcn.0045b110
mov ebx, eax
push ebx
push dword [0x6f88cc]
mov dword [ebp - 0x18], ebx
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push 8
mov dword [ebp - 4], 1
call fcn.00524591
add esp, 4
mov dword [ebp - 0x1c], eax
push ebx
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.0045aff0
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
nop
nop
mov ecx, ebx
mov dword [ebx + 0x24], eax
mov dword [ebp - 4], 0xffffffff
call fcn.0045b6c0
mov byte [ebx + 0x42], 1
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebx + 0x28], eax
mov eax, dword [0x6fd058]
nop
test eax, eax
jne 0x45c2c8
mov eax, dword [ebx + 0x24]
nop
mov dword [0x6fd058], eax
mov eax, ebx
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 esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [ebp - 0x14], 0xffffffff
call esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov edi, eax
call esi
push 2
push 0
push 0
lea ecx, [ebp - 0x14]
push ecx
push ebx
push edi
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebx + 0x24]
nop
push eax
push dword [ebp - 0x14]
call fcn.0045ca00
add esp, 8
mov eax, ebx
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 0x45c500
Capabilities:
Get system information on windows

Disassembly:
sub esp, 0x24
lea eax, [esp]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [esp + 0x14]
add esp, 0x24
ret
Function at 0x45d030
Capabilities:
Terminate thread

Disassembly:
push ecx
push esi
push edi
mov edi, ecx
mov esi, dword [edi + 4]
lea eax, [esi + 0x30]
mov dword [esp + 8], eax
test eax, eax
je 0x45d04f
mov ecx, eax
call fcn.0043f110
or dword [esp + 8], 1
cmp byte [esi + 0x38], 0
je 0x45d077
cmp byte [esi + 0x58], 0
jne 0x45d061
mov byte [esi + 0x59], 1
jmp 0x45d077
push 0
push dword [esi + 0x4c]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push 0
push edi
call fcn.0045c3a0
add esp, 8
mov ecx, dword [esp + 8]
pop edi
pop esi
test cl, 1
je 0x45d08d
and ecx, 0xfffffffe
add esp, 4
jmp fcn.0043f5c0
pop ecx
ret
Function at 0x46cc60
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
push esi
mov esi, ecx
push edi
mov eax, dword [esi]
test eax, eax
je 0x46cccc
mov edi, dword [esp + 0x20]
lea ecx, [esp + 0xc]
push 0
push 0
push ecx
push 0
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x46cccc
cmp dword [esp + 0xc], 4
jne 0x46cccc
mov dword [esp + 8], eax
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0xc]
mov dword [esp + 0x14], 4
push eax
push 0
push 0
push edi
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [esp + 8]
test eax, eax
mov eax, dword [esp + 0x18]
sete dl
pop edi
pop esi
mov dword [eax], ecx
mov byte [eax + 4], dl
add esp, 0xc
ret 0xc
mov eax, dword [esp + 0x18]
pop edi
pop esi
mov dword [eax], 0
mov byte [eax + 4], 0
add esp, 0xc
ret 0xc
Function at 0x46ccf0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x551792
mov eax, dword fs:[0]
push eax
sub esp, 0x120
push ebx
push esi
push edi
mov eax, dword [0x6fb4c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x1c], 1
mov esi, dword [ebp + 8]
mov dword [esi], 0x6e80cc
mov eax, dword [edi]
mov dword [ebp - 4], 0
mov dword [ebp - 0x1c], 1
test eax, eax
je 0x46ce84
mov ebx, dword [ebp + 0x10]
lea ecx, [ebp - 0x10]
push ecx
push 0
lea ecx, [ebp - 0x18]
push ecx
push 0
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x46ce84
mov eax, dword [ebp - 0x18]
cmp eax, 1
je 0x46cd75
cmp eax, 2
jne 0x46ce84
mov eax, dword [ebp - 0x10]
cmp eax, 2
jbe 0x46ce84
add eax, 2
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x128], eax
cmp eax, 0x100
jle 0x46cdc5
push eax
call fcn.0052a232
mov ecx, eax
add esp, 4
mov dword [ebp - 0x124], ecx
test ecx, ecx
jne 0x46cdb4
call fcn.00425c40
mov ecx, dword [ebp - 0x124]
mov eax, dword [ebp - 0x128]
mov dword [ebp - 0x12c], eax
mov eax, dword [ebp - 0x10]
jmp 0x46cddb
lea ecx, [ebp - 0x11c]
mov dword [ebp - 0x12c], 0x100
mov dword [ebp - 0x124], ecx
push eax
push 0
push ecx
mov dword [ebp - 4], 1
call fcn.00526970
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x124]
lea eax, [ebp - 0x18]
push eax
push 0
push ebx
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x46ce6b
push 0xffffffffffffffff
push dword [ebp - 0x124]
lea eax, [ebp - 0x14]
push eax
call fcn.00408df0
add esp, 0xc
mov ecx, dword [eax]
mov dword [eax], 0x6e80cc
mov eax, dword [ebp - 0x14]
mov dword [ebp + 8], ecx
mov eax, dword [eax]
test eax, eax
je 0x46ce4a
cmp eax, 0xffffffff
je 0x46ce59
mov eax, dword [ebp - 0x14]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
setne al
test al, al
jne 0x46ce59
push 4
push 2
push dword [ebp - 0x14]
call fcn.00403690
add esp, 0xc
mov ecx, dword [esi]
mov eax, dword [ebp + 8]
mov dword [ebp + 8], ecx
lea ecx, [ebp + 8]
mov dword [esi], eax
call fcn.00401a70
mov eax, dword [ebp - 0x124]
lea ecx, [ebp - 0x11c]
cmp eax, ecx
je 0x46ce84
push eax
call fcn.0052a217
add esp, 4
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 0xc
Function at 0x486ad0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x552f88
mov eax, dword fs:[0]
push eax
sub esp, 0x98
push ebx
push esi
push edi
mov eax, dword [0x6fb4c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], 0x6f8dd0
mov eax, dword [ebp + 0x10]
mov edx, 0x40
test eax, eax
mov dword [ebp - 4], 0
cmovne edx, eax
mov dword [ebp - 0xa0], edx
cmp edx, 0x40
jle 0x486b52
lea eax, [edx + edx]
push eax
call fcn.0052a232
add esp, 4
mov dword [ebp - 0x9c], eax
test eax, eax
jne 0x486b44
call fcn.00425c40
mov eax, dword [ebp - 0x9c]
mov edx, dword [ebp - 0xa0]
mov dword [ebp - 0xa4], edx
jmp 0x486b68
lea eax, [ebp - 0x94]
mov dword [ebp - 0xa4], 0x40
mov dword [ebp - 0x9c], eax
mov esi, dword [ebp + 0xc]
mov edi, dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
push edx
push eax
push esi
push dword [ebx]
mov byte [ebp - 4], 1
call edi
test eax, eax
jne 0x486c3b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, 0x50
jne 0x486bbe
test eax, eax
jne 0x486bbe
mov esi, dword [ebp + 8]
mov dword [esi], 0x6f8dd0
mov eax, dword [0x6f8dd0]
test eax, eax
je 0x486c5f
cmp eax, 0xffffffff
je 0x486c5f
lock inc dword [0x6f8dd0]
jmp 0x486c5f
cmp eax, 0x7a
je 0x486bd1
mov esi, dword [ebp + 8]
mov dword [esi], 0x6e80cc
jmp 0x486c5f
push 0
push 0
push esi
push dword [ebx]
call edi
mov edx, eax
test edx, edx
je 0x486c0f
cmp edx, dword [ebp - 0xa4]
lea ecx, [ebp - 0xa4]
cmovl eax, dword [ebp - 0xa4]
push eax
push edx
call fcn.00455070
push dword [ebp - 0xa0]
push dword [ebp - 0x9c]
push esi
push dword [ebx]
call edi
test eax, eax
jne 0x486c3b
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x94]
mov eax, dword [ebp - 0x9c]
mov dword [esi], 0x6e80cc
cmp eax, ecx
je 0x486c31
push eax
call fcn.0052a217
add esp, 4
lea ecx, [ebp - 0x10]
call fcn.00401a70
jmp 0x486caa
mov eax, dword [ebp - 0x9c]
cmp esi, 0x50
jne 0x486c50
cmp word [eax], 0
je 0x486b93
mov esi, dword [ebp + 8]
push 0xffffffffffffffff
push eax
push esi
call fcn.00420d90
add esp, 0xc
mov eax, dword [ebp - 0x9c]
lea ecx, [ebp - 0x94]
cmp eax, ecx
je 0x486c78
push eax
call fcn.0052a217
add esp, 4
mov eax, dword [0x6f8dd0]
test eax, eax
je 0x486c99
cmp eax, 0xffffffff
je 0x486caa
or eax, 0xffffffff
lock xadd dword [0x6f8dd0], eax
dec eax
setne al
test al, al
jne 0x486caa
push 4
push 2
push 0x6f8dd0
call fcn.00403690
add esp, 0xc
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 0xc
Function at 0x486f40
Capabilities:
Get geographical location

Disassembly:
push ebp
lea ebp, [esp - 0x2c]
sub esp, 0x2c
push 0xffffffffffffffff
push 0x553018
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x6fb4c0]
xor eax, ebp
mov dword [ebp + 0x28], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 0x38]
mov esi, dword [ebp + 0x34]
mov dword [ebp + 8], esi
sub eax, 0
je 0x48711a
sub eax, 1
je 0x4870e7
sub eax, 1
jne 0x486ff7
lea eax, [ebp - 0x8c]
mov dword [ebp - 0x98], 0x40
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x9c], 0x40
push 0x40
push eax
push 0x1008
push dword [edi]
mov dword [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x487076
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
je 0x487032
mov eax, dword [ebp - 0x94]
lea ecx, [ebp - 0x8c]
cmp eax, ecx
je 0x486ff7
push eax
call fcn.0052a217
add esp, 4
mov eax, dword [esi + 8]
and eax, 0xc0000000
mov dword [esi], 0
and eax, 0xbfffffff
or eax, 0x80000000
mov dword [esi + 8], eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp + 0x28]
xor ecx, ebp
call fcn.00524900
lea esp, [ebp + 0x2c]
pop ebp
ret 8
mov ecx, 0xff
cmp dword [ebp - 0x9c], ecx
cmovg ecx, dword [ebp - 0x9c]
push ecx
push 0xff
lea ecx, [ebp - 0x9c]
call fcn.00455070
push dword [ebp - 0x98]
push dword [ebp - 0x94]
push 0x1008
push dword [edi]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x486fde
push 0xffffffffffffffff
push dword [ebp - 0x94]
lea eax, [ebp + 4]
push eax
call fcn.00420d90
add esp, 0xc
push eax
mov ecx, esi
mov byte [ebp - 4], 3
call fcn.00481540
mov eax, dword [ebp + 4]
mov eax, dword [eax]
test eax, eax
je 0x4870b6
cmp eax, 0xffffffff
je 0x4870c5
mov eax, dword [ebp + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
setne al
test al, al
jne 0x4870c5
push 4
push 2
push dword [ebp + 4]
call fcn.00403690
add esp, 0xc
mov eax, dword [ebp - 0x94]
lea ecx, [ebp - 0x8c]
cmp eax, ecx
je 0x487012
push eax
call fcn.0052a217
add esp, 4
jmp 0x487012
push 0xd
lea eax, [ebp + 0xc]
push eax
push 0x14
push dword [edi]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x486ff7
push 0xffffffffffffffff
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 8]
push eax
call fcn.00420d90
add esp, 0xc
mov dword [ebp - 4], 0
jmp 0x48714b
push 9
lea eax, [ebp + 0xc]
push eax
push 0x15
push dword [edi]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x486ff7
push 0xffffffffffffffff
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 8]
push eax
call fcn.00420d90
add esp, 0xc
mov dword [ebp - 4], 1
push eax
mov ecx, esi
call fcn.00481540
mov eax, dword [ebp + 8]
mov eax, dword [eax]
test eax, eax
je 0x48717b
cmp eax, 0xffffffff
je 0x487012
mov eax, dword [ebp + 8]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
setne al
test al, al
jne 0x487012
push 4
push 2
push dword [ebp + 8]
call fcn.00403690
add esp, 0xc
jmp 0x487012
Function at 0x488a90
Capabilities:
Get geographical location

Disassembly:
sub esp, 0x2c
mov eax, dword [0x6fb4c0]
xor eax, esp
mov dword [esp + 0x28], eax
push esi
mov esi, ecx
mov eax, dword [esi + 4]
test eax, eax
jne 0x488b41
push 8
lea eax, [esp + 8]
push eax
push 0x1014
push dword [esi]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x488b39
mov ax, word [esp + 4]
cmp ax, 0x31
je 0x488b39
cmp ax, 0x30
jne 0x488af1
mov dword [esi + 4], 1
mov eax, 1
pop esi
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.00524900
add esp, 0x2c
ret
cmp ax, 0x32
je 0x488b1d
push 0xb
lea eax, [esp + 0x18]
push eax
push 0x13
push dword [esi]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x488b39
movzx ecx, word [esp + 0x14]
movzx eax, word [esp + 4]
add ecx, 2
cmp eax, ecx
jne 0x488b39
mov dword [esi + 4], 2
mov eax, 2
pop esi
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.00524900
add esp, 0x2c
ret
mov eax, 3
mov dword [esi + 4], eax
mov ecx, dword [esp + 0x2c]
pop esi
xor ecx, esp
call fcn.00524900
add esp, 0x2c
ret

Function at 0x489ba0
Capabilities:
Get geographical location

Disassembly:
push ebp
lea ebp, [esp - 0x204]
sub esp, 0x204
push 0xffffffffffffffff
push 0x55350e
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x6fb4c0]
xor eax, ebp
mov dword [ebp + 0x200], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0x20c]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], 0
mov dword [esi], 0x6e80cc
push 0xff
lea eax, [ebp]
mov dword [ebp - 4], 0
push eax
push 0x5a
push dword [ebp + 0x210]
mov dword [ebp - 0x14], 1
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x489c61
push 0xffffffffffffffff
lea eax, [ebp]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00420d90
mov ecx, dword [esi]
mov edx, eax
add esp, 0xc
mov eax, dword [edx]
mov dword [esi], eax
mov dword [edx], ecx
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
test eax, eax
je 0x489c52
cmp eax, 0xffffffff
je 0x489c61
mov ecx, dword [ebp - 0x10]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
setne cl
test cl, cl
jne 0x489c61
push 4
push 2
push dword [ebp - 0x10]
call fcn.00403690
add esp, 0xc
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp + 0x200]
xor ecx, ebp
call fcn.00524900
lea esp, [ebp + 0x204]
pop ebp
ret
Function at 0x48a2a0
Capabilities:
Get geographical location

Disassembly:
sub esp, 0x28
mov eax, dword [0x6fb4c0]
xor eax, esp
mov dword [esp + 0x24], eax
push esi
mov esi, dword [esp + 0x30]
push edi
mov dword [esp + 8], esi
lea edi, [ecx + 8]
mov eax, dword [edi]
cmp dword [eax + 4], 0
jne 0x48a328
push 0xb
lea eax, [esp + 0x18]
push eax
push 0x13
push dword [ecx]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x48a328
push 1
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x10]
push eax
call fcn.00420d90
mov ecx, dword [edi]
mov edx, eax
add esp, 0xc
mov eax, dword [edx]
mov dword [edi], eax
mov dword [edx], ecx
mov eax, dword [esp + 8]
mov eax, dword [eax]
test eax, eax
je 0x48a318
cmp eax, 0xffffffff
je 0x48a328
mov eax, dword [esp + 8]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
setne al
test al, al
jne 0x48a328
push 4
push 2
push dword [esp + 0x10]
call fcn.00403690
add esp, 0xc
push edi
mov ecx, esi
call fcn.00481540
mov ecx, dword [esp + 0x2c]
mov eax, esi
pop edi
pop esi
xor ecx, esp
call fcn.00524900
add esp, 0x28
ret 4
Function at 0x4d0a80
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5582ab
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x6fb4c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
push 0x1c
call fcn.00524591
mov esi, eax
mov dword [ebp - 0x14], esi
push 8
mov dword [ebp - 4], 0
call fcn.00524591
add esp, 8
mov dword [ebp - 0x18], eax
push 0
push dword [ebp + 8]
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.00493160
mov dword [esi], eax
mov dword [esi + 0x14], 0x6e80cc
mov byte [esi + 0x18], 0
mov dword [esi + 8], esi
mov dword [esi + 0xc], 2
mov dword [esi + 0x10], 1
mov dword [edi], esi
mov byte [esi + 0x18], 1
mov eax, dword [edi]
push 0x22
mov dword [ebp - 4], 2
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 0x30]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x4d3b70
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword [esp + 0x10]
sub esp, 0x4c
mov eax, dword [esp + 0x60]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x5c]
push edi
cmp ecx, eax
jg 0x4d3c7a
mov eax, ecx
mov ecx, dword [esp + 0x64]
sar eax, 1
mov edi, ecx
mov dword [esp + 0x18], eax
shl eax, 5
add eax, esi
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x68]
sub eax, ecx
sar eax, 4
cdq
sub eax, edx
mov ebx, eax
sar ebx, 1
test ebx, ebx
jle 0x4d3c2c
nop
mov eax, dword [esp + 0x14]
mov ebp, ebx
mov ecx, dword [esp + 0x10]
shr ebp, 1
mov esi, ebp
movups xmm0, xmmword [eax]
shl esi, 5
movups xmmword [esp + 0x1c], xmm0
movups xmm0, xmmword [eax + 0x10]
lea eax, [esp + 0x1c]
push eax
movups xmmword [esp + 0x30], xmm0
lea eax, [esp + 0x40]
movups xmm0, xmmword [esi + edi]
push eax
movups xmmword [esp + 0x44], xmm0
movups xmm0, xmmword [esi + edi + 0x10]
movups xmmword [esp + 0x54], xmm0
call fcn.004d5100
test eax, eax
jns 0x4d3c16
or eax, 0xffffffff
add edi, 0x20
sub eax, ebp
add edi, esi
add ebx, eax
jmp 0x4d3c18
mov ebx, ebp
test ebx, ebx
jg 0x4d3bc0
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x64]
mov esi, dword [esp + 0x60]
mov dword [esp + 0x10], eax
mov eax, edi
sub eax, ecx
sar eax, 4
cdq
sub eax, edx
sar eax, 1
push eax
push dword [esp + 0x1c]
mov eax, dword [esp + 0x78]
push edi
push dword [esp + 0x20]
push dword [esp + 0x20]
push dword [esp + 0x8c]
push dword [esp + 0x8c]
push eax
mov eax, dword [esp + 0x8c]
push eax
push dword [esp + 0x8c]
push ecx
push esi
call fcn.004d3a10
add esp, 0x30
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret
mov edx, dword [esp + 0x7c]
mov edi, esi
sar eax, 1
mov ecx, eax
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x64]
shl ecx, 5
add ecx, eax
mov dword [esp + 0x10], edx
sub eax, esi
mov dword [esp + 0x14], ecx
sar eax, 4
cdq
sub eax, edx
mov ebx, eax
sar ebx, 1
test ebx, ebx
jle 0x4d3d18
nop dword [eax]
mov ebp, ebx
lea eax, [esp + 0x3c]
shr ebp, 1
mov esi, ebp
shl esi, 5
push eax
lea eax, [esp + 0x20]
push eax
movups xmm0, xmmword [esi + edi]
movups xmmword [esp + 0x44], xmm0
movups xmm0, xmmword [esi + edi + 0x10]
movups xmmword [esp + 0x54], xmm0
movups xmm0, xmmword [ecx]
movups xmmword [esp + 0x24], xmm0
movups xmm0, xmmword [ecx + 0x10]
mov ecx, dword [esp + 0x18]
movups xmmword [esp + 0x34], xmm0
call fcn.004d5100
test eax, eax
jns 0x4d3cf8
mov ebx, ebp
jmp 0x4d3d04
or eax, 0xffffffff
add edi, 0x20
sub eax, ebp
add edi, esi
add ebx, eax
mov ecx, dword [esp + 0x14]
test ebx, ebx
jg 0x4d3cb0
mov eax, dword [esp + 0x7c]
mov esi, dword [esp + 0x60]
mov dword [esp + 0x10], eax
push dword [esp + 0x18]
mov eax, edi
sub eax, esi
sar eax, 4
cdq
sub eax, edx
sar eax, 1
push eax
mov eax, dword [esp + 0x78]
push ecx
push edi
push dword [esp + 0x20]
push dword [esp + 0x8c]
push dword [esp + 0x8c]
push eax
mov eax, dword [esp + 0x8c]
push eax
push dword [esp + 0x8c]
push dword [esp + 0x8c]
push esi
call fcn.004d3a10
add esp, 0x30
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret
Function at 0x4d8fb0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x34
mov eax, dword [0x6fb4c0]
xor eax, esp
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0x3c]
lea edx, [esp]
mov eax, dword [esp + 0x40]
push edi
mov edi, dword [esp + 0x48]
push edx
lea edx, [esp + 0xc]
mov dword [esp + 8], 0x2c
push edx
push 0
push 0
push eax
mov byte [edi], 0
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4d9037
movups xmm0, xmmword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push esi
mov esi, dword [esp + 0x40]
mov byte [edi], 1
mov dword [esi], eax
mov eax, dword [esp + 0x10]
add eax, dword [esp + 0xc]
movups xmmword [esi + 0xc], xmm0
sub ecx, eax
mov dword [esi + 4], eax
movups xmm0, xmmword [esp + 0x28]
add ecx, dword [esp + 0xc]
mov eax, esi
mov dword [esi + 8], ecx
movups xmmword [esi + 0x1c], xmm0
pop esi
pop edi
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.00524900
add esp, 0x34
ret
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x3c]
pop edi
xor ecx, esp
call fcn.00524900
add esp, 0x34
ret
Function at 0x4d91e0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x558c36
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x6fb4c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov dword [ebp - 0x28], esi
push 0x10
mov dword [ebp - 4], 0
mov dword [ebp - 0x24], 0
call dword [sym.imp.KERNEL32.dll_GetUserGeoID]
push 0
push 3
lea ecx, [ebp - 0x18]
push ecx
push 4
push eax
call dword [sym.imp.KERNEL32.dll_GetGeoInfoW]
cmp eax, 3
jne 0x4d924f
lea eax, [ebp - 0x18]
push eax
push 3
call fcn.004329b0
add esp, 8
mov ebx, eax
jmp 0x4d9251
xor ebx, ebx
lea eax, [ebp - 0x20]
push eax
call fcn.004d9360
add esp, 4
mov dword [ebp - 4], 1
mov dword [esi], 0x6e80cc
or edi, 0xffffffff
mov dword [ebp - 0x24], 1
test ebx, ebx
je 0x4d92c0
push ebx
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.004b3ff0
mov ecx, dword [esi]
mov edx, eax
add esp, 0xc
mov eax, dword [edx]
mov dword [esi], eax
mov dword [edx], ecx
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
test eax, eax
je 0x4d92b1
cmp eax, edi
je 0x4d92c0
mov eax, dword [ebp - 0x1c]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
setne al
test al, al
jne 0x4d92c0
push 4
push 1
push dword [ebp - 0x1c]
call fcn.00403690
add esp, 0xc
mov eax, dword [esi]
cmp dword [eax + 4], 0
jne 0x4d9310
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.004b3f90
mov ecx, dword [esi]
mov edx, eax
add esp, 8
mov eax, dword [edx]
mov dword [esi], eax
mov dword [edx], ecx
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
test eax, eax
je 0x4d9301
cmp eax, 0xffffffff
je 0x4d9310
mov eax, dword [ebp - 0x1c]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
setne al
test al, al
jne 0x4d9310
push 4
push 1
push dword [ebp - 0x1c]
call fcn.00403690
add esp, 0xc
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
test eax, eax
je 0x4d932d
cmp eax, 0xffffffff
je 0x4d933c
mov ecx, dword [ebp - 0x20]
lock xadd dword [ecx], edi
dec edi
setne cl
test cl, cl
jne 0x4d933c
push 4
push 1
push dword [ebp - 0x20]
call fcn.00403690
add esp, 0xc
mov eax, esi
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.00524900
mov esp, ebp
pop ebp
ret 4