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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb8
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x18]
mov eax, dword [ebp + 0x1c]
mov byte [ebp - 0x9c], cl
mov byte [ebp - 0xa0], dl
mov byte [ebp - 0xa4], al
mov dword [ebp - 0x10], 0
call fcn.00486830
mov eax, dword [ebp + 8]
mov dword [esp + 4], eax
lea eax, [ebp + 8]
mov dword [esp], eax
call fcn.004868c0
sub esp, 8
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
lea eax, [ebp + 0xc]
mov dword [esp], eax
call fcn.004868c0
sub esp, 8
mov eax, dword [ebp + 0x10]
mov dword [esp + 4], eax
lea eax, [ebp + 0x10]
mov dword [esp], eax
call fcn.004868c0
sub esp, 8
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [esp + 4], 0xd902d0
mov dword [esp], 0xd8fde8
call fcn.00486910
sub esp, 8
call fcn.00486a20
call fcn.00486a20
call fcn.00486a40
mov dword [esp + 4], eax
mov dword [esp], 0x3e7
call fcn.004857f0
sub esp, 8
call fcn.00486a40
mov dword [esp + 4], eax
lea eax, [ebp - 0x8c]
mov dword [esp], eax
call fcn.00486790
sub esp, 8
call fcn.00486a20
call fcn.00486a20
call fcn.00486a20
call fcn.00486a40
mov edx, dword [ebp + 8]
mov dword [esp + 8], eax
mov dword [esp + 4], 0xd6d5c4
mov dword [esp], edx
call fcn.004853d0
sub esp, 0xc
call fcn.00486ae0
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x8c]
mov dword [esp + 8], 0x3e7
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
call sub.KERNEL32.dll_GetShortPathNameW
sub esp, 0xc
mov dword [ebp - 0x24], eax
call fcn.00486a80
call fcn.00486a20
call fcn.00486a20
call fcn.00486a40
mov edx, dword [ebp - 0x8c]
mov dword [esp + 8], eax
mov dword [esp + 4], 1
mov dword [esp], edx
call fcn.00484eb0
sub esp, 0xc
call fcn.004869d0
call fcn.00486ab0
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], 0xd6d478
mov eax, dword [ebp - 0x28]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x2c]
mov dword [esp], eax
call fcn.00486b40
test eax, eax
jne 0x405742
call fcn.00486a20
mov eax, dword [ebp - 0x8c]
mov dword [esp], eax
call fcn.00486870
sub esp, 4
call fcn.00486a40
mov dword [esp + 4], eax
lea eax, [ebp + 8]
mov dword [esp], eax
call fcn.00486790
sub esp, 8
jmp 0x405743
nop
call fcn.00486a20
call fcn.00486a20
call fcn.00486a40
mov edx, dword [ebp + 8]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0xd885f4
mov dword [esp + 4], 0xd6d6e0
mov dword [esp], edx
call fcn.00485750
sub esp, 0x10
call fcn.00486a40
mov dword [esp + 4], eax
lea eax, [ebp + 8]
mov dword [esp], eax
call fcn.00486790
sub esp, 8
call fcn.00486a20
call fcn.00486a20
call fcn.00486a40
mov edx, dword [ebp + 8]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0xd894d0
mov dword [esp + 4], 0xd6e4c0
mov dword [esp], edx
call fcn.00485750
sub esp, 0x10
call fcn.00486a40
mov dword [esp + 4], eax
lea eax, [ebp + 8]
mov dword [esp], eax
call fcn.00486790
sub esp, 8
call fcn.00486a20
call fcn.00486a20
call fcn.00486a40
mov edx, dword [ebp + 8]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0xd886b4
mov dword [esp + 4], 0xd6d7e8
mov dword [esp], edx
call fcn.00485750
sub esp, 0x10
call fcn.00486a40
mov dword [esp + 4], eax
lea eax, [ebp + 8]
mov dword [esp], eax
call fcn.00486790
sub esp, 8
call fcn.00486a20
call fcn.00486a20
call fcn.00486a40
mov edx, dword [ebp + 8]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0xd887ac
mov dword [esp + 4], 0xd6d908
mov dword [esp], edx
call fcn.00485750
sub esp, 0x10
call fcn.00486a40
mov dword [esp + 4], eax
lea eax, [ebp + 8]
mov dword [esp], eax
call fcn.00486790
sub esp, 8
call fcn.00486a20
call fcn.00486a20
call fcn.00486a40
mov edx, dword [ebp + 8]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0xd8b024
mov dword [esp + 4], 0xd700c4
mov dword [esp], edx
call fcn.00485750
sub esp, 0x10
call fcn.00486a40
mov dword [esp + 4], eax
lea eax, [ebp + 8]
mov dword [esp], eax
call fcn.00486790
sub esp, 8
call fcn.00486a20
call fcn.00486a20
call fcn.00486a40
mov edx, dword [ebp + 8]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0xd8b09c
mov dword [esp + 4], 0xd70164
mov dword [esp], edx
call fcn.00485750
sub esp, 0x10
call fcn.00486a40
mov dword [esp + 4], eax
lea eax, [ebp + 8]
mov dword [esp], eax
call fcn.00486790
sub esp, 8
mov eax, dword [ebp + 8]
mov dword [esp + 4], 0xd6d478
mov dword [esp], eax
call fcn.00484d70
sub esp, 8
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jle 0x40597b
mov eax, dword [ebp + 8]
mov dword [esp + 4], 0xd6d5c4
mov dword [esp], eax
call fcn.00484d70
sub esp, 8
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 1
je 0x40597e
call fcn.00486a20
mov dword [esp], 0xd6d5c4
call fcn.00486870
sub esp, 4
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.00486870
sub esp, 4
mov dword [esp], 0xd6d5c4
call fcn.00486870
sub esp, 4
call fcn.00486a40
mov dword [esp + 4], eax
lea eax, [ebp + 8]
mov dword [esp], eax
call fcn.00486790
sub esp, 8
jmp 0x40597f
nop
jmp 0x40597f
nop
call fcn.00486a20
call fcn.00486a20
mov dword [esp], 0xd6d47c
call fcn.00486870
sub esp, 4
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.00486870
sub esp, 4
mov dword [esp], 0xd6d478
call fcn.00486870
sub esp, 4
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call fcn.00486870
sub esp, 4
call fcn.004869d0
call fcn.00486a20
mov eax, dword [0xd8fdc8]
mov dword [esp], eax
call fcn.00486870
sub esp, 4
mov dword [esp], str.cmd.exe
call fcn.00486870
sub esp, 4
call fcn.00486ae0
mov dword [ebp - 0x38], eax
call fcn.00486ae0
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0xc], 0xe
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x3c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x38]
mov dword [esp], eax
call fcn.004769ee
sub esp, 0x10
mov dword [ebp - 0x40], eax
call fcn.00486a80
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x405c95
mov dword [esp], 0x9c40
call fcn.00485f30
sub esp, 4
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
mov dword [esp], eax
call fcn.004763b6
sub esp, 4
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
je 0x405c50
mov eax, dword [ebp - 0x18]
mov dword [esp], eax
call fcn.0047604c
sub esp, 4
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x405c3e
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x14]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x50]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x18]
mov dword [esp], eax
call fcn.004763f8
sub esp, 0xc
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x405c44
call fcn.00486a20
call fcn.00486a20
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x58], eax
call fcn.00486a40
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x18
mov eax, dword [ebp - 0x14]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x58]
mov dword [esp], eax
call fcn.004860b0
sub esp, 0x10
call fcn.00486a40
mov dword [esp + 4], eax
lea eax, [ebp - 0x88]
mov dword [esp], eax
call fcn.00486790
sub esp, 8
cmp byte [ebp - 0x9c], 1
jne 0x405bd4
cmp byte [ebp - 0xa0], 1
jne 0x405b7f
call fcn.00486a20
call fcn.00486a20
call fcn.00486a20
call fcn.00486a40
mov edx, dword [ebp - 0x88]
mov dword [esp + 4], eax
mov dword [esp], edx
call fcn.00404021
sub esp, 8
mov dword [ebp - 0x5c], eax
call fcn.00486ae0
mov dword [ebp - 0x60], eax
mov dword [esp + 4], 1
mov eax, dword [ebp - 0x60]
mov dword [esp], eax
call fcn.0042eec4
sub esp, 8
mov dword [ebp - 0x64], eax
call fcn.00486a80
nop
jmp 0x405c4b
nop
call fcn.00486a20
call fcn.00486a20
call fcn.00486a20
call fcn.00486a40
mov edx, dword [ebp - 0x88]
mov dword [esp + 4], eax
mov dword [esp], edx
call fcn.00404021
sub esp, 8
mov dword [ebp - 0x68], eax
call fcn.00486ae0
mov dword [ebp - 0x6c], eax
mov dword [esp + 4], 0
mov eax, dword [ebp - 0x6c]
mov dword [esp], eax
call fcn.0042eec4
sub esp, 8
mov dword [ebp - 0x70], eax
call fcn.00486a80
jmp 0x405c4b
nop
nop
cmp byte [ebp - 0x9c], 0
jne 0x405c4a
nop
call fcn.00486a20
mov eax, dword [0xd8fde8]
mov dword [esp], eax
call fcn.00486870
sub esp, 4
call fcn.00486a20
call fcn.00486a20
call fcn.00486a40
mov edx, dword [ebp - 0x88]
mov dword [esp + 4], eax
mov dword [esp], edx
call fcn.00404021
sub esp, 8
mov dword [ebp - 0x74], eax
call fcn.00486a40
call fcn.00486a40
mov dword [esp + 4], eax
mov dword [esp], 0xd8fde8
call fcn.00486790
sub esp, 8
jmp 0x405a50
nop
jmp 0x405a50
nop
jmp 0x405a50
nop
jmp 0x405a50
nop
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x78]
mov dword [esp], eax
call fcn.00486010
sub esp, 4
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x18]
mov dword [esp], eax
call fcn.0047633b
sub esp, 4
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
mov dword [esp], eax
call fcn.00476070
sub esp, 4
mov dword [ebp - 0x84], eax
jmp 0x405c96
nop
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
nop
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call fcn.004869a0
sub esp, 4
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.004869a0
sub esp, 4
mov eax, dword [ebp - 0x88]
mov dword [esp], eax
call fcn.004869a0
sub esp, 4
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
call fcn.004869a0
sub esp, 4
mov eax, dword [ebp - 0x8c]
mov dword [esp], eax
call fcn.004869a0
sub esp, 4
mov eax, dword [ebp - 0x10]
leave
ret 0x18