joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10003a90
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov eax, dword [0x1000f7ac]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x54], eax
test ebx, ebx
je 0x100117dc
cmp dword [0x10104700], eax
jne 0x100117fe
push edi
mov dword [ebx], eax
lea eax, [ebp - 0x4c]
push eax
push 0x20008
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x1001180d
mov edi, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
lea eax, [ebp - 0x54]
push eax
push 0
push 0
push 2
push dword [ebp - 0x4c]
call edi
test eax, eax
jne 0x1001181e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x10011825
push esi
push dword [ebp - 0x54]
lea ecx, [ebp - 0x50]
call fcn.10003bf9
mov esi, dword [ebp - 0x50]
test al, al
je 0x1001182c
lea eax, [ebp - 0x54]
push eax
push dword [ebp - 0x54]
push esi
push 2
push dword [ebp - 0x4c]
call edi
test eax, eax
je 0x1001183d
push 0x43
lea eax, [ebp - 0x47]
push 0
push eax
mov byte [ebp - 0x48], 0
call sub.MSVCR100.dll_memset
add esp, 0xc
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0xb
mov dword [ebp - 0x5c], 0x44
call dword [sym.imp.ADVAPI32.dll_CreateWellKnownSid]
test eax, eax
je 0x10011844
and dword [ebp - 0x58], 0
xor edi, edi
inc edi
cmp dword [esi], 0
jbe 0x10003bbc
lea eax, [esi + 4]
mov dword [ebp - 0x50], eax
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_IsValidSid]
test eax, eax
je 0x10003ba8
mov eax, dword [ebp - 0x50]
push dword [eax]
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x10003c41
mov ecx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x50]
inc ecx
add eax, 8
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x50], eax
cmp ecx, dword [esi]
jb 0x10003b85
mov dword [0x10104700], edi
mov eax, dword [ebx]
mov dword [0x101035c0], eax
test esi, esi
je 0x10003bd4
push esi
call fcn.10003c48
pop ecx
pop esi
mov eax, dword [ebp - 0x4c]
test eax, eax
je 0x10003be7
and dword [ebp - 0x4c], 0
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.10002059
leave
ret 4
mov dword [ebx], edi
jmp 0x10003bbc
push 0x15b3c8
call fcn.100ba0cd
mov eax, dword [ebp - 0x4c]
test eax, eax
je 0x100117f7
and dword [ebp - 0x4c], ebx
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x10003bea
mov eax, dword [0x101035c0]
mov dword [ebx], eax
xor eax, eax
inc eax
jmp 0x10003bea
push 0x15b3c9
call fcn.100ba0cd
xor edi, edi
jmp 0x10003bd5
push 0x15b3ca
jmp 0x10011812
push 0x15b3cb
jmp 0x10011812
push 0x15b3cc
call fcn.100ba0cd
xor edi, edi
jmp 0x10003bc9
push 0x15b3cd
jmp 0x10011831
push 0x15b3ce
jmp 0x10011831
Function at 0x10006035
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov ebx, 0x10103de0
push ebx
mov esi, 0x80004005
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x10103df8], 0
jne 0x10011876
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x10011880
mov eax, dword [ecx]
mov dword [0x10103dc0], eax
cmp dword [ecx], 0
push edi
jne 0x1000616a
cmp dword [ecx + 4], 0
je 0x10006163
mov eax, dword [ecx + 0x10]
mov dword [0x10103e44], eax
mov eax, dword [ecx + 8]
mov dword [0x10103508], eax
mov eax, dword [ecx + 0xc]
mov dword [0x1010350c], eax
push dword [ecx + 4]
call fcn.10006178
mov edx, eax
pop ecx
mov dword [0x10103dbc], edx
test edx, edx
je 0x1001188a
mov eax, dword [0x10103508]
mov edi, dword [0x1010350c]
mov ecx, 0x315
test eax, eax
je 0x10006163
test edi, edi
je 0x10006163
mov edi, dword [0x10103e24]
lea eax, [ebp - 4]
push eax
movzx eax, cx
push 0xa
push eax
push edx
call fcn.100061ba
mov ecx, eax
mov eax, dword [ebp - 4]
add esp, 0x10
mov dword [0x10103e24], ecx
cmp eax, 6
jb 0x100118f6
lea edx, [ecx + eax]
mov ax, word [0x10006174]
mov dword [0x10103e28], edx
cmp ax, word [ecx]
jne 0x10006163
lea eax, [ecx + 2]
mov dword [ebp + 8], eax
add eax, 4
cmp eax, edx
jae 0x10006121
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
push eax
call fcn.1000620a
mov esi, eax
test esi, esi
js 0x10006163
call fcn.10006578
mov esi, eax
test esi, esi
js 0x10006163
push 7
xor eax, eax
pop ecx
mov edi, 0x10103dc4
rep stosd dword es:[edi], eax
xor esi, esi
mov dword [0x10103df8], 1
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, esi
pop esi
pop ebx
leave
ret 4
call fcn.100b7822
jmp 0x10006153
cmp dword [ecx], 1
jne 0x10006153
jmp 0x100118cb
mov esi, 0x100001
jmp 0x10006154
mov esi, 0x8ff00003
jmp 0x10006154
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jb 0x10006163
cmp eax, 3
jbe 0x100118c1
cmp eax, 0x1f
je 0x100118c1
cmp eax, 0x7e
je 0x100118c1
cmp eax, 0xc1
je 0x100118c1
cmp eax, 0x3ee
je 0x100118c1
cmp eax, 0x485
jne 0x10006163
mov esi, 0x8ff00004
jmp 0x10006163
mov eax, dword [ecx + 0x14]
mov dword [0x10103e44], eax
mov eax, dword [ecx + 0xc]
mov dword [0x10103508], eax
mov edi, dword [ecx + 0x10]
mov dword [0x1010350c], edi
mov edx, dword [ecx + 4]
mov dword [0x10103dbc], edx
movzx ecx, word [ecx + 8]
jmp 0x100060c0
mov dword [0x10103e24], edi
jmp 0x10006163
Function at 0x100066e8
Capabilities:
Link many functions at runtime
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x1000f7ac]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
mov dword [ebp - 0x214], 1
call sub.MSVCR100.dll_memset
mov ecx, 0x10104418
add esp, 0xc
mov dword [ebp - 0x210], 0x208
xor esi, esi
mov eax, ecx
cmp dword [eax], 0
jne 0x1001194e
imul esi, esi, 0x14
add esi, ecx
je 0x10006792
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push ebx
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x10011962
test esi, esi
je 0x10006792
cmp dword [esi], 0
jne 0x10011a83
and dword [esi], 0
and dword [esi + 8], 0
and dword [esi + 0xc], 0
and dword [esi + 0x10], 0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10002059
leave
ret 0xc
add eax, 0x14
inc esi
cmp eax, 0x10104440
jge 0x10006792
jmp 0x1000673f
cmp dword [ebp - 0x214], 1
jne 0x10006776
cmp word [ebp - 0x20c], ax
je 0x10006776
mov eax, dword [ebp - 0x210]
test eax, eax
je 0x10006776
shr eax, 1
mov dword [ebp - 0x210], eax
cmp eax, 0x104
jae 0x100119b3
add eax, eax
cmp eax, 0x208
jae 0x100119ae
xor ecx, ecx
mov word [ebp + eax - 0x20c], cx
jmp 0x100119b9
call fcn.100c25a4
xor eax, eax
mov word [ebp - 6], ax
lea eax, [ebp - 0x20c]
push eax
call fcn.100c3170
mov dword [esi], eax
test eax, eax
je 0x10006776
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x10011a90
push eax
call edi
test eax, eax
jne 0x100119e6
mov eax, dword [ebp + 0x10]
jmp 0x100119e8
call eax
mov dword [esi + 4], eax
cmp eax, 1
jne 0x10011a0c
push 0x10011aac
push dword [esi]
call edi
push 0x10011ab8
push dword [esi]
mov dword [esi + 8], eax
call edi
push 0x10011acc
jmp 0x10011a40
cmp eax, 2
jne 0x10011a21
push 0x10011aac
push dword [esi]
call edi
push 0x10011adc
jmp 0x100119fe
cmp eax, 3
jne 0x10011a4a
push 0x10011af0
push dword [esi]
call edi
push 0x10011b00
push dword [esi]
mov dword [esi + 8], eax
call edi
push 0x10011b18
push dword [esi]
mov dword [esi + 0x10], eax
call edi
mov dword [esi + 0xc], eax
cmp dword [esi + 8], 0
je 0x10006776
cmp dword [esi + 0x10], 0
je 0x10006776
cmp dword [esi + 0xc], 0
je 0x10006776
push dword [0x10104440]
push esi
call fcn.1002c592
test eax, eax
js 0x10006776
xor esi, esi
jmp 0x10006776
push dword [esi]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x10006783
Function at 0x10006dbd
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x18
mov eax, 0x100cf4dc
call fcn.10002415
mov esi, ecx
mov ebx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
and dword [ebx], 0
push ebx
push eax
mov dword [ebp - 0x18], eax
call fcn.10006e2d
test al, al
jne 0x10011d81
mov ecx, esi
call fcn.10006cce
test al, al
jne 0x10011d92
mov dword [ebp - 0x14], 4
test esi, esi
je 0x10006e29
lea eax, [esi + 4]
lea ecx, [ebp - 0x14]
push ecx
push ebx
push edi
push 0
push dword [ebp - 0x18]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push eax
mov ecx, esi
call fcn.10006d6b
call fcn.10002556
ret 0xc
xor eax, eax
jmp 0x10006e06
test edi, edi
je 0x10011d8b
mov dword [edi], 4
xor eax, eax
jmp 0x10006e21
cmp byte [esi + 0x18], 0
je 0x10011dc2
push 0x80070002
push 0x2e6e3576
lea eax, [ebp - 0x24]
push eax
call fcn.10042c59
and dword [ebp - 4], 0
mov ecx, eax
call fcn.100420b4
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.10041a51
push 2
pop eax
jmp 0x10006e21
Function at 0x1002bc04
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x14
mov eax, 0x100ed7e4
call fcn.10001e5b
mov ebx, dword [ebp + 8]
xor edi, edi
or esi, 0xffffffff
test edi, edi
jne 0x1002bc2d
cmp dword [0x10104730], edi
je 0x1002bd17
push 2
pop ebx
jmp 0x1002bc47
cmp edi, 1
jne 0x1002bd17
mov eax, ebx
call fcn.100ca14e
test al, al
je 0x1002bd17
xor ebx, ebx
lea ecx, [ebp - 0xd]
mov dword [ebp - 0x1c], ebx
call fcn.1002bd7b
mov ecx, dword [ebp + 8]
xor eax, eax
push eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], eax
movzx eax, word [ecx + 0xc]
shr eax, 1
and eax, 0x10
or eax, ebx
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push dword [ecx + 8]
jmp 0x1002bcf9
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
mov ebx, dword [ebp - 0x14]
mov dword [ecx], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x1002bc8e
mov eax, dword [ebx]
push ecx
push dword [ebp + 0xc]
lea ecx, [ebp - 0x20]
push ecx
push 0
push dword [ebp + 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
call fcn.100ca07d
test eax, eax
je 0x1002bd2b
push 0x1c049f
push 0
call fcn.100ba122
mov esi, dword [ebp + 8]
mov eax, dword [esi + 8]
movzx eax, word [eax + 6]
and eax, 0xf
imul eax, eax, 0xc
and dword [eax + 0x101035c8], 0
push ebx
mov ecx, 0x10104738
call fcn.100c99fb
movzx eax, word [esi + 0xc]
and dword [ebp - 0x14], 0
shr eax, 1
and eax, 0x10
or eax, dword [ebp - 0x1c]
push 0
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push dword [esi + 8]
call fcn.1002bd9c
mov esi, eax
test esi, esi
je 0x1002bc7a
mov ebx, dword [ebp + 8]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xd]
call fcn.1002c54f
inc edi
cmp edi, 2
jl 0x1002bc15
mov eax, esi
call fcn.10001e90
ret 0x18
push ebx
mov ecx, 0x10104738
call fcn.100039ff
mov ebx, dword [ebp + 8]
test esi, esi
jne 0x1002bd0b
movzx ecx, word [ebx + 0xc]
mov eax, ecx
and eax, 0xf
cmp dword [ebp - 0x20], eax
je 0x1002bd66
cmp dword [ebp - 0x20], 3
jne 0x1002bd61
mov eax, dword [ebp + 0x14]
cmp dword [eax], 4
jne 0x1002bd61
and cl, 0xf
cmp cl, 4
je 0x1002bd66
push 2
pop esi
jmp 0x1002bd0b
mov eax, dword [ebp + 0x1c]
lea ecx, [ebp - 0xd]
mov dword [eax], 1
call fcn.1002c54f
xor eax, eax
jmp 0x1002bd23

Function at 0x10034928
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp dword [sym.imp.SHELL32.dll_SHGetFileInfoW]

Function at 0x10043594
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x1000f7ac]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push 0x80
lea eax, [ebp - 0x104]
push eax
push 2
push dword [ecx]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jle 0x100435cd
lea eax, [ebp - 0x104]
jmp 0x100435cf
xor eax, eax
push eax
lea ecx, [ebp - 0x108]
call fcn.10006b63
mov ecx, dword [eax]
and dword [eax], 0
mov dword [esi], ecx
lea ecx, [ebp - 0x108]
call fcn.10006bef
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.10002059
leave
ret 4
Function at 0x10045ea0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x1000f7ac]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ecx + 0x24]
test eax, eax
jne 0x10045efd
push 2
lea eax, [ebp - 8]
push eax
push 0x100c
push dword [ecx + 0x20]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x10045eed
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x10045ee2
and eax, 0xffff
or eax, 0x80070000
push eax
push 0x2e6e756c
call fcn.10041a9c
movzx eax, word [ebp - 8]
sub eax, 0x2f
cdq
push 7
pop ecx
idiv ecx
lea eax, [edx + 1]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10002059
leave
ret

Function at 0x10045f09
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x1000f7ac]
xor eax, ebp
mov dword [ebp - 4], eax
push 2
lea eax, [ebp - 8]
push eax
push 0x100d
push dword [ecx + 0x20]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x10045f4f
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x10045f44
and eax, 0xffff
or eax, 0x80070000
push eax
push 0x2e6e756e
call fcn.10041a9c
movzx eax, word [ebp - 8]
sub eax, 0x30
sub eax, 0
je 0x10045f69
dec eax
je 0x10045f65
dec eax
jne 0x10045f69
mov al, 4
jmp 0x10045f6b
mov al, 7
jmp 0x10045f6b
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10002059
leave
ret

Function at 0x10047560
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x1000f7ac]
xor eax, ebp
mov dword [ebp - 4], eax
push 2
lea eax, [ebp - 8]
push eax
push 0x20001009
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov eax, dword [ebp - 8]
cmp eax, 8
ja 0x100475a4
je 0x100475ae
test eax, eax
je 0x100475ae
cmp eax, 5
jbe 0x100475b1
cmp eax, 6
je 0x100475ae
cmp eax, 7
jne 0x100475ae
jmp 0x100475b1
cmp eax, 9
jb 0x100475ae
cmp eax, 0xc
jbe 0x100475b1
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10002059
leave
ret

Function at 0x10047c08
Capabilities:
Get geographical location

Disassembly:
push 0x24
mov eax, 0x100ced8c
call fcn.10002415
push 2
lea eax, [ebp - 0x24]
push eax
push 0x23
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x10047c63
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x10047c3d
and eax, 0xffff
or eax, 0x80070000
push eax
push 0x2e6e7664
lea eax, [ebp - 0x30]
push eax
call fcn.10042c59
and dword [ebp - 4], 0
mov ecx, eax
call fcn.100420b4
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.10041a51
cmp word [ebp - 0x24], 0x30
je 0x10047c6e
xor al, al
jmp 0x10047c8c
push 9
lea eax, [ebp - 0x24]
push eax
push 0x28
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x10047c6a
xor eax, eax
cmp word [ebp - 0x24], ax
setne al
call fcn.10002556
ret 4
Function at 0x100488ad
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x1000f7ac]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp byte [esi + 0xa], 0
jne 0x10048a29
cmp byte [ebp + 8], 0
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
je 0x100488e3
mov eax, dword [ebp + 0xc]
jmp 0x1004890b
push 0xa
lea eax, [ebp - 0x18]
push eax
push 0x11
push dword [esi]
call ebx
test eax, eax
jne 0x10048900
call edi
push eax
push 0x2e6e776a
call fcn.10041a9c
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.MSVCR100.dll__wtoi]
pop ecx
push 0xa
mov dword [esi + 0x10], eax
lea eax, [ebp - 0x18]
push eax
push 0x12
push dword [esi]
call ebx
test eax, eax
jne 0x1004892b
call edi
push eax
push 0x2e6e776b
call fcn.10041a9c
movzx eax, word [ebp - 0x18]
push 0x30
pop ecx
sub eax, ecx
push 0xa
mov dword [esi + 0x14], eax
lea eax, [ebp - 0x18]
push eax
push 0x10
push dword [esi]
call ebx
mov dword [ebp - 0x1c], eax
test eax, eax
jg 0x1004895a
call edi
push eax
push 0x2e6e776c
call fcn.10041a9c
mov eax, dword [ebp - 0x1c]
xor edx, edx
mov dword [esi + 0x18], edx
cmp eax, 2
jl 0x100489af
add eax, 0xfffffffe
mov dword [ebp - 0x1c], eax
test eax, eax
jle 0x10048991
cmp word [ebp + edx*2 - 0x18], 0x3b
je 0x1004898c
mov ecx, dword [esi + 0x18]
movzx eax, word [ebp + edx*2 - 0x18]
imul ecx, ecx, 0xa
add ecx, 0xffffffd0
add eax, ecx
mov dword [esi + 0x18], eax
mov eax, dword [ebp - 0x1c]
inc edx
cmp edx, eax
jl 0x1004896e
movzx eax, word [ebp + eax*2 - 0x18]
push 0x30
pop ecx
cmp ax, cx
je 0x100489af
mov ecx, dword [esi + 0x18]
imul ecx, ecx, 0xa
add ecx, 0xffffffd0
add eax, ecx
imul eax, eax, 0xa
mov dword [esi + 0x18], eax
push 5
lea eax, [esi + 0x48]
push eax
push 0xe
push dword [esi]
call ebx
test eax, eax
jne 0x100489cc
call edi
push eax
push 0x2e6e776d
call fcn.10041a9c
lea eax, [esi + 0x48]
push 5
mov dword [esi + 0x1c], eax
lea eax, [esi + 0x52]
push eax
push 0xf
push dword [esi]
call ebx
test eax, eax
jne 0x100489ef
call edi
push eax
push 0x2e6e776e
call fcn.10041a9c
lea eax, [esi + 0x52]
push 0xa
mov dword [esi + 0x20], eax
lea eax, [ebp - 0x18]
push eax
push 0x1010
push dword [esi]
call ebx
test eax, eax
jne 0x10048a15
call edi
push eax
push 0x2e6e776f
call fcn.10041a9c
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.MSVCR100.dll__wtoi]
pop ecx
pop edi
mov dword [esi + 0x24], eax
mov byte [esi + 0xa], 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.10002059
leave
ret 8
Function at 0x10048aab
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x1000f7ac]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp byte [esi + 0xa], 0
jne 0x10048c1f
cmp byte [ebp + 8], 0
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
je 0x10048ae1
mov eax, dword [ebp + 0xc]
jmp 0x10048b09
push 0xa
lea eax, [ebp - 0x18]
push eax
push 0x11
push dword [esi]
call ebx
test eax, eax
jne 0x10048afe
call edi
push eax
push 0x2e6e7771
call fcn.10041a9c
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.MSVCR100.dll__wtoi]
pop ecx
push 0xa
mov dword [esi + 0x28], eax
lea eax, [ebp - 0x18]
push eax
push 0x12
push dword [esi]
call ebx
test eax, eax
jne 0x10048b29
call edi
push eax
push 0x2e6e7772
call fcn.10041a9c
movzx eax, word [ebp - 0x18]
sub eax, 0x30
push 0xa
mov dword [esi + 0x2c], eax
lea eax, [ebp - 0x18]
push eax
push 0x18
push dword [esi]
call ebx
test eax, eax
jne 0x10048b50
call edi
push eax
push 0x2e6e7773
call fcn.10041a9c
movzx eax, word [ebp - 0x18]
sub eax, 0x30
push 5
mov dword [esi + 0x30], eax
lea eax, [esi + 0x48]
push eax
push 0x16
push dword [esi]
call ebx
test eax, eax
jne 0x10048b77
call edi
push eax
push 0x2e6e7774
call fcn.10041a9c
lea eax, [esi + 0x48]
push 5
mov dword [esi + 0x34], eax
lea eax, [esi + 0x52]
push eax
push 0x17
push dword [esi]
call ebx
test eax, eax
jne 0x10048b9a
call edi
push eax
push 0x2e6e7775
call fcn.10041a9c
lea eax, [esi + 0x52]
push 0xa
mov dword [esi + 0x38], eax
lea eax, [ebp - 0x18]
push eax
push 0x1c
push dword [esi]
call ebx
test eax, eax
jne 0x10048bbd
call edi
push eax
push 0x2e6e7776
call fcn.10041a9c
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.MSVCR100.dll__wtoi]
pop ecx
push 0xa
mov dword [esi + 0x3c], eax
lea eax, [ebp - 0x18]
push eax
push 0x1b
push dword [esi]
call ebx
test eax, eax
jne 0x10048be8
call edi
push eax
push 0x2e6e7777
call fcn.10041a9c
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.MSVCR100.dll__wtoi]
pop ecx
push 7
mov dword [esi + 0x40], eax
lea eax, [esi + 0x5c]
push eax
push 0x14
push dword [esi]
call ebx
test eax, eax
jne 0x10048c13
call edi
push eax
push 0x2e6e7778
call fcn.10041a9c
lea eax, [esi + 0x5c]
pop edi
mov dword [esi + 0x44], eax
mov byte [esi + 0xa], 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.10002059
leave
ret 8
Function at 0x1004a827
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x1000f7ac]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
mov eax, dword [edi]
add eax, eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
push esi
lea eax, [ebp - 8]
push eax
xor ebx, ebx
push ebx
push edx
mov dword [edi], ebx
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1004a89e
cmp dword [ebp - 8], 1
je 0x1004a876
cmp dword [ebp - 8], 2
je 0x1004a876
push 0xd
pop eax
jmp 0x1004a89e
mov ecx, dword [ebp - 0xc]
test esi, esi
je 0x1004a898
test ecx, ecx
je 0x1004a893
test cl, 1
jne 0x1004a871
mov eax, ecx
shr eax, 1
cmp word [esi + eax*2 - 2], bx
jne 0x1004a871
jmp 0x1004a898
xor eax, eax
mov word [esi], ax
shr ecx, 1
mov dword [edi], ecx
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10002059
leave
ret 0xc

Function at 0x1004b8ce
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100cf53c
mov eax, dword fs:[0]
push eax
mov eax, 0x1060
call fcn.100049d2
mov eax, dword [0x1000f7ac]
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, ecx
mov ebx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov ecx, ebx
mov dword [ebp - 0x1060], eax
call fcn.10006bef
push ebx
push dword [ebp - 0x1060]
mov ecx, esi
call fcn.1004be8e
test al, al
je 0x1004b93b
test edi, edi
je 0x1004b934
mov dword [edi], 1
xor eax, eax
jmp 0x1004b9f1
mov ecx, esi
call fcn.10006cce
test al, al
je 0x1004b981
cmp byte [esi + 0x18], 0
je 0x1004b97c
push 0x80070002
push 0x2e6e3576
lea eax, [ebp - 0x106c]
push eax
call fcn.10042c59
and dword [ebp - 4], 0
mov ecx, eax
call fcn.100420b4
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x106c]
call fcn.10041a51
push 2
pop eax
jmp 0x1004b9f1
xor eax, eax
push 0x1046
push eax
mov word [ebp - 0x1058], ax
lea eax, [ebp - 0x1056]
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
mov dword [ebp - 0x105c], 0x1048
test esi, esi
je 0x1004b9b2
lea eax, [esi + 4]
jmp 0x1004b9b4
xor eax, eax
lea ecx, [ebp - 0x105c]
push ecx
lea ecx, [ebp - 0x1058]
push ecx
push edi
push 0
push dword [ebp - 0x1060]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push eax
mov ecx, esi
call fcn.10006d6b
mov esi, eax
test esi, esi
jne 0x1004b9ef
lea eax, [ebp - 0x1058]
push eax
mov ecx, ebx
call fcn.10006b7b
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.10002059
leave
ret 0xc