Function at 0x4266d0
Capabilities:
Get geographical location

Disassembly:
push 0xffffffffffffffff
push 0x5e4297
mov eax, dword fs:[0]
push eax
sub esp, 0x998
mov eax, dword [0x704dd8]
xor eax, esp
mov dword [esp + 0x994], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x704dd8]
xor eax, esp
push eax
lea eax, [esp + 0x9ac]
mov dword fs:[0], eax
push 0x3e8
lea eax, [esp + 0x1dc]
push eax
xor ebx, ebx
push ebx
mov dword [esp + 0x24], ecx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [esp + 0x1d8]
push ecx
lea ecx, [esp + 0x28]
call fcn.00404b40
mov edx, dword [esp + 0x24]
push 0x5c
push edx
mov dword [esp + 0x9bc], ebx
call fcn.004e9c3b
add esp, 8
cmp eax, ebx
jne 0x426755
or esi, 0xffffffff
jmp 0x42675d
sub eax, dword [esp + 0x24]
sar eax, 1
mov esi, eax
call fcn.004ca9fa
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x426777
push 0x80004005
call fcn.004040f0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x28], eax
inc esi
push esi
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x2c]
mov byte [esp + 0x9bc], 1
call fcn.0041c7d0
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x9b8], 2
call fcn.0041cda0
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x9b4], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4267d9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.City.txt
lea ecx, [esp + 0x2c]
call fcn.0041d9c0
mov edi, 0xf
mov dword [esp + 0xd4], edi
mov dword [esp + 0xd0], ebx
mov byte [esp + 0xc0], 0
mov esi, dword [esp + 0x28]
push 1
push 0x40
push 1
push esi
lea ecx, [esp + 0x40]
mov byte [esp + 0x9c4], 3
call fcn.004245e0
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx + 4]
mov ecx, dword [esp + eax + 0x38]
mov byte [esp + 0x9b4], 4
test cl, 6
je 0x4268b2
lea ecx, [esp + 0x88]
mov byte [esp + 0x9b4], 3
call fcn.00420810
lea edx, [esp + 0x88]
push edx
mov dword [esp + 0x8c], vtable.std::ios_base.0
call fcn.00508738
add esp, 4
cmp dword [esp + 0xd4], 0x10
jb 0x42687f
mov eax, dword [esp + 0xc0]
push eax
call fcn.004ca5d9
add esp, 4
lea eax, [esi - 0x10]
mov dword [esp + 0xd4], edi
mov dword [esp + 0xd0], ebx
mov byte [esp + 0xc0], 0
mov byte [esp + 0x9b4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x426d87
push 0xa
lea ecx, [esp + eax + 0x34]
call fcn.0041f330
movzx ecx, al
push ecx
lea edx, [esp + 0xc0]
push edx
lea eax, [esp + 0x38]
push eax
call fcn.00424750
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
mov edx, dword [ecx + eax + 8]
add ecx, eax
and dl, 6
movsx eax, dl
add esp, 0xc
neg eax
sbb eax, eax
not eax
test ecx, eax
je 0x426c47
mov ecx, dword [esp + 0x18]
mov eax, 0xfffffce4
lea edi, [ecx + 0x31c]
sub eax, ecx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], eax
mov edi, edi
push 0xff
xor esi, esi
lea ecx, [esp + 0xdd]
push esi
push ecx
mov byte [esp + 0xe4], 0
call fcn.004e9ba0
mov eax, dword [esp + 0xcc]
add esp, 0xc
cmp dword [esp + 0xd4], 0x10
jae 0x426948
lea eax, [esp + 0xc0]
push eax
lea edx, [esp + 0xdc]
push 0x601ef4
push edx
call fcn.004ea179
lea ebx, [esp + 0xe4]
add esp, 0xc
lea ecx, [ebx + 1]
mov al, byte [ebx]
inc ebx
test al, al
jne 0x426968
sub ebx, ecx
lea ecx, [esp + 0xbc]
call fcn.0041daa0
xor eax, eax
cmp ebx, esi
jle 0x4269a3
jmp 0x426990
cmp byte [esp + eax + 0xd8], 0x2f
je 0x426a8c
inc eax
cmp eax, ebx
jl 0x426990
cmp ebx, esi
mov dword [esp + 0x14], esi
jle 0x426a44
nop
mov al, byte [esp + esi + 0xd8]
cmp al, 0x2d
je 0x4269c8
mov byte [edi + esi], al
inc esi
cmp esi, ebx
jl 0x4269b0
jmp 0x426a44
mov byte [edi + esi], 0
inc esi
cmp esi, ebx
mov dword [esp + 0x14], esi
jge 0x426a44
mov eax, dword [esp + 0x20]
lea ebp, [eax + edi]
mov cl, byte [esp + esi + 0xd8]
cmp cl, 0x2d
je 0x426a09
mov eax, dword [esp + 0x18]
mov edx, ebp
sub edx, dword [esp + 0x14]
inc esi
add eax, edx
cmp esi, ebx
mov byte [eax + esi + 0x339], cl
mov byte [eax + esi + 0x357], cl
jl 0x4269dc
jmp 0x426a44
sub ebp, dword [esp + 0x14]
add ebp, dword [esp + 0x18]
mov byte [ebp + esi + 0x33a], 0
add ebp, esi
inc esi
cmp esi, ebx
mov byte [ebp + 0x358], 0
mov dword [esp + 0x14], esi
jge 0x426a44
sub ebx, esi
lea eax, [esp + esi + 0xd8]
push ebx
push eax
lea ecx, [edi + 0x5a]
push ecx
call fcn.004e9c70
add esp, 0xc
add esi, ebx
mov edx, dword [esp + 0x20]
sub edx, dword [esp + 0x14]
add edx, edi
add edx, dword [esp + 0x18]
xor eax, eax
mov byte [edx + esi + 0x376], 0
mov dword [edi + 0x78], eax
mov dword [edi + 0x7c], eax
mov dword [edi + 0x80], eax
mov dword [edi + 0x84], eax
mov dword [edi + 0x88], eax
mov dword [edi + 0x8c], eax
mov dword [edi + 0x90], eax
mov word [edi + 0x94], ax
jmp 0x426bf5
xor esi, esi
mov dword [esp + 0x14], esi
xor ebp, ebp
mov al, byte [esp + ebp + 0xd8]
cmp al, 0x2d
je 0x426aac
mov byte [edi + ebp], al
inc ebp
cmp ebp, ebx
jl 0x426a94
jmp 0x426b4c
mov byte [edi + ebp], 0
inc ebp
cmp ebp, ebx
mov esi, ebp
mov dword [esp + 0x14], esi
jge 0x426b4c
mov eax, dword [esp + 0x20]
add eax, edi
mov ecx, dword [esp + 0x18]
mov edx, eax
sub edx, esi
add edx, ecx
cmp byte [esp + ebp + 0xd8], 0x2d
je 0x426aee
mov cl, byte [esp + ebp + 0xd8]
mov byte [edx + ebp + 0x358], cl
inc ebp
cmp ebp, ebx
jl 0x426ac5
jmp 0x426b4c
mov byte [edx + ebp + 0x358], 0
inc ebp
cmp ebp, ebx
mov esi, ebp
mov dword [esp + 0x14], esi
jge 0x426b4c
jmp 0x426b14
mov ecx, dword [esp + 0x18]
cmp byte [esp + ebp + 0xd8], 0x2f
je 0x426b39
mov edx, eax
sub edx, esi
add edx, ecx
mov cl, byte [esp + ebp + 0xd8]
mov byte [edx + ebp + 0x376], cl
inc ebp
cmp ebp, ebx
jl 0x426b10
jmp 0x426b4c
sub eax, esi
add eax, ecx
mov byte [eax + ebp + 0x376], 0
inc ebp
mov esi, ebp
mov dword [esp + 0x14], ebp
lea ecx, [edi + 0x5a]
lea eax, [edi - 0x3c]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x426b72
test dl, dl
je 0x426b6e
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x426b72
add eax, 2
add ecx, 2
test dl, dl
jne 0x426b52
xor eax, eax
jmp 0x426b77
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x426bb4
lea edx, [edi - 0x78]
mov eax, edx
lea ecx, [eax + 1]
mov dword [esp + 0x2c], ecx
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x426b87
sub eax, dword [esp + 0x2c]
xor ecx, ecx
test eax, eax
jle 0x426baf
mov edi, dword [esp + 0x1c]
add edi, 0x1e
mov ecx, eax
mov esi, edx
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x1c]
mov ecx, eax
mov byte [edi + ecx + 0x1e], 0
cmp ebp, ebx
jge 0x426be1
mov edx, dword [esp + 0x20]
sub edx, esi
add edx, edi
add edx, dword [esp + 0x18]
sub ebx, ebp
lea ecx, [esp + ebp + 0xd8]
push ebx
lea eax, [edx + ebp + 0x394]
push ecx
push eax
call fcn.004e9c70
add esp, 0xc
add ebp, ebx
mov eax, dword [esp + 0x20]
sub eax, esi
add eax, edi
add eax, dword [esp + 0x18]
mov byte [eax + ebp + 0x394], 0
mov ecx, dword [esp + 0x30]
mov ecx, dword [ecx + 4]
add edi, 0x96
push 0xa
lea ecx, [esp + ecx + 0x34]
mov dword [esp + 0x20], edi
call fcn.0041f330
movzx edx, al
push edx
lea eax, [esp + 0xc0]
push eax
lea ecx, [esp + 0x38]
push ecx
call fcn.00424750
mov edx, dword [eax]
mov ecx, dword [edx + 4]
add ecx, eax
mov eax, dword [ecx + 8]
and al, 6
movsx edx, al
add esp, 0xc
neg edx
sbb edx, edx
not edx
test ecx, edx
jne 0x426910
xor edi, edi
lea esi, [esp + 0x38]
cmp dword [esp + 0x84], edi
je 0x426c77
mov ecx, esi
call fcn.0041d3c0
test al, al
jne 0x426c63
xor esi, esi
mov eax, dword [esp + 0x84]
push eax
call fcn.004ebb03
add esp, 4
test eax, eax
je 0x426c79
xor esi, esi
lea ecx, [esp + 0x40]
mov dword [esp + 0x48], ecx
lea edx, [esp + 0x44]
lea eax, [esp + 0x50]
lea ecx, [esp + 0x54]
mov dword [esp + 0x4c], edx
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], ecx
mov ecx, dword [0x70b6a8]
lea edx, [esp + 0x60]
lea eax, [esp + 0x64]
mov byte [esp + 0x80], 0
mov byte [esp + 0x79], 0
mov dword [esp + 0x68], edx
mov dword [esp + 0x6c], eax
mov dword [esp + 0x44], edi
mov dword [esp + 0x54], edi
mov dword [esp + 0x64], edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x50], edi
mov dword [esp + 0x60], edi
mov dword [esp + 0x84], edi
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x74], edi
cmp esi, edi
jne 0x426d08
mov edx, dword [esp + 0x30]
mov ecx, dword [edx + 4]
mov eax, dword [esp + ecx + 0x38]
lea ecx, [esp + ecx + 0x30]
or eax, 2
cmp dword [ecx + 0x28], edi
jne 0x426d01
or eax, 4
push edi
push eax
call fcn.00411980
lea ecx, [esp + 0x88]
mov byte [esp + 0x9b4], 3
call fcn.00420810
lea eax, [esp + 0x88]
push eax
mov dword [esp + 0x8c], vtable.std::ios_base.0
call fcn.00508738
add esp, 4
cmp dword [esp + 0xd4], 0x10
jb 0x426d51
mov ecx, dword [esp + 0xc0]
push ecx
call fcn.004ca5d9
add esp, 4
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov dword [esp + 0xd4], 0xf
mov dword [esp + 0xd0], edi
mov byte [esp + 0xc0], 0
mov byte [esp + 0x9b4], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x426d93
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov dword [esp + 0x9b4], edx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x426dba
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x9ac]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x994]
xor ecx, esp
call fcn.004e8c89
add esp, 0x9a4
ret