joyce8/EMBER2024-capa huggingface dataset:
Function at 0x422390
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x5a9464]
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.004b3fe0
add esi, 0x758
add esp, 0xc
cmp dword [esi + 0x14], 8
jb 0x4223ce
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, 0x58d178
lea eax, [ebp - 0x234]
nop dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x422416
test dx, dx
je 0x422412
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x422416
add eax, 4
add ecx, 4
test dx, dx
jne 0x4223f0
xor eax, eax
jmp 0x42241b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4224cf
push eax
push str.set.ini
push edi
push eax
lea esi, [eax + 1]
lea eax, [ebp - 0x234]
push 0x104
push eax
call fcn.00530717
add esp, 0x18
lea eax, [ebp - 0x234]
push eax
push 0x14
lea eax, [ebp - 0x2c]
push eax
push 0x58c76c
push str.IsOverride
push 0x58ea8c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ecx, 0x58d0f0
lea eax, [ebp - 0x2c]
nop dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4224af
test dx, dx
je 0x422492
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4224af
add eax, 4
add ecx, 4
test dx, dx
jne 0x422470
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.00508d84
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.00508d84
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.00508d84
mov esp, ebp
pop ebp
ret 4

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x5a9464]
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.004b3fe0
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 0x4226d4
push eax
push 0x2e
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0
push 0x58eaa4
lea eax, [ebp - 0x20c]
push eax
push 0
push 0x104
push eax
call fcn.00530717
push 0
push str.DocumentTranslator
lea eax, [ebp - 0x20c]
push eax
push 0
push 0x104
push eax
call fcn.00530717
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 0x42272d
xor ecx, ecx
jmp 0x422745
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x422736
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x20c]
mov ecx, esi
push eax
call fcn.00406770
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00508d84
mov esp, ebp
pop ebp
ret 4
Function at 0x422cd0
Capabilities:
Check if file exists
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54f598
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x5a9464]
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 + 0x73c], 8
lea esi, [edi + 0x728]
jb 0x422d10
mov ebx, dword [esi]
jmp 0x422d12
mov ebx, esi
push 0
lea eax, [ebp - 0x14]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.SoftwareHuDunSoftDocumentTranslator
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x422d66
mov ecx, ebx
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x422d40
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 + 0x720], 0
jne 0x422dd7
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.00406870
push 0xa
push str.uninst.ep
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0
call fcn.00406990
lea ecx, [edi + 0x710]
cmp ecx, eax
je 0x422dc2
push 0xffffffffffffffff
push 0
push eax
call fcn.00406870
mov eax, dword [ebp - 0x18]
cmp eax, 8
jb 0x422dd7
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.00406ed0
cmp dword [edi + 0x724], 8
lea esi, [edi + 0x710]
jb 0x422dea
mov eax, dword [esi]
jmp 0x422dec
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x422e0e
cmp dword [esi + 0x14], 8
jb 0x422dff
mov esi, dword [esi]
push esi
push ecx
push str.UnInstallEp
call fcn.00451a10
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.00508d84
mov esp, ebp
pop ebp
ret

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

Disassembly:
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0x780]
test eax, eax
je 0x423198
cmp eax, 5
jbe 0x423198
cmp dword [edi + 0x784], 8
lea eax, [edi + 0x770]
jb 0x423184
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 + 0x70c], 8
lea esi, [edi + 0x6f8]
jb 0x4231a9
mov esi, dword [esi]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4231d6
mov ecx, edi
call fcn.00469700
mov ecx, eax
call fcn.0044c930
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 0x4273a0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x5a9464]
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 0x4273d4
mov ebx, dword [edx]
jmp 0x4273d6
mov ebx, edx
xor ecx, ecx
mov esi, 0x811c9dc5
test edi, edi
je 0x4273f2
movzx eax, byte [ebx + ecx]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edi
jb 0x4273e1
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 0x427421
mov eax, ebx
jmp 0x427425
mov eax, dword [eax]
mov eax, dword [eax]
cmp esi, eax
je 0x4274bd
cmp dword [edx + 0x14], 0x10
lea ecx, [esi + 8]
jb 0x427438
mov edx, dword [edx]
cmp dword [ecx + 0x14], 0x10
lea ebx, [ecx + 0x10]
jb 0x427443
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.0040a530
add esp, 0xc
test eax, eax
jne 0x427461
cmp ebx, edi
jb 0x427461
jbe 0x42746b
mov esi, dword [esi]
mov ebx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x18]
jmp 0x427415
cmp dword [esi + 0x1c], 0x10
lea edx, [esi + 8]
lea ebx, [edx + 0x10]
jb 0x427479
mov edx, dword [edx]
cmp dword [ebp - 0x1c], 0x10
mov ecx, dword [ebp - 8]
jb 0x427484
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.0040a530
add esp, 0xc
test eax, eax
jne 0x4274a2
cmp edi, ebx
jb 0x4274a2
jbe 0x4274a5
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.00508d84
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.00508d84
mov esp, ebp
pop ebp
ret 8
Function at 0x4280d0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x5a9464]
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 0x4280fd
mov edx, dword [edx]
xor ecx, ecx
mov esi, 0x811c9dc5
test ebx, ebx
je 0x428119
movzx eax, byte [edx + ecx]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, ebx
jb 0x428108
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 0x42814f
cmp dword [ecx], edi
jne 0x428147
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 0x428157
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
jmp 0x428157
cmp dword [ecx], edi
jne 0x42815a
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.004282a0
push edi
call fcn.004816a0
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.00508d84
mov esp, ebp
pop ebp
ret 8
Function at 0x42bda0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x550190
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x5a9464]
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.0042b570
mov ecx, dword [ebp + 8]
mov edx, esi
lea ecx, [ecx + 0x30]
call fcn.0042b570
mov esi, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
lea ecx, [esi + 0x18]
lea edx, [edx + 0x34]
call fcn.0042b570
lea ecx, [esi + 0x48]
mov edx, ebx
call fcn.0042b570
lea ecx, [esi + 0x60]
mov edx, edi
call fcn.0042b570
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.0042b570
push 0x330
mov dword [ebx + 0x94], 0
call fcn.00508dc6
add esp, 4
mov ecx, eax
call fcn.0042b860
mov edx, dword [ebp + 8]
mov esi, eax
push ecx
mov ecx, esi
lea edx, [edx + 0x90]
call fcn.0042b790
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 0x434ae0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x551290
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x5a9464]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
mov esi, ecx
push 0x5b0a74
call fcn.004f547b
add esp, 4
test eax, eax
je 0x434b28
push eax
call fcn.004f4ef1
add esp, 4
mov al, byte [0x5af9a8]
push 0x5b0a74
mov byte [ebp - 0x19], al
call fcn.004f54d8
add esp, 4
test eax, eax
je 0x434b4a
push eax
call fcn.004f4ef1
add esp, 4
cmp byte [ebp - 0x19], 0
je 0x434b75
push ebx
push esi
call fcn.004349c0
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00508d84
mov esp, ebp
pop ebp
ret
push str._Sensors__Sending_messages_asynchronously
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea edx, [ebp - 0x2c]
mov dword [ebp - 0x2c], fcn.004349c0
lea ecx, [ebp - 0x20]
mov byte [ebp - 0x28], bl
mov dword [ebp - 0x24], esi
call fcn.00437d30
mov edx, eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.00437d70
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x434bbb
push 0xc
push eax
call fcn.00508db8
add esp, 8
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 1
call fcn.0040e5e0
cmp dword [ebp - 0x14], 0
je 0x434b5a
call fcn.00529ea7
int3

Function at 0x4355f0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x5a9464]
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.004b3fe0
push 0x104
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.004b3fe0
lea eax, [ebp - 0x220]
mov dword [ebp - 0x210], 0
push eax
lea edx, [ebp - 0x214]
lea ecx, [ebp - 0x218]
call fcn.00435530
add esp, 0x1c
test al, al
je 0x435686
mov eax, dword [ebp - 0x218]
cmp eax, 6
ja 0x43567b
jne 0x435686
cmp dword [ebp - 0x214], 1
jb 0x435686
lea eax, [ebp - 0x210]
push eax
push 0x1c
jmp 0x43568f
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 0x4356cc
lea ecx, [ebp - 0x20c]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
test eax, eax
je 0x4356cc
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 0x4356ea
xor ecx, ecx
jmp 0x4356fc
lea ecx, [ebp - 0x108]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4356f3
sub ecx, edx
push ecx
lea eax, [ebp - 0x108]
mov ecx, esi
push eax
call fcn.00406b20
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00508d84
mov esp, ebp
pop ebp
ret
Function at 0x435930
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5513f6
mov eax, dword fs:[0]
push eax
sub esp, 0xbc
mov eax, dword [0x5a9464]
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.00435720
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.0052a540
add esp, 8
cmp eax, 0xffffffff
jne 0x4359d9
push 0
mov dword [esi + 0x14], 0xf
mov ecx, esi
mov dword [esi + 0x10], 0
push 0x58c5ec
mov byte [esi], 0
call fcn.00406b20
mov ecx, dword [ebp - 0x94]
cmp ecx, 0x10
jb 0x435aea
inc ecx
push ecx
jmp 0x435ad9
push 0x80
lea eax, [ebp - 0x90]
push 0
push eax
call fcn.004b3fe0
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 0x58c5ec
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 0x435a4d
xor ecx, ecx
jmp 0x435a5f
lea ecx, [ebp - 0x90]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x435a56
sub ecx, edx
push ecx
lea eax, [ebp - 0x90]
push eax
lea ecx, [ebp - 0xc0]
call fcn.00406b20
push ecx
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 1
call fcn.0042b610
add esp, 4
lea eax, [ebp - 0xc0]
mov ecx, esi
push eax
call fcn.0040b750
mov eax, dword [ebp - 0xac]
cmp eax, 0x10
jb 0x435ab1
inc eax
lea ecx, [ebp - 0xc0]
push eax
push dword [ebp - 0xc0]
call fcn.00406f30
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0xac], 0xf
mov dword [ebp - 0xb0], 0
mov byte [ebp - 0xc0], 0
cmp eax, 0x10
jb 0x435aea
inc eax
push eax
push dword [ebp - 0xa8]
lea ecx, [ebp - 0xa8]
call fcn.00406f30
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.00508d84
mov esp, ebp
pop ebp
ret
Function at 0x435e80
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55148e
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x5a9464]
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 0x435fea
test ebx, ebx
je 0x435fea
cmp byte [ebp - 0x24], 0
jne 0x435eff
xor ecx, ecx
jmp 0x435f0e
lea ecx, [ebp - 0x24]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x435f05
sub ecx, edx
mov esi, dword [ebp - 0x38]
lea eax, [ebp - 0x24]
push ecx
push eax
mov ecx, esi
call fcn.00406b20
cmp byte [ebp - 0x34], 0
jne 0x435f27
xor ecx, ecx
jmp 0x435f39
lea ecx, [ebp - 0x34]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x435f30
sub ecx, edx
mov ebx, dword [ebp - 0x3c]
lea eax, [ebp - 0x34]
push ecx
push eax
mov ecx, ebx
call fcn.00406b20
push 0x5b00b4
mov edx, esi
lea ecx, [ebp - 0x6c]
call fcn.00437b20
push ebx
mov edx, eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x54]
call fcn.0040d970
add esp, 8
mov esi, eax
cmp edi, esi
je 0x435faa
mov eax, dword [edi + 0x14]
cmp eax, 0x10
jb 0x435f85
inc eax
mov ecx, edi
push eax
push dword [edi]
call fcn.00406f30
mov dword [edi + 0x14], 0xf
cmp dword [edi + 0x14], 0x10
mov dword [edi + 0x10], 0
jb 0x435f9d
mov eax, dword [edi]
jmp 0x435f9f
mov eax, edi
push esi
mov ecx, edi
mov byte [eax], 0
call fcn.00406d50
mov eax, dword [ebp - 0x40]
cmp eax, 0x10
jb 0x435fbf
inc eax
lea ecx, [ebp - 0x54]
push eax
push dword [ebp - 0x54]
call fcn.00406f30
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x40], 0xf
mov dword [ebp - 0x44], 0
mov byte [ebp - 0x54], 0
cmp eax, 0x10
jb 0x435fe6
inc eax
lea ecx, [ebp - 0x6c]
push eax
push dword [ebp - 0x6c]
call fcn.00406f30
mov al, 1
jmp 0x435fec
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.00508d84
mov esp, ebp
pop ebp
ret
Function at 0x436160
Capabilities:
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x551519
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x5a9464]
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 0x4361c6
mov eax, dword [esi]
jmp 0x4361c8
mov eax, esi
push 0xc
push str.Mozilla_5.0_
mov byte [eax], 0
call fcn.00406b20
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.00435b10
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x40]
mov ecx, esi
push eax
call fcn.0040c9e0
push 1
push 0x5902e4
mov ecx, esi
call fcn.0040c8b0
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call fcn.0040c9e0
push 5
push str.__Win
mov ecx, esi
call fcn.0040c8b0
call fcn.004354a0
test eax, eax
mov edx, str.64__
mov ecx, str.32__
cmove edx, ecx
cmp byte [edx], 0
jne 0x43626f
xor ecx, ecx
jmp 0x43627d
mov ecx, edx
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x436274
sub ecx, edi
push ecx
push edx
mov ecx, esi
call fcn.0040c8b0
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x43629b
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00406f30
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
cmp ecx, 0x10
jb 0x4362c2
inc ecx
push ecx
push dword [ebp - 0x40]
lea ecx, [ebp - 0x40]
call fcn.00406f30
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.00508d84
mov esp, ebp
pop ebp
ret
Function at 0x436f90
Capabilities:
Get geographical location
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
mov eax, dword [0x5a9464]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
cmp dword [ebx + 0xac], 0x10
push esi
lea esi, [ebx + 0x98]
jb 0x436fb8
mov esi, dword [esi]
push 0
push esi
call fcn.0052a540
add esp, 8
cmp eax, 0xffffffff
je 0x4371f3
push edi
lea ecx, [ebx + 0x2b8]
call fcn.0043ed90
test al, al
jne 0x4371f2
push 0x80
lea eax, [ebp - 0x84]
push 0
push eax
call fcn.004b3fe0
add esp, 0xc
lea eax, [ebp - 0x84]
push esi
push 0x80
push eax
push 0x58c5ec
push str.AssistIP
push str.Local
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp byte [ebp - 0x84], 0
jne 0x437025
xor ecx, ecx
jmp 0x437039
lea ecx, [ebp - 0x84]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x437030
sub ecx, edx
push ecx
lea eax, [ebp - 0x84]
push eax
lea ecx, [ebx + 0x2b8]
call fcn.00406b20
push 0x80
lea eax, [ebp - 0x84]
push 0
push eax
call fcn.004b3fe0
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x84]
add esp, 0xc
push esi
push 0x80
push eax
push 0x58c5ec
push str.country
push str.Local
call edi
cmp byte [ebp - 0x84], 0
jne 0x437093
xor ecx, ecx
jmp 0x4370a9
lea ecx, [ebp - 0x84]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4370a0
sub ecx, edx
push ecx
lea eax, [ebp - 0x84]
push eax
lea ecx, [ebx + 0x2d0]
call fcn.00406b20
push 0x80
lea eax, [ebp - 0x84]
push 0
push eax
call fcn.004b3fe0
add esp, 0xc
lea eax, [ebp - 0x84]
push esi
push 0x80
push eax
push 0x58c5ec
push str.countryCode
push str.Local
call edi
cmp byte [ebp - 0x84], 0
jne 0x4370fd
xor ecx, ecx
jmp 0x43710f
lea ecx, [ebp - 0x84]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x437106
sub ecx, edx
push ecx
lea eax, [ebp - 0x84]
push eax
lea ecx, [ebx + 0x2e8]
call fcn.00406b20
push 0x80
lea eax, [ebp - 0x84]
push 0
push eax
call fcn.004b3fe0
add esp, 0xc
lea eax, [ebp - 0x84]
push esi
push 0x80
push eax
push 0x58c5ec
push str.province
push str.Local
call edi
cmp byte [ebp - 0x84], 0
jne 0x437163
xor ecx, ecx
jmp 0x437179
lea ecx, [ebp - 0x84]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x437170
sub ecx, edx
push ecx
lea eax, [ebp - 0x84]
push eax
lea ecx, [ebx + 0x300]
call fcn.00406b20
push 0x80
lea eax, [ebp - 0x84]
push 0
push eax
call fcn.004b3fe0
add esp, 0xc
lea eax, [ebp - 0x84]
push esi
push 0x80
push eax
push 0x58c5ec
push str.City
push str.Local
call edi
cmp byte [ebp - 0x84], 0
jne 0x4371cd
xor ecx, ecx
jmp 0x4371df
lea ecx, [ebp - 0x84]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4371d6
sub ecx, edx
push ecx
lea eax, [ebp - 0x84]
push eax
lea ecx, [ebx + 0x318]
call fcn.00406b20
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00508d84
mov esp, ebp
pop ebp
ret