Function at 0x408bb8
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff04
push ebx
mov eax, 0x59f900
call fcn.0057c5c8
mov word [ebp - 0xe0], 0x14
lea eax, [ebp - 4]
call fcn.004025f4
mov edx, eax
inc dword [ebp - 0xd4]
mov ecx, dword [sym.imp.vcl60.bpl__Forms_Application]
mov eax, dword [ecx]
call sub.vcl60.bpl__Forms_TApplication_GetExeName_qqrv
lea edx, [ebp - 4]
push dword [edx]
lea eax, [ebp - 8]
call fcn.004025f4
mov edx, eax
inc dword [ebp - 0xd4]
pop eax
call sub.rtl60.bpl__Sysutils_ExtractFilePath_qqrx17System_AnsiString
lea edx, [ebp - 8]
push edx
lea eax, [ebp - 0x10]
call fcn.004025f4
push eax
inc dword [ebp - 0xd4]
mov edx, 0x59d918
lea eax, [ebp - 0xc]
call fcn.0058f82c
inc dword [ebp - 0xd4]
lea edx, [ebp - 0xc]
pop ecx
pop eax
call fcn.0058fb5c
lea ecx, [ebp - 0x10]
mov ecx, dword [ecx]
mov dl, 1
mov eax, dword [sym.imp.rtl60.bpl__Inifiles_TIniFile_]
call fcn.004096cc
mov dword [ebp - 0xf4], eax
dec dword [ebp - 0xd4]
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.0058fb04
dec dword [ebp - 0xd4]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.0058fb04
dec dword [ebp - 0xd4]
lea eax, [ebp - 8]
mov edx, 2
call fcn.0058fb04
dec dword [ebp - 0xd4]
lea eax, [ebp - 4]
mov edx, 2
call fcn.0058fb04
mov word [ebp - 0xe0], 8
lea eax, [ebp - 0x1c]
call fcn.004025f4
mov edx, eax
inc dword [ebp - 0xd4]
mov ecx, dword [sym.imp.vcl60.bpl__Forms_Application]
mov eax, dword [ecx]
call sub.vcl60.bpl__Forms_TApplication_GetExeName_qqrv
lea edx, [ebp - 0x1c]
push dword [edx]
lea eax, [ebp - 0x20]
call fcn.004025f4
push eax
inc dword [ebp - 0xd4]
call fcn.0043555c
add esp, 8
lea edx, [ebp - 0x20]
push dword [edx]
mov edx, 0x59d92b
lea eax, [ebp - 0x18]
call fcn.0058f82c
inc dword [ebp - 0xd4]
push dword [eax]
mov word [ebp - 0xe0], 0x20
mov edx, 0x59d923
lea eax, [ebp - 0x14]
call fcn.0058f82c
inc dword [ebp - 0xd4]
mov edx, dword [eax]
mov eax, dword [ebp - 0xf4]
pop ecx
mov ebx, dword [eax]
call dword [ebx + 4]
dec dword [ebp - 0xd4]
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.0058fb04
dec dword [ebp - 0xd4]
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.0058fb04
dec dword [ebp - 0xd4]
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.0058fb04
dec dword [ebp - 0xd4]
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.0058fb04
push 1
mov edx, 0x59d93b
lea eax, [ebp - 0x28]
call fcn.0058f82c
inc dword [ebp - 0xd4]
push dword [eax]
mov word [ebp - 0xe0], 0x2c
mov edx, 0x59d933
lea eax, [ebp - 0x24]
call fcn.0058f82c
inc dword [ebp - 0xd4]
mov edx, dword [eax]
mov eax, dword [ebp - 0xf4]
pop ecx
mov ebx, dword [eax]
call dword [ebx + 0xc]
dec dword [ebp - 0xd4]
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.0058fb04
dec dword [ebp - 0xd4]
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.0058fb04
add esp, 0xfffffff8
call sub.rtl60.bpl__Sysutils_Date_qqrv
fstp qword [ebp - 0xfc]
lea eax, [ebp - 0xfc]
mov edx, 0x3c
call fcn.00409778
fstp qword [esp]
lea eax, [ebp - 0x38]
call fcn.004025f4
push eax
inc dword [ebp - 0xd4]
mov edx, 0x59d957
lea eax, [ebp - 0x34]
call fcn.0058f82c
inc dword [ebp - 0xd4]
mov eax, dword [eax]
pop edx
call sub.rtl60.bpl__Sysutils_FormatDateTime_qqrx17System_AnsiString16System_TDateTime
lea ecx, [ebp - 0x38]
push dword [ecx]
mov edx, 0x59d94a
lea eax, [ebp - 0x30]
call fcn.0058f82c
inc dword [ebp - 0xd4]
push dword [eax]
mov word [ebp - 0xe0], 0x38
mov edx, 0x59d942
lea eax, [ebp - 0x2c]
call fcn.0058f82c
inc dword [ebp - 0xd4]
mov edx, dword [eax]
mov eax, dword [ebp - 0xf4]
pop ecx
mov ebx, dword [eax]
call dword [ebx + 4]
dec dword [ebp - 0xd4]
lea eax, [ebp - 0x38]
mov edx, 2
call fcn.0058fb04
dec dword [ebp - 0xd4]
lea eax, [ebp - 0x34]
mov edx, 2
call fcn.0058fb04
dec dword [ebp - 0xd4]
lea eax, [ebp - 0x30]
mov edx, 2
call fcn.0058fb04
dec dword [ebp - 0xd4]
lea eax, [ebp - 0x2c]
mov edx, 2
call fcn.0058fb04
lea eax, [ebp - 0x44]
call fcn.004025f4
mov edx, eax
inc dword [ebp - 0xd4]
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x344]
call sub.vcl60.bpl__Controls_TControl_GetText_qqrv
lea edx, [ebp - 0x44]
push dword [edx]
mov edx, 0x59d96a
lea eax, [ebp - 0x40]
call fcn.0058f82c
inc dword [ebp - 0xd4]
push dword [eax]
mov word [ebp - 0xe0], 0x44
mov edx, 0x59d962
lea eax, [ebp - 0x3c]
call fcn.0058f82c
inc dword [ebp - 0xd4]
mov edx, dword [eax]
mov eax, dword [ebp - 0xf4]
pop ecx
mov ebx, dword [eax]
call dword [ebx + 4]
dec dword [ebp - 0xd4]
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.0058fb04
dec dword [ebp - 0xd4]
lea eax, [ebp - 0x40]
mov edx, 2
call fcn.0058fb04
dec dword [ebp - 0xd4]
lea eax, [ebp - 0x3c]
mov edx, 2
call fcn.0058fb04
lea eax, [ebp - 0x50]
call fcn.004025f4
mov edx, eax
inc dword [ebp - 0xd4]
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x348]
call sub.vcl60.bpl__Controls_TControl_GetText_qqrv
lea edx, [ebp - 0x50]
push dword [edx]
mov edx, 0x59d97a
lea eax, [ebp - 0x4c]
call fcn.0058f82c
inc dword [ebp - 0xd4]
push dword [eax]
mov word [ebp - 0xe0], 0x50
mov edx, 0x59d972
lea eax, [ebp - 0x48]
call fcn.0058f82c
inc dword [ebp - 0xd4]
mov edx, dword [eax]
mov eax, dword [ebp - 0xf4]
pop ecx
mov ebx, dword [eax]
call dword [ebx + 4]
dec dword [ebp - 0xd4]
lea eax, [ebp - 0x50]
mov edx, 2
call fcn.0058fb04
dec dword [ebp - 0xd4]
lea eax, [ebp - 0x4c]
mov edx, 2
call fcn.0058fb04
dec dword [ebp - 0xd4]
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.0058fb04
lea eax, [ebp - 0x5c]
call fcn.004025f4
mov edx, eax
inc dword [ebp - 0xd4]
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x34c]
call sub.vcl60.bpl__Controls_TControl_GetText_qqrv
lea edx, [ebp - 0x5c]
push dword [edx]
mov edx, 0x59d98a
lea eax, [ebp - 0x58]
call fcn.0058f82c
inc dword [ebp - 0xd4]
push dword [eax]
mov word [ebp - 0xe0], 0x5c
mov edx, 0x59d982
lea eax, [ebp - 0x54]
call fcn.0058f82c
inc dword [ebp - 0xd4]
mov edx, dword [eax]
mov eax, dword [ebp - 0xf4]
pop ecx
mov ebx, dword [eax]
call dword [ebx + 4]
dec dword [ebp - 0xd4]
lea eax, [ebp - 0x5c]
mov edx, 2
call fcn.0058fb04
dec dword [ebp - 0xd4]
lea eax, [ebp - 0x58]
mov edx, 2
call fcn.0058fb04
dec dword [ebp - 0xd4]
lea eax, [ebp - 0x54]
mov edx, 2
call fcn.0058fb04
lea eax, [ebp - 0x68]
call fcn.004025f4
mov edx, eax
inc dword [ebp - 0xd4]
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x40c]
call sub.vcl60.bpl__Controls_TControl_GetText_qqrv
lea edx, [ebp - 0x68]
push dword [edx]
mov edx, 0x59d99d
lea eax, [ebp - 0x64]
call fcn.0058f82c
inc dword [ebp - 0xd4]
push dword [eax]
mov word [ebp - 0xe0], 0x68
mov edx, 0x59d995
lea eax, [ebp - 0x60]
call fcn.0058f82c
inc dword [ebp - 0xd4]
mov edx, dword [eax]
mov eax, dword [ebp - 0xf4]
pop ecx
mov ebx, dword [eax]
call dword [ebx + 4]
dec dword [ebp - 0xd4]
lea eax, [ebp - 0x68]
mov edx, 2
call fcn.0058fb04
dec dword [ebp - 0xd4]
lea eax, [ebp - 0x64]
mov edx, 2
call fcn.0058fb04
dec dword [ebp - 0xd4]
lea eax, [ebp - 0x60]
mov edx, 2
call fcn.0058fb04
lea eax, [ebp - 0x74]
call fcn.004025f4
mov edx, eax
inc dword [ebp - 0xd4]
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x404]
call sub.vcl60.bpl__Controls_TControl_GetText_qqrv
lea edx, [ebp - 0x74]
push dword [edx]
mov edx, 0x59d9ad
lea eax, [ebp - 0x70]
call fcn.0058f82c
inc dword [ebp - 0xd4]
push dword [eax]
mov word [ebp - 0xe0], 0x74
mov edx, 0x59d9a5
lea eax, [ebp - 0x6c]
call fcn.0058f82c
inc dword [ebp - 0xd4]
mov edx, dword [eax]
mov eax, dword [ebp - 0xf4]
pop ecx
mov ebx, dword [eax]
call dword [ebx + 4]
dec dword [ebp - 0xd4]
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.0058fb04
dec dword [ebp - 0xd4]
lea eax, [ebp - 0x70]
mov edx, 2
call fcn.0058fb04
dec dword [ebp - 0xd4]
lea eax, [ebp - 0x6c]
mov edx, 2
call fcn.0058fb04
lea eax, [ebp - 0x80]
call fcn.004025f4
mov edx, eax
inc dword [ebp - 0xd4]
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x350]
call sub.vcl60.bpl__Controls_TControl_GetText_qqrv
lea edx, [ebp - 0x80]
push dword [edx]
mov edx, 0x59d9b9
lea eax, [ebp - 0x7c]
call fcn.0058f82c
inc dword [ebp - 0xd4]
push dword [eax]
mov word [ebp - 0xe0], pe_nt_image_headers32
mov edx, 0x59d9b1
lea eax, [ebp - 0x78]
call fcn.0058f82c
inc dword [ebp - 0xd4]
mov edx, dword [eax]
mov eax, dword [ebp - 0xf4]
pop ecx
mov ebx, dword [eax]
call dword [ebx + 4]
dec dword [ebp - 0xd4]
lea eax, [ebp - 0x80]
mov edx, 2
call fcn.0058fb04
dec dword [ebp - 0xd4]
lea eax, [ebp - 0x7c]
mov edx, 2
call fcn.0058fb04
dec dword [ebp - 0xd4]
lea eax, [ebp - 0x78]
mov edx, 2
call fcn.0058fb04
lea eax, [ebp - 0x8c]
call fcn.004025f4
mov edx, eax
inc dword [ebp - 0xd4]
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x354]
call sub.vcl60.bpl__Controls_TControl_GetText_qqrv
lea edx, [ebp - 0x8c]
push dword [edx]
mov edx, 0x59d9cd
lea eax, [ebp - 0x88]
call fcn.0058f82c
inc dword [ebp - 0xd4]
push dword [eax]
mov word [ebp - 0xe0], 0x8c
mov edx, 0x59d9c5
lea eax, [ebp - 0x84]
call fcn.0058f82c
inc dword [ebp - 0xd4]
mov edx, dword [eax]
mov eax, dword [ebp - 0xf4]
pop ecx
mov ebx, dword [eax]
call dword [ebx + 4]
dec dword [ebp - 0xd4]
lea eax, [ebp - 0x8c]
mov edx, 2
call fcn.0058fb04
dec dword [ebp - 0xd4]
lea eax, [ebp - 0x88]
mov edx, 2
call fcn.0058fb04
dec dword [ebp - 0xd4]
lea eax, [ebp - 0x84]
mov edx, 2
call fcn.0058fb04
lea eax, [ebp - 0x98]
call fcn.004025f4
mov edx, eax
inc dword [ebp - 0xd4]
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x364]
call sub.vcl60.bpl__Controls_TControl_GetText_qqrv
lea edx, [ebp - 0x98]
push dword [edx]
mov edx, 0x59d9db
lea eax, [ebp - 0x94]
call fcn.0058f82c
inc dword [ebp - 0xd4]
push dword [eax]
mov word [ebp - 0xe0], 0x98
mov edx, 0x59d9d3
lea eax, [ebp - 0x90]
call fcn.0058f82c
inc dword [ebp - 0xd4]
mov edx, dword [eax]
mov eax, dword [ebp - 0xf4]
pop ecx
mov ebx, dword [eax]
call dword [ebx + 4]
dec dword [ebp - 0xd4]
lea eax, [ebp - 0x98]
mov edx, 2
call fcn.0058fb04
dec dword [ebp - 0xd4]
lea eax, [ebp - 0x94]
mov edx, 2
call fcn.0058fb04
dec dword [ebp - 0xd4]
lea eax, [ebp - 0x90]
mov edx, 2
call fcn.0058fb04
lea eax, [ebp - 0xa4]
call fcn.004025f4
mov edx, eax
inc dword [ebp - 0xd4]
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x368]
call sub.vcl60.bpl__Controls_TControl_GetText_qqrv
lea edx, [ebp - 0xa4]
push dword [edx]
mov edx, 0x59d9e9
lea eax, [ebp - 0xa0]
call fcn.0058f82c
inc dword [ebp - 0xd4]
push dword [eax]
mov word [ebp - 0xe0], 0xa4
mov edx, 0x59d9e1
lea eax, [ebp - 0x9c]
call fcn.0058f82c
inc dword [ebp - 0xd4]
mov edx, dword [eax]
mov eax, dword [ebp - 0xf4]
pop ecx
mov ebx, dword [eax]
call dword [ebx + 4]
dec dword [ebp - 0xd4]
lea eax, [ebp - 0xa4]
mov edx, 2
call fcn.0058fb04
dec dword [ebp - 0xd4]
lea eax, [ebp - 0xa0]
mov edx, 2
call fcn.0058fb04
dec dword [ebp - 0xd4]
lea eax, [ebp - 0x9c]
mov edx, 2
call fcn.0058fb04
lea eax, [ebp - 0xb0]
call fcn.004025f4
mov edx, eax
inc dword [ebp - 0xd4]
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x36c]
call sub.vcl60.bpl__Controls_TControl_GetText_qqrv
lea edx, [ebp - 0xb0]
push dword [edx]
mov edx, 0x59d9fa
lea eax, [ebp - 0xac]
call fcn.0058f82c
inc dword [ebp - 0xd4]
push dword [eax]
mov word [ebp - 0xe0], 0xb0
mov edx, 0x59d9f2
lea eax, [ebp - 0xa8]
call fcn.0058f82c
inc dword [ebp - 0xd4]
mov edx, dword [eax]
mov eax, dword [ebp - 0xf4]
pop ecx
mov ebx, dword [eax]
call dword [ebx + 4]
dec dword [ebp - 0xd4]
lea eax, [ebp - 0xb0]
mov edx, 2
call fcn.0058fb04
dec dword [ebp - 0xd4]
lea eax, [ebp - 0xac]
mov edx, 2
call fcn.0058fb04
dec dword [ebp - 0xd4]
lea eax, [ebp - 0xa8]
mov edx, 2
call fcn.0058fb04
push dword [ebp + 8]
lea eax, [ebp - 0xbc]
call fcn.004025f4
push eax
inc dword [ebp - 0xd4]
call fcn.004088f0
add esp, 8
lea edx, [ebp - 0xbc]
push dword [edx]
mov edx, 0x59da07
lea eax, [ebp - 0xb8]
call fcn.0058f82c
inc dword [ebp - 0xd4]
push dword [eax]
mov word [ebp - 0xe0], 0xbc
mov edx, 0x59d9ff
lea eax, [ebp - 0xb4]
call fcn.0058f82c
inc dword [ebp - 0xd4]
mov edx, dword [eax]
mov eax, dword [ebp - 0xf4]
pop ecx
mov ebx, dword [eax]
call dword [ebx + 4]
dec dword [ebp - 0xd4]
lea eax, [ebp - 0xbc]
mov edx, 2
call fcn.0058fb04
dec dword [ebp - 0xd4]
lea eax, [ebp - 0xb8]
mov edx, 2
call fcn.0058fb04
dec dword [ebp - 0xd4]
lea eax, [ebp - 0xb4]
mov edx, 2
call fcn.0058fb04
mov ecx, dword [ebp - 0xf4]
mov dword [ebp - 0xc4], ecx
cmp dword [ebp - 0xc4], 0
je 0x409607
mov eax, dword [ebp - 0xc4]
mov edx, dword [eax]
mov dword [ebp - 0xc0], edx
mov word [ebp - 0xe0], 0xd4
mov edx, 3
mov eax, dword [ebp - 0xc4]
mov ecx, dword [eax]
call dword [ecx - 4]
mov word [ebp - 0xe0], 0xc8
mov word [ebp - 0xe0], 0xe0
push dword [ebp + 8]
lea eax, [ebp - 0xc8]
call fcn.004025f4
push eax
inc dword [ebp - 0xd4]
call fcn.004088f0
add esp, 8
lea edx, [ebp - 0xc8]
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x440]
add eax, 0x1c
call fcn.0058fb34
dec dword [ebp - 0xd4]
lea eax, [ebp - 0xc8]
mov edx, 2
call fcn.0058fb04
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x440]
mov byte [eax], 1
mov word [ebp - 0xe0], 0xec
push dword [ebp + 8]
lea eax, [ebp - 0xcc]
call fcn.004025f4
push eax
inc dword [ebp - 0xd4]
call fcn.004088f0
add esp, 8
lea edx, [ebp - 0xcc]
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x440]
add eax, 4
call fcn.0058fb34
dec dword [ebp - 0xd4]
lea eax, [ebp - 0xcc]
mov edx, 2
call fcn.0058fb04
mov ecx, dword [ebp - 0xf0]
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret