joyce8/EMBER2024-capa huggingface dataset:
Function at 0x421c30
Capabilities:
Check if file exists
Get common file path
Get program files directory
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x535b2d
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x58b464]
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 edi, ecx
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x218]
push 0x208
mov dword [ebp - 4], 0
push 0
push eax
mov dword [ebp - 0x23c], esi
mov dword [ebp - 0x234], 0
call fcn.004ae860
mov dword [esi + 0x10], 0
lea ecx, [edi + 0x750]
mov dword [esi + 0x14], 0
add esp, 0xc
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x421cbc
mov eax, dword [esi]
jmp 0x421cbe
mov eax, esi
xor edx, edx
push 0xffffffffffffffff
push edx
push ecx
mov ecx, esi
mov word [eax], dx
call fcn.00406770
xor eax, eax
mov dword [ebp - 0x234], 1
mov byte [edi + 0x7b1], 1
mov dword [ebp - 0x21c], 7
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
lea ecx, [ebp - 0x230]
mov dword [ebp - 4], 1
call fcn.0044c170
cmp dword [ebp - 0x21c], 8
lea ecx, [ebp - 0x230]
cmovae ecx, dword [ebp - 0x230]
call fcn.0044c060
test eax, eax
mov dword [ebp - 0x238], eax
mov byte [edi + 0x7b2], 1
setne al
mov byte [edi + 0x7b1], al
call fcn.0044bfe0
mov ebx, eax
test ebx, ebx
setne al
mov byte [edi + 0x7b2], al
cmp dword [edi + 0x760], 0
je 0x421d7a
cmp dword [edi + 0x74c], 8
lea eax, [edi + 0x738]
jb 0x421d6b
mov eax, dword [eax]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x421e3f
cmp dword [ebp - 0x238], 0
je 0x421dc2
test ebx, ebx
je 0x421dc2
push 0x104
lea eax, [ebp - 0x218]
push eax
push str.APPDATA
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
lea eax, [ebp - 0x218]
push 0
je 0x421dca
push str.miaozhuan
push eax
push 0
push 0x104
push eax
call fcn.00519048
add esp, 0x18
jmp 0x421de9
push 0
lea eax, [ebp - 0x218]
mov edi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x2a
push eax
push 0
call edi
test eax, eax
jne 0x421de9
push eax
push 0x26
lea eax, [ebp - 0x218]
push eax
push 0
call edi
push 0x56f9a4
push str.TextToVoice
lea eax, [ebp - 0x218]
push eax
push 0
push 0x104
push eax
call fcn.00519048
add esp, 0x18
cmp word [ebp - 0x218], 0
jne 0x421e18
xor ecx, ecx
jmp 0x421e30
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x421e21
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
mov ecx, esi
push eax
call fcn.00406670
mov ecx, dword [ebp - 0x21c]
cmp ecx, 8
jb 0x421e5d
inc ecx
push ecx
push dword [ebp - 0x230]
lea ecx, [ebp - 0x230]
call fcn.00406dd0
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.004f16f8
mov esp, ebp
pop ebp
ret 4
Function at 0x421fe0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x58b464]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x234]
push 0x208
push 0
push eax
mov esi, ecx
call fcn.004ae860
add esi, 0x750
add esp, 0xc
cmp dword [esi + 0x14], 8
jb 0x42201e
mov esi, dword [esi]
push 0x10
push edi
push 0x10
push esi
lea eax, [ebp - 0x234]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRelativePathToW]
mov ecx, 0x5705a8
lea eax, [ebp - 0x234]
nop dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x422066
test dx, dx
je 0x422062
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x422066
add eax, 4
add ecx, 4
test dx, dx
jne 0x422040
xor eax, eax
jmp 0x42206b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x42211f
push eax
push str.set.ini
push edi
push eax
lea esi, [eax + 1]
lea eax, [ebp - 0x234]
push 0x104
push eax
call fcn.00519048
add esp, 0x18
lea eax, [ebp - 0x234]
push eax
push 0x14
lea eax, [ebp - 0x2c]
push eax
push 0x56fa9c
push str.IsOverride
push 0x571e20
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ecx, 0x570524
lea eax, [ebp - 0x2c]
nop dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4220ff
test dx, dx
je 0x4220e2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4220ff
add eax, 4
add ecx, 4
test dx, dx
jne 0x4220c0
xor eax, eax
xor ecx, ecx
test eax, eax
pop edi
cmovne esi, ecx
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004f16f8
mov esp, ebp
pop ebp
ret 4
sbb eax, eax
xor ecx, ecx
or eax, 1
test eax, eax
pop edi
cmovne esi, ecx
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004f16f8
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.004f16f8
mov esp, ebp
pop ebp
ret 4

Function at 0x422290
Capabilities:
Get common file path
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x58b464]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x20c]
push 0x208
push 0
push eax
mov dword [ebp - 0x210], 0
call fcn.004ae860
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
push str.APPDATA
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
jne 0x4222f4
push eax
push 0x2e
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0
push str.HuDunData
lea eax, [ebp - 0x20c]
push eax
push 0
push 0x104
push eax
call fcn.00519048
push 0
push str.TextToVoice
lea eax, [ebp - 0x20c]
push eax
push 0
push 0x104
push eax
call fcn.00519048
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
add esp, 0x30
mov word [esi], ax
cmp word [ebp - 0x20c], ax
jne 0x42234d
xor ecx, ecx
jmp 0x422365
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x422356
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x20c]
mov ecx, esi
push eax
call fcn.00406670
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.004f16f8
mov esp, ebp
pop ebp
ret 4
Function at 0x4228f0
Capabilities:
Check if file exists
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x535cd8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x58b464]
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 edi, ecx
cmp dword [edi + 0x734], 8
lea esi, [edi + 0x720]
jb 0x422930
mov ebx, dword [esi]
jmp 0x422932
mov ebx, esi
push 0
lea eax, [ebp - 0x14]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.SoftwareHuDunSoftTextToVoice
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x422986
mov ecx, ebx
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x422960
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
push eax
push ebx
push 1
push 0
push str.InstallPath
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [edi + 0x718], 0
jne 0x4229f7
xor eax, eax
mov dword [ebp - 0x18], 7
push 0xffffffffffffffff
push eax
push esi
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
call fcn.00406770
push 0xa
push str.uninst.ep
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0
call fcn.00406890
lea ecx, [edi + 0x708]
cmp ecx, eax
je 0x4229e2
push 0xffffffffffffffff
push 0
push eax
call fcn.00406770
mov eax, dword [ebp - 0x18]
cmp eax, 8
jb 0x4229f7
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.00406dd0
cmp dword [edi + 0x71c], 8
lea esi, [edi + 0x708]
jb 0x422a0a
mov eax, dword [esi]
jmp 0x422a0c
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x422a2e
cmp dword [esi + 0x14], 8
jb 0x422a1f
mov esi, dword [esi]
push esi
push ecx
push str.UnInstallEp
call fcn.0044c660
add esp, 0xc
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.004f16f8
mov esp, ebp
pop ebp
ret

Function at 0x422d80
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0x778]
test eax, eax
je 0x422db8
cmp eax, 5
jbe 0x422db8
cmp dword [edi + 0x77c], 8
lea eax, [edi + 0x768]
jb 0x422da4
mov eax, dword [eax]
push 3
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp dword [edi + 0x704], 8
lea esi, [edi + 0x6f0]
jb 0x422dc9
mov esi, dword [esi]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x422df6
mov ecx, edi
call fcn.0048dda0
mov ecx, eax
call fcn.00449b20
push 1
push 0
push 0
push esi
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
pop edi
pop esi
ret
Function at 0x424a10
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x58b464]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 0x10], eax
mov eax, dword [edx + 0x14]
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 0x1c], eax
push edi
mov edi, dword [edx + 0x10]
cmp eax, 0x10
jb 0x424a44
mov ebx, dword [edx]
jmp 0x424a46
mov ebx, edx
xor ecx, ecx
mov esi, 0x811c9dc5
test edi, edi
je 0x424a62
movzx eax, byte [ebx + ecx]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edi
jb 0x424a51
mov ebx, dword [ebp - 0xc]
mov eax, dword [ebx + 0x18]
mov ecx, dword [ebx + 0xc]
and eax, esi
mov ebx, dword [ebx + 4]
mov dword [ebp - 0xc], ebx
mov esi, dword [ecx + eax*8]
add eax, eax
mov edx, dword [ecx + eax*4]
inc eax
mov dword [ebp - 0x14], edx
lea eax, [ecx + eax*4]
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 8]
cmp dword [ebp - 0x14], ebx
jne 0x424a91
mov eax, ebx
jmp 0x424a95
mov eax, dword [eax]
mov eax, dword [eax]
cmp esi, eax
je 0x424b2d
cmp dword [edx + 0x14], 0x10
lea ecx, [esi + 8]
jb 0x424aa8
mov edx, dword [edx]
cmp dword [ecx + 0x14], 0x10
lea ebx, [ecx + 0x10]
jb 0x424ab3
mov ecx, dword [ecx]
mov ebx, dword [ebx]
mov eax, edi
cmp ebx, edi
cmovb eax, ebx
push eax
push edx
push ecx
call fcn.0040a280
add esp, 0xc
test eax, eax
jne 0x424ad1
cmp ebx, edi
jb 0x424ad1
jbe 0x424adb
mov esi, dword [esi]
mov ebx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x18]
jmp 0x424a85
cmp dword [esi + 0x1c], 0x10
lea edx, [esi + 8]
lea ebx, [edx + 0x10]
jb 0x424ae9
mov edx, dword [edx]
cmp dword [ebp - 0x1c], 0x10
mov ecx, dword [ebp - 8]
jb 0x424af4
mov ecx, dword [ecx]
mov ebx, dword [ebx]
cmp edi, ebx
mov eax, ebx
cmovb eax, edi
push eax
push edx
push ecx
call fcn.0040a280
add esp, 0xc
test eax, eax
jne 0x424b12
cmp edi, ebx
jb 0x424b12
jbe 0x424b15
mov esi, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
pop edi
mov dword [eax], esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004f16f8
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov dword [eax], ebx
xor ecx, ebp
pop ebx
call fcn.004f16f8
mov esp, ebp
pop ebp
ret 8
Function at 0x4256f0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x58b464]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
cmp dword [edi + 0x1c], 0x10
lea edx, [edi + 8]
mov ebx, dword [edx + 0x10]
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], eax
jb 0x42571d
mov edx, dword [edx]
xor ecx, ecx
mov esi, 0x811c9dc5
test ebx, ebx
je 0x425739
movzx eax, byte [edx + ecx]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, ebx
jb 0x425728
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x18]
mov ecx, dword [edx + 0xc]
and eax, esi
lea esi, [eax*8]
add ecx, esi
cmp dword [ecx + 4], edi
jne 0x42576f
cmp dword [ecx], edi
jne 0x425767
mov eax, dword [edx + 4]
mov dword [ecx], eax
mov ecx, dword [edx + 0xc]
mov eax, dword [edx + 4]
mov dword [esi + ecx + 4], eax
jmp 0x425777
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
jmp 0x425777
cmp dword [ecx], edi
jne 0x42577a
mov eax, dword [edi]
mov dword [ecx], eax
mov edi, dword [ebp + 0xc]
mov eax, dword [edi + 4]
mov esi, dword [edi]
mov dword [eax], esi
mov ecx, dword [edi]
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
lea ecx, [edi + 8]
dec dword [edx + 8]
call fcn.004258c0
push edi
call fcn.0047c1e0
mov eax, dword [ebp - 0xc]
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
mov dword [eax], esi
pop esi
pop ebx
call fcn.004f16f8
mov esp, ebp
pop ebp
ret 8
Function at 0x429320
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x536660
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x58b464]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov dword [ecx], vtable.hudun::sensors::SensorsTrackerImpl.0
lea edx, [ecx + 0x1c]
mov dword [ecx + 0x18], 0xf
lea esi, [ecx + 0x4c]
mov dword [ecx + 0x14], 0
lea ebx, [ecx + 0x64]
mov byte [ecx + 4], 0
lea edi, [ecx + 0x7c]
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
mov byte [edx], 0
mov dword [ecx + 0x48], 0xf
mov dword [ecx + 0x44], 0
mov byte [ecx + 0x34], 0
mov ecx, dword [ebp + 8]
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
mov dword [ebx + 0x14], 0xf
mov dword [ebx + 0x10], 0
mov byte [ebx], 0
mov dword [edi + 0x14], 0xf
mov dword [edi + 0x10], 0
mov byte [edi], 0
call fcn.00428af0
mov ecx, dword [ebp + 8]
mov edx, esi
lea ecx, [ecx + 0x30]
call fcn.00428af0
mov esi, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
lea ecx, [esi + 0x18]
lea edx, [edx + 0x34]
call fcn.00428af0
lea ecx, [esi + 0x48]
mov edx, ebx
call fcn.00428af0
lea ecx, [esi + 0x60]
mov edx, edi
call fcn.00428af0
mov ebx, dword [ebp - 0x10]
lea ecx, [esi + 0xac]
mov eax, dword [esi + 0xa8]
lea edx, [ebx + 4]
mov dword [ebx + 0x9c], eax
call fcn.00428af0
push 0x330
mov dword [ebx + 0x94], 0
call fcn.004f173a
add esp, 4
mov ecx, eax
call fcn.00428de0
mov edx, dword [ebp + 8]
mov esi, eax
push ecx
mov ecx, esi
lea edx, [edx + 0x90]
call fcn.00428d10
add esp, 4
mov dword [ebx + 0xa0], esi
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 4
Function at 0x432a30
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x58b464]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x104
lea eax, [ebp - 0x108]
mov dword [ebp - 0x21c], 0
mov esi, ecx
push 0
push eax
mov dword [ebp - 0x214], esi
call fcn.004ae860
push 0x104
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.004ae860
lea eax, [ebp - 0x220]
mov dword [ebp - 0x210], 0
push eax
lea edx, [ebp - 0x214]
lea ecx, [ebp - 0x218]
call fcn.00432970
add esp, 0x1c
test al, al
je 0x432ac6
mov eax, dword [ebp - 0x218]
cmp eax, 6
ja 0x432abb
jne 0x432ac6
cmp dword [ebp - 0x214], 1
jb 0x432ac6
lea eax, [ebp - 0x210]
push eax
push 0x1c
jmp 0x432acf
lea eax, [ebp - 0x210]
push eax
push 0x2e
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov eax, dword [ebp - 0x210]
test eax, eax
je 0x432b0c
lea ecx, [ebp - 0x20c]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
test eax, eax
je 0x432b0c
push 0x104
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
cmp byte [ebp - 0x108], 0
jne 0x432b2a
xor ecx, ecx
jmp 0x432b3c
lea ecx, [ebp - 0x108]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x432b33
sub ecx, edx
push ecx
lea eax, [ebp - 0x108]
mov ecx, esi
push eax
call fcn.00406a20
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.004f16f8
mov esp, ebp
pop ebp
ret
Function at 0x432d70
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x537886
mov eax, dword fs:[0]
push eax
sub esp, 0xbc
mov eax, dword [0x58b464]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0xc4], esi
lea ecx, [ebp - 0xa8]
mov dword [ebp - 0xc8], 0
call fcn.00432b60
mov dword [ebp - 4], 0
lea eax, [ebp - 0xa8]
cmp dword [ebp - 0x94], 0x10
push 0
cmovae eax, dword [ebp - 0xa8]
push eax
call fcn.00512e95
add esp, 8
cmp eax, 0xffffffff
jne 0x432e19
push 0
mov dword [esi + 0x14], 0xf
mov ecx, esi
mov dword [esi + 0x10], 0
push 0x56f91c
mov byte [esi], 0
call fcn.00406a20
mov ecx, dword [ebp - 0x94]
cmp ecx, 0x10
jb 0x432f2a
inc ecx
push ecx
jmp 0x432f19
push 0x80
lea eax, [ebp - 0x90]
push 0
push eax
call fcn.004ae860
add esp, 0xc
lea eax, [ebp - 0xa8]
cmp dword [ebp - 0x94], 0x10
cmovae eax, dword [ebp - 0xa8]
push eax
push 0x80
lea eax, [ebp - 0x90]
push eax
push 0x56f91c
push str.HDSensorsAnalyticsIni
push str.Install
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp byte [ebp - 0x90], 0
mov dword [ebp - 0xac], 0xf
mov dword [ebp - 0xb0], 0
mov byte [ebp - 0xc0], 0
jne 0x432e8d
xor ecx, ecx
jmp 0x432e9f
lea ecx, [ebp - 0x90]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x432e96
sub ecx, edx
push ecx
lea eax, [ebp - 0x90]
push eax
lea ecx, [ebp - 0xc0]
call fcn.00406a20
push ecx
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 1
call fcn.00428b90
add esp, 4
lea eax, [ebp - 0xc0]
mov ecx, esi
push eax
call fcn.0040b3c0
mov eax, dword [ebp - 0xac]
cmp eax, 0x10
jb 0x432ef1
inc eax
lea ecx, [ebp - 0xc0]
push eax
push dword [ebp - 0xc0]
call fcn.00406e30
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0xac], 0xf
mov dword [ebp - 0xb0], 0
mov byte [ebp - 0xc0], 0
cmp eax, 0x10
jb 0x432f2a
inc eax
push eax
push dword [ebp - 0xa8]
lea ecx, [ebp - 0xa8]
call fcn.00406e30
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004f16f8
mov esp, ebp
pop ebp
ret
Function at 0x4332d0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53791e
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x58b464]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x38], ecx
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x24]
mov esi, dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
xorps xmm0, xmm0
push 0x10
push eax
push 0x59
push 0x400
movups xmmword [ebp - 0x24], xmm0
movups xmmword [ebp - 0x34], xmm0
call esi
push 0x10
mov ebx, eax
lea eax, [ebp - 0x34]
push eax
push 0x5a
push 0x400
call esi
test eax, eax
je 0x43343a
test ebx, ebx
je 0x43343a
cmp byte [ebp - 0x24], 0
jne 0x43334f
xor ecx, ecx
jmp 0x43335e
lea ecx, [ebp - 0x24]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x433355
sub ecx, edx
mov esi, dword [ebp - 0x38]
lea eax, [ebp - 0x24]
push ecx
push eax
mov ecx, esi
call fcn.00406a20
cmp byte [ebp - 0x34], 0
jne 0x433377
xor ecx, ecx
jmp 0x433389
lea ecx, [ebp - 0x34]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x433380
sub ecx, edx
mov ebx, dword [ebp - 0x3c]
lea eax, [ebp - 0x34]
push ecx
push eax
mov ecx, ebx
call fcn.00406a20
push 0x591564
mov edx, esi
lea ecx, [ebp - 0x6c]
call fcn.00434fb0
push ebx
mov edx, eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x54]
call fcn.0040d5e0
add esp, 8
mov esi, eax
cmp edi, esi
je 0x4333fa
mov eax, dword [edi + 0x14]
cmp eax, 0x10
jb 0x4333d5
inc eax
mov ecx, edi
push eax
push dword [edi]
call fcn.00406e30
mov dword [edi + 0x14], 0xf
cmp dword [edi + 0x14], 0x10
mov dword [edi + 0x10], 0
jb 0x4333ed
mov eax, dword [edi]
jmp 0x4333ef
mov eax, edi
push esi
mov ecx, edi
mov byte [eax], 0
call fcn.00406c50
mov eax, dword [ebp - 0x40]
cmp eax, 0x10
jb 0x43340f
inc eax
lea ecx, [ebp - 0x54]
push eax
push dword [ebp - 0x54]
call fcn.00406e30
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x40], 0xf
mov dword [ebp - 0x44], 0
mov byte [ebp - 0x54], 0
cmp eax, 0x10
jb 0x433436
inc eax
lea ecx, [ebp - 0x6c]
push eax
push dword [ebp - 0x6c]
call fcn.00406e30
mov al, 1
jmp 0x43343c
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004f16f8
mov esp, ebp
pop ebp
ret
Function at 0x4335b0
Capabilities:
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5379a9
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x58b464]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x48], esi
mov dword [ebp - 4], 0
mov dword [ebp - 0x44], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x14], 0xf
cmp dword [esi + 0x14], 0x10
mov dword [ebp - 0x4c], esi
mov dword [esi + 0x10], 0
jb 0x433616
mov eax, dword [esi]
jmp 0x433618
mov eax, esi
push 0xc
push str.Mozilla_5.0_
mov byte [eax], 0
call fcn.00406a20
mov dword [ebp - 0x44], 1
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
mov dword [ebp - 4], 1
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
lea edx, [ebp - 0x28]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
call fcn.00432f60
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x40]
mov ecx, esi
push eax
call fcn.0040c650
push 1
push 0x573628
mov ecx, esi
call fcn.0040c520
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call fcn.0040c650
push 5
push str.__Win
mov ecx, esi
call fcn.0040c520
call fcn.004328e0
test eax, eax
mov edx, str.64__
mov ecx, str.32__
cmove edx, ecx
cmp byte [edx], 0
jne 0x4336bf
xor ecx, ecx
jmp 0x4336cd
mov ecx, edx
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4336c4
sub ecx, edi
push ecx
push edx
mov ecx, esi
call fcn.0040c520
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x4336eb
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00406e30
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
cmp ecx, 0x10
jb 0x433712
inc ecx
push ecx
push dword [ebp - 0x40]
lea ecx, [ebp - 0x40]
call fcn.00406e30
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004f16f8
mov esp, ebp
pop ebp
ret