Function at 0x41c901
Capabilities:
Get geographical location

Disassembly:
push 0xe0
mov eax, 0x46d3dd
call fcn.0046cebd
mov esi, ecx
mov dword [ebp - 0x18], esi
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xec], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x98], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x20], ebx
lea ecx, [ebp - 0x94]
call fcn.0041e3d0
xor eax, eax
mov byte [ebp - 4], 0xa
lea edi, [ebp - 0xc0]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
lea edi, [ebp - 0x54]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
lea edi, [ebp - 0xe8]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
lea edi, [ebp - 0xac]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
lea edi, [ebp - 0xd4]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0xc0]
push eax
lea edi, [esi + 0x160]
push 0x407efc
push edi
call fcn.0042320b
mov esi, eax
add esp, 0xc
test esi, esi
jns 0x41c9b8
mov ecx, esi
call fcn.00419094
jmp 0x41cf3d
lea eax, [ebp - 0x3c]
push eax
push 0x407f1c
lea eax, [ebp - 0xc0]
push eax
push edi
call fcn.00423346
mov esi, eax
add esp, 0x10
test esi, esi
js 0x41c9ac
xor eax, eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x3c], eax
jbe 0x41cf38
test ebx, ebx
jne 0x41cf38
push eax
lea eax, [ebp - 0x54]
push eax
push 0x407f2c
lea eax, [ebp - 0xc0]
push eax
push edi
call fcn.00423229
mov esi, eax
add esp, 0x14
test esi, esi
js 0x41c9ac
push 0xffffffffffffffff
push 0x407f1c
push 0xffffffffffffffff
push dword [ebp - 0x50]
push 1
push 0x409
call dword [sym.imp.KERNEL32.dll_CompareStringW]
dec eax
dec eax
jne 0x41d029
cmp dword [ebp - 0x1c], eax
je 0x41ca47
push dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
and dword [ebp - 0x1c], ebx
lea eax, [ebp - 0x1c]
mov ebx, 0x407f4c
push eax
push 0x407f40
push ebx
lea eax, [ebp - 0x54]
push eax
push edi
call fcn.004233a1
mov esi, eax
add esp, 0x14
test esi, esi
js 0x41c9ac
cmp dword [ebp - 0x14], 0
je 0x41ca89
push dword [ebp - 0x14]
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
and dword [ebp - 0x14], 0
lea eax, [ebp - 0x14]
push eax
push 0x407f50
push ebx
lea eax, [ebp - 0x54]
push eax
push edi
call fcn.004233a1
mov esi, eax
add esp, 0x14
test esi, esi
js 0x41c9ac
xor ebx, ebx
inc ebx
cmp dword [ebp - 0x1c], 0
je 0x41cada
cmp dword [ebp + 8], 0
je 0x41cada
push 0xffffffffffffffff
push dword [ebp - 0x1c]
push 0xffffffffffffffff
push dword [ebp + 8]
push ebx
push 0x409
call dword [sym.imp.KERNEL32.dll_CompareStringW]
sub eax, 2
neg eax
sbb eax, eax
not eax
and ebx, eax
cmp dword [ebp - 0x14], 0
je 0x41cb08
cmp dword [ebp + 0xc], 0
je 0x41cb08
push 0xffffffffffffffff
push dword [ebp - 0x14]
push 0xffffffffffffffff
push dword [ebp + 0xc]
push 1
push 0x409
call dword [sym.imp.KERNEL32.dll_CompareStringW]
sub eax, 2
neg eax
sbb eax, eax
not eax
and ebx, eax
test ebx, ebx
je 0x41cf16
lea eax, [ebp - 0x58]
push eax
push 0x407f60
lea eax, [ebp - 0x54]
push eax
push edi
call fcn.00423346
mov esi, eax
add esp, 0x10
test esi, esi
js 0x41c9ac
cmp dword [ebp - 0x58], 1
jne 0x41d015
push 0
lea eax, [ebp - 0xe8]
push eax
push 0x407f6c
lea eax, [ebp - 0x54]
push eax
push edi
call fcn.00423229
mov esi, eax
add esp, 0x14
test esi, esi
js 0x41c9ac
cmp dword [ebp - 0x10], 0
je 0x41cb7b
push dword [ebp - 0x10]
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
and dword [ebp - 0x10], 0
lea eax, [ebp - 0x10]
push eax
push 0
push 0x407f4c
lea eax, [ebp - 0xe8]
push eax
push edi
call fcn.004233a1
mov esi, eax
add esp, 0x14
test esi, esi
js 0x41c9ac
mov ecx, dword [ebp - 0x10]
lea edx, [ebp - 0x30]
call fcn.00418e2d
mov esi, eax
test esi, esi
js 0x41c9ac
mov ecx, dword [ebp + 8]
lea edx, [ebp - 0x2c]
call fcn.00418e2d
mov esi, eax
test esi, esi
js 0x41c9ac
mov ecx, dword [ebp + 0xc]
lea edx, [ebp - 0x28]
call fcn.00418e2d
mov esi, eax
test esi, esi
js 0x41c9ac
mov ecx, dword [ebp - 0x1c]
lea edx, [ebp - 0x20]
call fcn.00418e2d
mov esi, eax
test esi, esi
js 0x41c9ac
mov ecx, dword [ebp - 0x14]
lea edx, [ebp - 0x24]
call fcn.00418e2d
mov esi, eax
test esi, esi
js 0x41c9ac
mov esi, dword [ebp - 0x18]
lea eax, [ebp - 0x30]
add esi, 0x168
push eax
mov ecx, esi
call fcn.004149c5
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ecx + 0x1a8]
call fcn.004149c5
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x28]
push eax
lea ecx, [ecx + 0x1a0]
call fcn.004149c5
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x20]
push eax
lea ecx, [ecx + 0x1ac]
call fcn.004149c5
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x24]
push eax
lea ecx, [ecx + 0x1a4]
call fcn.004149c5
mov ecx, dword [ebp - 0x18]
push esi
push dword [esi]
call fcn.0041d7cc
mov esi, eax
test esi, esi
js 0x41c9ac
lea ecx, [ebp - 0xe8]
call fcn.0042324b
mov esi, eax
test esi, esi
js 0x41c9ac
lea eax, [ebp - 0x40]
push eax
push 0x407f80
lea eax, [ebp - 0x54]
push eax
push edi
call fcn.00423346
mov esi, eax
add esp, 0x10
test esi, esi
js 0x41c9ac
xor eax, eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x40], eax
jbe 0x41ce7e
push eax
lea eax, [ebp - 0xac]
push eax
push 0x407fa4
lea eax, [ebp - 0x54]
push eax
push edi
call fcn.00423229
mov esi, eax
add esp, 0x14
test esi, esi
js 0x41c9ac
cmp dword [ebp - 0x10], 0
je 0x41ccfd
push dword [ebp - 0x10]
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
and dword [ebp - 0x10], 0
lea eax, [ebp - 0x10]
push eax
push 0
push 0x407f4c
lea eax, [ebp - 0xac]
push eax
push edi
call fcn.004233a1
mov esi, eax
add esp, 0x14
test esi, esi
js 0x41c9ac
mov ecx, dword [ebp - 0x10]
lea edx, [ebp - 0x30]
call fcn.00418e2d
mov esi, eax
test esi, esi
js 0x41c9ac
mov ecx, dword [ebp + 8]
lea edx, [ebp - 0x2c]
call fcn.00418e2d
mov esi, eax
test esi, esi
js 0x41c9ac
mov ecx, dword [ebp + 0xc]
lea edx, [ebp - 0x28]
call fcn.00418e2d
mov esi, eax
test esi, esi
js 0x41c9ac
mov ecx, dword [ebp - 0x1c]
lea edx, [ebp - 0x20]
call fcn.00418e2d
mov esi, eax
test esi, esi
js 0x41c9ac
mov ecx, dword [ebp - 0x14]
lea edx, [ebp - 0x24]
call fcn.00418e2d
mov esi, eax
test esi, esi
js 0x41c9ac
mov esi, dword [ebp - 0x30]
and dword [ebp - 0x30], 0
mov ecx, dword [ebp - 0x94]
test ecx, ecx
je 0x41cda1
call fcn.00418f57
mov ecx, dword [ebp - 0x84]
mov dword [ebp - 0x94], esi
mov esi, dword [ebp - 0x2c]
and dword [ebp - 0x2c], 0
test ecx, ecx
je 0x41cdbd
call fcn.00418f57
mov ecx, dword [ebp - 0x8c]
mov dword [ebp - 0x84], esi
mov esi, dword [ebp - 0x28]
and dword [ebp - 0x28], 0
test ecx, ecx
je 0x41cdd9
call fcn.00418f57
mov ecx, dword [ebp - 0x80]
mov dword [ebp - 0x8c], esi
mov esi, dword [ebp - 0x20]
and dword [ebp - 0x20], 0
test ecx, ecx
je 0x41cdf2
call fcn.00418f57
mov ecx, dword [ebp - 0x88]
mov dword [ebp - 0x80], esi
mov esi, dword [ebp - 0x24]
and dword [ebp - 0x24], 0
test ecx, ecx
je 0x41ce0b
call fcn.00418f57
push 0
lea ecx, [ebp - 0x78]
mov dword [ebp - 0x88], esi
call fcn.0041fb6b
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x94]
push eax
push dword [ebp - 0x10]
call fcn.0041f051
mov esi, eax
test esi, esi
js 0x41c9ac
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x94]
add ecx, 0x1b0
push eax
push dword [ecx + 4]
call fcn.0041fdb1
mov esi, eax
test esi, esi
js 0x41c9ac
lea ecx, [ebp - 0xac]
call fcn.0042324b
mov esi, eax
test esi, esi
js 0x41c9ac
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp eax, dword [ebp - 0x40]
jb 0x41ccbd
lea eax, [ebp - 0x5c]
push eax
push 0x407fcc
lea eax, [ebp - 0x54]
push eax
push edi
call fcn.00423346
mov esi, eax
add esp, 0x10
test esi, esi
js 0x41c9ac
cmp dword [ebp - 0x5c], 1
jne 0x41cf0c
push 0
lea eax, [ebp - 0xd4]
push eax
push 0x407ff0
lea eax, [ebp - 0x54]
push eax
push edi
call fcn.00423229
mov esi, eax
add esp, 0x14
test esi, esi
js 0x41c9ac
mov eax, dword [ebp - 0x18]
add eax, 0x164
push eax
push 0
push 0
push 0x407f4c
lea eax, [ebp - 0xd4]
push eax
push edi
call fcn.004233c9
mov esi, eax
add esp, 0x18
test esi, esi
js 0x41c9ac
lea ecx, [ebp - 0xd4]
call fcn.0042324b
mov esi, eax
test esi, esi
js 0x41c9ac
jmp 0x41cf16
mov eax, dword [ebp - 0x18]
and dword [eax + 0x164], 0
lea ecx, [ebp - 0x54]
call fcn.0042324b
mov esi, eax
test esi, esi
js 0x41c9ac
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp eax, dword [ebp - 0x3c]
jb 0x41c9e5
mov eax, dword [ebp + 0x10]
mov dword [eax], ebx
lea ecx, [ebp - 0xc0]
call fcn.0042324b
lea ecx, [ebp - 0x54]
call fcn.0042324b
lea ecx, [ebp - 0xe8]
call fcn.0042324b
lea ecx, [ebp - 0xac]
call fcn.0042324b
lea ecx, [ebp - 0xd4]
call fcn.0042324b
mov ecx, esi
call fcn.004190b1
lea ecx, [ebp - 0x94]
call fcn.0041e408
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x41cf8f
call fcn.00418f57
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
je 0x41cf9b
call fcn.00418f57
mov ecx, dword [ebp - 0x24]
test ecx, ecx
je 0x41cfa7
call fcn.00418f57
mov ecx, dword [ebp - 0x28]
test ecx, ecx
je 0x41cfb3
call fcn.00418f57
mov ecx, dword [ebp - 0x30]
test ecx, ecx
je 0x41cfbf
call fcn.00418f57
xor ebx, ebx
cmp dword [ebp - 0x10], ebx
je 0x41cfda
push dword [ebp - 0x10]
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov dword [ebp - 0x10], ebx
cmp dword [ebp - 0x14], 0
je 0x41cff4
push dword [ebp - 0x14]
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov dword [ebp - 0x14], ebx
cmp dword [ebp - 0x1c], 0
je 0x41d00b
push dword [ebp - 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, esi
call fcn.0046ce90
ret 0xc
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.00418df2
mov esi, eax
jmp 0x41c9ac
mov esi, 0x8007000d
jmp 0x41c9ac