joyce8/EMBER2024-capa huggingface dataset:
Function at 0x421810
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 0x53481d
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x58a464]
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.004ad5f0
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 0x42189c
mov eax, dword [esi]
jmp 0x42189e
mov eax, esi
xor edx, edx
push 0xffffffffffffffff
push edx
push ecx
mov ecx, esi
mov word [eax], dx
call fcn.004066f0
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.0044af10
cmp dword [ebp - 0x21c], 8
lea ecx, [ebp - 0x230]
cmovae ecx, dword [ebp - 0x230]
call fcn.0044ae00
test eax, eax
mov dword [ebp - 0x238], eax
mov byte [edi + 0x7b2], 1
setne al
mov byte [edi + 0x7b1], al
call fcn.0044ad80
mov ebx, eax
test ebx, ebx
setne al
mov byte [edi + 0x7b2], al
cmp dword [edi + 0x760], 0
je 0x42195a
cmp dword [edi + 0x74c], 8
lea eax, [edi + 0x738]
jb 0x42194b
mov eax, dword [eax]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x421a1f
cmp dword [ebp - 0x238], 0
je 0x4219a2
test ebx, ebx
je 0x4219a2
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 0x4219aa
push str.HuDun
push eax
push 0
push 0x104
push eax
call fcn.00517d67
add esp, 0x18
jmp 0x4219c9
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 0x4219c9
push eax
push 0x26
lea eax, [ebp - 0x218]
push eax
push 0
call edi
push 0x56e974
push str.ClassicOldPhotoRepair
lea eax, [ebp - 0x218]
push eax
push 0
push 0x104
push eax
call fcn.00517d67
add esp, 0x18
cmp word [ebp - 0x218], 0
jne 0x4219f8
xor ecx, ecx
jmp 0x421a10
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x421a01
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
mov ecx, esi
push eax
call fcn.004065f0
mov ecx, dword [ebp - 0x21c]
cmp ecx, 8
jb 0x421a3d
inc ecx
push ecx
push dword [ebp - 0x230]
lea ecx, [ebp - 0x230]
call fcn.00406d50
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.004f0482
mov esp, ebp
pop ebp
ret 4
Function at 0x421bc0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x58a464]
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.004ad5f0
add esi, 0x750
add esp, 0xc
cmp dword [esi + 0x14], 8
jb 0x421bfe
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, 0x56f578
lea eax, [ebp - 0x234]
nop dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x421c46
test dx, dx
je 0x421c42
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x421c46
add eax, 4
add ecx, 4
test dx, dx
jne 0x421c20
xor eax, eax
jmp 0x421c4b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x421cff
push eax
push str.set.ini
push edi
push eax
lea esi, [eax + 1]
lea eax, [ebp - 0x234]
push 0x104
push eax
call fcn.00517d67
add esp, 0x18
lea eax, [ebp - 0x234]
push eax
push 0x14
lea eax, [ebp - 0x2c]
push eax
push 0x56ea6c
push str.IsOverride
push 0x570f08
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ecx, 0x56f4f4
lea eax, [ebp - 0x2c]
nop dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x421cdf
test dx, dx
je 0x421cc2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x421cdf
add eax, 4
add ecx, 4
test dx, dx
jne 0x421ca0
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.004f0482
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.004f0482
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.004f0482
mov esp, ebp
pop ebp
ret 4

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x58a464]
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.004ad5f0
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 0x421ed4
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.00517d67
push 0
push str.ClassicOldPhotoRepair
lea eax, [ebp - 0x20c]
push eax
push 0
push 0x104
push eax
call fcn.00517d67
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 0x421f2d
xor ecx, ecx
jmp 0x421f45
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x421f36
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x20c]
mov ecx, esi
push eax
call fcn.004065f0
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.004f0482
mov esp, ebp
pop ebp
ret 4
Function at 0x4224d0
Capabilities:
Check if file exists
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5349c8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x58a464]
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 0x422510
mov ebx, dword [esi]
jmp 0x422512
mov ebx, esi
push 0
lea eax, [ebp - 0x14]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.SoftwareHuDunSoftClassicOldPhotoRepair
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x422566
mov ecx, ebx
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x422540
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 0x4225d7
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.004066f0
push 0xa
push str.uninst.ep
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0
call fcn.00406810
lea ecx, [edi + 0x708]
cmp ecx, eax
je 0x4225c2
push 0xffffffffffffffff
push 0
push eax
call fcn.004066f0
mov eax, dword [ebp - 0x18]
cmp eax, 8
jb 0x4225d7
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.00406d50
cmp dword [edi + 0x71c], 8
lea esi, [edi + 0x708]
jb 0x4225ea
mov eax, dword [esi]
jmp 0x4225ec
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42260e
cmp dword [esi + 0x14], 8
jb 0x4225ff
mov esi, dword [esi]
push esi
push ecx
push str.UnInstallEp
call fcn.0044b400
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.004f0482
mov esp, ebp
pop ebp
ret

Function at 0x422960
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 0x422998
cmp eax, 5
jbe 0x422998
cmp dword [edi + 0x77c], 8
lea eax, [edi + 0x768]
jb 0x422984
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 0x4229a9
mov esi, dword [esi]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4229d6
mov ecx, edi
call fcn.0048cba0
mov ecx, eax
call fcn.004488c0
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 0x4245e0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x58a464]
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 0x424614
mov ebx, dword [edx]
jmp 0x424616
mov ebx, edx
xor ecx, ecx
mov esi, 0x811c9dc5
test edi, edi
je 0x424632
movzx eax, byte [ebx + ecx]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edi
jb 0x424621
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 0x424661
mov eax, ebx
jmp 0x424665
mov eax, dword [eax]
mov eax, dword [eax]
cmp esi, eax
je 0x4246fd
cmp dword [edx + 0x14], 0x10
lea ecx, [esi + 8]
jb 0x424678
mov edx, dword [edx]
cmp dword [ecx + 0x14], 0x10
lea ebx, [ecx + 0x10]
jb 0x424683
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.0040a200
add esp, 0xc
test eax, eax
jne 0x4246a1
cmp ebx, edi
jb 0x4246a1
jbe 0x4246ab
mov esi, dword [esi]
mov ebx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x18]
jmp 0x424655
cmp dword [esi + 0x1c], 0x10
lea edx, [esi + 8]
lea ebx, [edx + 0x10]
jb 0x4246b9
mov edx, dword [edx]
cmp dword [ebp - 0x1c], 0x10
mov ecx, dword [ebp - 8]
jb 0x4246c4
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.0040a200
add esp, 0xc
test eax, eax
jne 0x4246e2
cmp edi, ebx
jb 0x4246e2
jbe 0x4246e5
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.004f0482
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.004f0482
mov esp, ebp
pop ebp
ret 8
Function at 0x4252c0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x58a464]
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 0x4252ed
mov edx, dword [edx]
xor ecx, ecx
mov esi, 0x811c9dc5
test ebx, ebx
je 0x425309
movzx eax, byte [edx + ecx]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, ebx
jb 0x4252f8
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 0x42533f
cmp dword [ecx], edi
jne 0x425337
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 0x425347
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
jmp 0x425347
cmp dword [ecx], edi
jne 0x42534a
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.00425490
push edi
call fcn.004f0500
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.004f0482
mov esp, ebp
pop ebp
ret 8
Function at 0x428f30
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x535330
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x58a464]
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.00428730
mov ecx, dword [ebp + 8]
mov edx, esi
lea ecx, [ecx + 0x30]
call fcn.00428730
mov esi, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
lea ecx, [esi + 0x18]
lea edx, [edx + 0x34]
call fcn.00428730
lea ecx, [esi + 0x48]
mov edx, ebx
call fcn.00428730
lea ecx, [esi + 0x60]
mov edx, edi
call fcn.00428730
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.00428730
push 0x300
mov dword [ebx + 0x94], 0
call fcn.004f04c4
add esp, 4
mov ecx, eax
call fcn.00428a20
mov edx, dword [ebp + 8]
mov esi, eax
push ecx
mov ecx, esi
lea edx, [edx + 0x90]
call fcn.00428950
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 0x432930
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x58a464]
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.004ad5f0
push 0x104
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.004ad5f0
lea eax, [ebp - 0x220]
mov dword [ebp - 0x210], 0
push eax
lea edx, [ebp - 0x214]
lea ecx, [ebp - 0x218]
call fcn.00432870
add esp, 0x1c
test al, al
je 0x4329c6
mov eax, dword [ebp - 0x218]
cmp eax, 6
ja 0x4329bb
jne 0x4329c6
cmp dword [ebp - 0x214], 1
jb 0x4329c6
lea eax, [ebp - 0x210]
push eax
push 0x1c
jmp 0x4329cf
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 0x432a0c
lea ecx, [ebp - 0x20c]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
test eax, eax
je 0x432a0c
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 0x432a2a
xor ecx, ecx
jmp 0x432a3c
lea ecx, [ebp - 0x108]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x432a33
sub ecx, edx
push ecx
lea eax, [ebp - 0x108]
mov ecx, esi
push eax
call fcn.004069a0
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.004f0482
mov esp, ebp
pop ebp
ret
Function at 0x432c70
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5365e6
mov eax, dword fs:[0]
push eax
sub esp, 0xbc
mov eax, dword [0x58a464]
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.00432a60
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.00511bb4
add esp, 8
cmp eax, 0xffffffff
jne 0x432d19
push 0
mov dword [esi + 0x14], 0xf
mov ecx, esi
mov dword [esi + 0x10], 0
push 0x56e8ec
mov byte [esi], 0
call fcn.004069a0
mov ecx, dword [ebp - 0x94]
cmp ecx, 0x10
jb 0x432e2a
inc ecx
push ecx
jmp 0x432e19
push 0x80
lea eax, [ebp - 0x90]
push 0
push eax
call fcn.004ad5f0
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 0x56e8ec
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 0x432d8d
xor ecx, ecx
jmp 0x432d9f
lea ecx, [ebp - 0x90]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x432d96
sub ecx, edx
push ecx
lea eax, [ebp - 0x90]
push eax
lea ecx, [ebp - 0xc0]
call fcn.004069a0
push ecx
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 1
call fcn.004287d0
add esp, 4
lea eax, [ebp - 0xc0]
mov ecx, esi
push eax
call fcn.0040b2e0
mov eax, dword [ebp - 0xac]
cmp eax, 0x10
jb 0x432df1
inc eax
lea ecx, [ebp - 0xc0]
push eax
push dword [ebp - 0xc0]
call fcn.00406db0
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0xac], 0xf
mov dword [ebp - 0xb0], 0
mov byte [ebp - 0xc0], 0
cmp eax, 0x10
jb 0x432e2a
inc eax
push eax
push dword [ebp - 0xa8]
lea ecx, [ebp - 0xa8]
call fcn.00406db0
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.004f0482
mov esp, ebp
pop ebp
ret
Function at 0x4331a0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53667e
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x58a464]
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 0x43330a
test ebx, ebx
je 0x43330a
cmp byte [ebp - 0x24], 0
jne 0x43321f
xor ecx, ecx
jmp 0x43322e
lea ecx, [ebp - 0x24]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x433225
sub ecx, edx
mov esi, dword [ebp - 0x38]
lea eax, [ebp - 0x24]
push ecx
push eax
mov ecx, esi
call fcn.004069a0
cmp byte [ebp - 0x34], 0
jne 0x433247
xor ecx, ecx
jmp 0x433259
lea ecx, [ebp - 0x34]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x433250
sub ecx, edx
mov ebx, dword [ebp - 0x3c]
lea eax, [ebp - 0x34]
push ecx
push eax
mov ecx, ebx
call fcn.004069a0
push 0x590564
mov edx, esi
lea ecx, [ebp - 0x6c]
call fcn.00434ea0
push ebx
mov edx, eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x54]
call fcn.0040d470
add esp, 8
mov esi, eax
cmp edi, esi
je 0x4332ca
mov eax, dword [edi + 0x14]
cmp eax, 0x10
jb 0x4332a5
inc eax
mov ecx, edi
push eax
push dword [edi]
call fcn.00406db0
mov dword [edi + 0x14], 0xf
cmp dword [edi + 0x14], 0x10
mov dword [edi + 0x10], 0
jb 0x4332bd
mov eax, dword [edi]
jmp 0x4332bf
mov eax, edi
push esi
mov ecx, edi
mov byte [eax], 0
call fcn.00406bd0
mov eax, dword [ebp - 0x40]
cmp eax, 0x10
jb 0x4332df
inc eax
lea ecx, [ebp - 0x54]
push eax
push dword [ebp - 0x54]
call fcn.00406db0
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x40], 0xf
mov dword [ebp - 0x44], 0
mov byte [ebp - 0x54], 0
cmp eax, 0x10
jb 0x433306
inc eax
lea ecx, [ebp - 0x6c]
push eax
push dword [ebp - 0x6c]
call fcn.00406db0
mov al, 1
jmp 0x43330c
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.004f0482
mov esp, ebp
pop ebp
ret
Function at 0x433480
Capabilities:
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x536709
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x58a464]
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 0x4334e6
mov eax, dword [esi]
jmp 0x4334e8
mov eax, esi
push 0xc
push str.Mozilla_5.0_
mov byte [eax], 0
call fcn.004069a0
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.00432e50
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x40]
mov ecx, esi
push eax
call fcn.0040c570
push 1
push 0x5727d8
mov ecx, esi
call fcn.0040c440
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call fcn.0040c570
push 5
push str.__Win
mov ecx, esi
call fcn.0040c440
call fcn.004327e0
test eax, eax
mov edx, str.64__
mov ecx, str.32__
cmove edx, ecx
cmp byte [edx], 0
jne 0x43358f
xor ecx, ecx
jmp 0x43359d
mov ecx, edx
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x433594
sub ecx, edi
push ecx
push edx
mov ecx, esi
call fcn.0040c440
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x4335bb
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00406db0
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
cmp ecx, 0x10
jb 0x4335e2
inc ecx
push ecx
push dword [ebp - 0x40]
lea ecx, [ebp - 0x40]
call fcn.00406db0
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.004f0482
mov esp, ebp
pop ebp
ret