Function at 0x40cf84
Capabilities:
Get geographical location
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a8
mov dword [ebp - 0xc], 0
call fcn.004d24e0
mov dword [ebp - 0x178], 0
mov dword [ebp - 0x17c], 0
mov eax, dword [0x11781b0]
test eax, eax
jle 0x40d0b2
mov dword [0x11781b0], 0
mov dword [esp], 0
call fcn.00406f67
sub esp, 4
mov dword [ebp - 0x10], eax
mov dword [0x1177f7c], 0
mov eax, dword [0x1177f8c]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call fcn.004cb5ad
sub esp, 4
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [esp + 8], eax
mov dword [esp + 4], 1
mov dword [esp], 9
call fcn.004b6c87
sub esp, 0xc
mov dword [ebp - 0x1c], eax
mov dword [esp + 4], 0
mov dword [esp], 0x51
call fcn.004b672d
sub esp, 8
mov dword [ebp - 0x20], eax
mov dword [esp + 4], 0
mov dword [esp], 8
call fcn.004b672d
sub esp, 8
mov dword [ebp - 0x24], eax
mov dword [esp + 4], 0
mov dword [esp], 0xa
call fcn.004b672d
sub esp, 8
mov dword [ebp - 0x28], eax
mov dword [esp + 4], 0
mov dword [esp], 0xb
call fcn.004b672d
sub esp, 8
mov dword [ebp - 0x2c], eax
mov dword [esp + 4], 0
mov dword [esp], 0x36
call fcn.004b672d
sub esp, 8
mov dword [ebp - 0x30], eax
mov dword [0x11780d0], 0
mov dword [ebp - 0xc], 0
jmp 0x40db3d
nop
mov eax, dword [0x11780d0]
test eax, eax
jle 0x40d0c8
mov dword [ebp - 0xc], 0
jmp 0x40db3d
nop
mov dword [esp + 4], 1
mov dword [esp], 0x51
call fcn.004b672d
sub esp, 8
mov dword [ebp - 0x34], eax
mov dword [esp + 4], 1
mov dword [esp], 8
call fcn.004b672d
sub esp, 8
mov dword [ebp - 0x38], eax
mov dword [esp + 4], 1
mov dword [esp], 0xa
call fcn.004b672d
sub esp, 8
mov dword [ebp - 0x3c], eax
mov dword [esp + 4], 1
mov dword [esp], 0xb
call fcn.004b672d
sub esp, 8
mov dword [ebp - 0x40], eax
mov dword [0x11780d0], 1
mov dword [0x11781b0], 1
mov dword [esp + 4], 0x115e5ec
mov dword [esp], 9
call fcn.004b6859
sub esp, 8
mov dword [ebp - 0x44], eax
mov dword [esp + 4], 1
mov dword [esp], 9
call fcn.004b672d
sub esp, 8
mov dword [ebp - 0x48], eax
mov dword [esp], 1
call fcn.00406f67
sub esp, 4
mov dword [ebp - 0x4c], eax
mov dword [esp + 4], 0x11781cc
mov dword [esp], 7
call fcn.004b6859
sub esp, 8
mov dword [ebp - 0x50], eax
call fcn.004d2540
mov eax, dword [0x1178094]
mov dword [esp], eax
call fcn.004d2710
sub esp, 4
mov dword [esp], 0x116df88
call fcn.004d2710
sub esp, 4
call fcn.004d2590
mov dword [esp + 4], eax
lea eax, [ebp - 0x178]
mov dword [esp], eax
call fcn.004d2770
sub esp, 8
mov eax, dword [ebp - 0x178]
mov dword [esp], eax
call fcn.004be783
sub esp, 4
mov dword [ebp - 0x54], eax
mov dword [esp], 0
call fcn.004bd123
sub esp, 4
mov dword [ebp - 0x58], eax
mov dword [esp + 4], 1
mov eax, dword [ebp - 0x58]
mov dword [esp], eax
call fcn.0042d2a8
sub esp, 8
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x178]
mov dword [esp + 4], 0
mov dword [esp], eax
call fcn.00412e06
sub esp, 8
mov dword [ebp - 0x60], eax
call fcn.004d2540
call fcn.004d2540
mov eax, dword [ebp - 0x178]
mov dword [esp], eax
call fcn.004d2710
sub esp, 4
mov dword [esp], 0x116f820
call fcn.004d2710
sub esp, 4
call fcn.004d28b0
call fcn.004d2690
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x64]
mov dword [esp + 4], eax
mov dword [esp], 0x6f
call fcn.004bf670
sub esp, 8
mov dword [ebp - 0x68], eax
call fcn.004d25f0
mov dword [ebp - 0x6c], 0xff780c
mov dword [ebp - 0x70], 0x5ffdc
mov eax, dword [ebp - 0x70]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x6c]
mov dword [esp + 4], eax
mov dword [esp], 0x6f
call fcn.004bfdb0
sub esp, 0xc
mov dword [ebp - 0x74], eax
mov dword [esp], 0x6f
call fcn.004bfad0
sub esp, 4
mov dword [ebp - 0x78], eax
mov dword [esp + 4], 0
mov dword [esp], 0x11781cc
call fcn.0045887d
sub esp, 8
mov dword [ebp - 0x7c], eax
mov dword [esp + 4], 0
mov dword [esp], 0x1172e60
call fcn.0045887d
sub esp, 8
mov dword [ebp - 0x80], eax
mov dword [esp + 4], 0
mov dword [esp], 0x11781cc
call fcn.0045887d
sub esp, 8
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x178]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 1
mov dword [esp + 8], eax
mov dword [esp + 4], 0x115f160
mov dword [esp], 0x115d1c0
call fcn.00406737
sub esp, 0x18
mov dword [ebp - 0x88], eax
call fcn.004d2540
call fcn.004d2540
mov eax, dword [ebp - 0x178]
mov dword [esp], eax
call fcn.004d2710
sub esp, 4
mov dword [esp], 0x11608c0
call fcn.004d2710
sub esp, 4
call fcn.004d28b0
call fcn.004d2690
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x8c]
mov dword [esp + 4], eax
mov dword [esp], 0x6f
call fcn.004bf670
sub esp, 8
mov dword [ebp - 0x90], eax
call fcn.004d25f0
mov dword [ebp - 0x94], 0x10577e8
mov dword [ebp - 0x98], 0x5ff9c
mov eax, dword [ebp - 0x98]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x94]
mov dword [esp + 4], eax
mov dword [esp], 0x6f
call fcn.004bfdb0
sub esp, 0xc
mov dword [ebp - 0x9c], eax
mov dword [esp], 0x6f
call fcn.004bfad0
sub esp, 4
mov dword [ebp - 0xa0], eax
mov dword [esp + 4], 0
mov dword [esp], 0x11781cc
call fcn.0045887d
sub esp, 8
mov dword [ebp - 0xa4], eax
mov dword [esp + 4], 0
mov dword [esp], 0x116a140
call fcn.0045887d
sub esp, 8
mov dword [ebp - 0xa8], eax
mov dword [esp + 4], 0
mov dword [esp], 0x11781cc
call fcn.0045887d
sub esp, 8
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0x178]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 1
mov dword [esp + 8], eax
mov dword [esp + 4], 0x116fa20
mov dword [esp], 0x115d1c0
call fcn.00406737
sub esp, 0x18
mov dword [ebp - 0xb0], eax
call fcn.004d2540
call fcn.004d2540
mov eax, dword [ebp - 0x178]
mov dword [esp], eax
call fcn.004d2710
sub esp, 4
mov dword [esp], 0x1162740
call fcn.004d2710
sub esp, 4
call fcn.004d28b0
call fcn.004d2690
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0xb4]
mov dword [esp + 4], eax
mov dword [esp], 0x6f
call fcn.004bf670
sub esp, 8
mov dword [ebp - 0xb8], eax
call fcn.004d25f0
mov dword [ebp - 0xbc], 0xfc842c
mov dword [ebp - 0xc0], 0x28f0a
mov eax, dword [ebp - 0xc0]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0xbc]
mov dword [esp + 4], eax
mov dword [esp], 0x6f
call fcn.004bfdb0
sub esp, 0xc
mov dword [ebp - 0xc4], eax
mov dword [esp], 0x6f
call fcn.004bfad0
sub esp, 4
mov dword [ebp - 0xc8], eax
mov dword [esp + 4], 0
mov dword [esp], 0x11781cc
call fcn.0045887d
sub esp, 8
mov dword [ebp - 0xcc], eax
mov dword [esp + 4], 0
mov dword [esp], 0x1165cc0
call fcn.0045887d
sub esp, 8
mov dword [ebp - 0xd0], eax
mov dword [esp + 4], 0
mov dword [esp], 0x11781cc
call fcn.0045887d
sub esp, 8
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp - 0x178]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 1
mov dword [esp + 8], eax
mov dword [esp + 4], 0x115cac0
mov dword [esp], 0x115d1c0
call fcn.00406737
sub esp, 0x18
mov dword [ebp - 0xd8], eax
call fcn.004d2540
call fcn.004d2540
mov eax, dword [ebp - 0x178]
mov dword [esp], eax
call fcn.004d2710
sub esp, 4
mov dword [esp], 0x1162d40
call fcn.004d2710
sub esp, 4
call fcn.004d28b0
call fcn.004d2690
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp - 0xdc]
mov dword [esp + 4], eax
mov dword [esp], 0x6f
call fcn.004bf670
sub esp, 8
mov dword [ebp - 0xe0], eax
call fcn.004d25f0
mov dword [ebp - 0xe4], 0xff1336
mov dword [ebp - 0xe8], 0x64d6
mov eax, dword [ebp - 0xe8]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0xe4]
mov dword [esp + 4], eax
mov dword [esp], 0x6f
call fcn.004bfdb0
sub esp, 0xc
mov dword [ebp - 0xec], eax
mov dword [esp], 0x6f
call fcn.004bfad0
sub esp, 4
mov dword [ebp - 0xf0], eax
mov dword [esp + 4], 0
mov dword [esp], 0x11781cc
call fcn.0045887d
sub esp, 8
mov dword [ebp - 0xf4], eax
mov dword [esp + 4], 0
mov dword [esp], 0x116cce0
call fcn.0045887d
sub esp, 8
mov dword [ebp - 0xf8], eax
mov dword [esp + 4], 0
mov dword [esp], 0x11781cc
call fcn.0045887d
sub esp, 8
mov dword [ebp - 0xfc], eax
mov eax, dword [ebp - 0x178]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 1
mov dword [esp + 8], eax
mov dword [esp + 4], 0x1161320
mov dword [esp], 0x115d1c0
call fcn.00406737
sub esp, 0x18
mov dword [ebp - 0x100], eax
call fcn.004d2540
call fcn.004d2540
mov eax, dword [0x1178094]
mov dword [esp], eax
call fcn.004d2710
sub esp, 4
mov dword [esp], 0x116df88
call fcn.004d2710
sub esp, 4
call fcn.004d2690
mov dword [ebp - 0x104], eax
mov dword [esp + 8], 3
mov dword [esp + 4], 0x11781cc
mov eax, dword [ebp - 0x104]
mov dword [esp], eax
call fcn.004be803
sub esp, 0xc
mov dword [ebp - 0x108], eax
call fcn.004d25f0
mov dword [esp], 0
call fcn.004bd123
sub esp, 4
mov dword [ebp - 0x10c], eax
mov dword [esp + 4], 0
mov eax, dword [ebp - 0x10c]
mov dword [esp], eax
call fcn.0042d2a8
sub esp, 8
mov dword [ebp - 0x110], eax
mov dword [esp + 4], 0x100
mov dword [esp], 1
call fcn.00461e96
sub esp, 8
mov dword [ebp - 0x114], eax
mov dword [esp + 4], 0x115b158
mov dword [esp], 0x115af60
call fcn.0046150d
sub esp, 8
mov dword [ebp - 0x118], eax
mov dword [esp + 4], 0x115b158
mov dword [esp], 0x1172440
call fcn.0046150d
sub esp, 8
mov dword [ebp - 0x11c], eax
mov dword [esp + 4], 0x115b158
mov dword [esp], 0x1159f00
call fcn.0046150d
sub esp, 8
mov dword [ebp - 0x120], eax
mov dword [esp + 4], 0x115b158
mov dword [esp], 0x1172320
call fcn.0046150d
sub esp, 8
mov dword [ebp - 0x124], eax
mov dword [esp + 4], 0x115b158
mov dword [esp], 0x1164da0
call fcn.0046150d
sub esp, 8
mov dword [ebp - 0x128], eax
mov dword [esp + 4], 0x115b158
mov dword [esp], 0x1163800
call fcn.0046150d
sub esp, 8
mov dword [ebp - 0x12c], eax
call fcn.004d2540
call fcn.004d2540
mov eax, dword [0x1177e08]
mov dword [esp], eax
call fcn.004d2710
sub esp, 4
mov dword [esp], 0x1166108
call fcn.004d2710
sub esp, 4
call fcn.004d28b0
call fcn.004d2690
mov dword [ebp - 0x130], eax
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov eax, dword [ebp - 0x130]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x1168520
mov dword [esp], 0x116c3d4
call fcn.00406737
sub esp, 0x18
mov dword [ebp - 0x134], eax
call fcn.004d25f0
call fcn.004d2540
call fcn.004d2540
mov eax, dword [0x1177dcc]
mov dword [esp], eax
call fcn.004d2710
sub esp, 4
mov dword [esp], 0x1164220
call fcn.004d2710
sub esp, 4
call fcn.004d2690
mov dword [ebp - 0x138], eax
mov eax, dword [ebp - 0x138]
mov dword [esp], eax
call fcn.004bead8
sub esp, 4
mov dword [ebp - 0x140], eax
mov dword [ebp - 0x13c], edx
call fcn.004d25f0
mov eax, dword [ebp - 0x140]
mov edx, dword [ebp - 0x13c]
xor eax, 0xfffffffe
not edx
or eax, edx
test eax, eax
jne 0x40d9e0
call fcn.004d2540
call fcn.004d2540
mov eax, dword [0x1177dcc]
mov dword [esp], eax
call fcn.004d2710
sub esp, 4
mov dword [esp], 0x1164220
call fcn.004d2710
sub esp, 4
call fcn.004d2690
mov dword [ebp - 0x144], eax
mov dword [esp + 8], 3
mov dword [esp + 4], 0x11781cc
mov eax, dword [ebp - 0x144]
mov dword [esp], eax
call fcn.004be803
sub esp, 0xc
mov dword [ebp - 0x148], eax
call fcn.004d25f0
jmp 0x40d9e1
nop
mov dword [esp + 4], 0
mov dword [esp], 0x11670a0
call fcn.0045887d
sub esp, 8
mov dword [ebp - 0x14c], eax
mov dword [esp + 4], 0
mov dword [esp], 0x11781cc
call fcn.0045887d
sub esp, 8
mov dword [ebp - 0x150], eax
mov dword [esp + 4], 0
mov dword [esp], 9
call fcn.004b672d
sub esp, 8
mov dword [ebp - 0x154], eax
mov dword [0x1177f7c], 1
call fcn.004d2540
call fcn.004d2540
call fcn.004d2590
mov dword [esp], eax
call fcn.00461b3d
sub esp, 4
mov dword [ebp - 0x158], eax
call fcn.004d2590
mov dword [esp + 4], eax
lea eax, [ebp - 0x17c]
mov dword [esp], eax
call fcn.004d2770
sub esp, 8
mov eax, dword [0x1177e6c]
mov dword [ebp - 0x15c], eax
mov eax, dword [ebp - 0x17c]
mov dword [esp + 8], 1
mov edx, dword [ebp - 0x15c]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.004cfea0
sub esp, 0xc
mov dword [ebp - 0x160], eax
cmp dword [ebp - 0x160], 0
jle 0x40daf1
mov eax, dword [ebp - 0x17c]
mov dword [esp + 4], eax
mov dword [esp], 0
call sub.USER32.dll_FindWindowW
sub esp, 8
mov dword [ebp - 0x164], eax
mov eax, dword [ebp - 0x164]
mov dword [esp], eax
call sub.USER32.dll_SetForegroundWindow
sub esp, 4
mov dword [ebp - 0x168], eax
jmp 0x40db2b
nop
mov eax, dword [ebp - 0x17c]
mov dword [ebp - 0x16c], eax
mov dword [ebp - 0x170], 0x11781cc
mov eax, dword [ebp - 0x16c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x170]
mov dword [esp], eax
call fcn.004d28e0
test eax, eax
jne 0x40db2a
nop
jmp 0x40da42
nop
call fcn.00459a4e
mov dword [ebp - 0x174], eax
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 0x178]
mov dword [esp], eax
call fcn.004d2920
sub esp, 4
mov eax, dword [ebp - 0x17c]
mov dword [esp], eax
call fcn.004d2920
sub esp, 4
mov eax, dword [ebp - 0xc]
leave
ret 4