Function at 0x404d08
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff54
mov eax, 0x59e664
call fcn.0057c5c8
mov word [ebp - 0x90], 0x14
mov edx, dword [ebp + 8]
mov edx, dword [edx + 0x440]
add edx, 0x1c
lea eax, [ebp - 4]
call fcn.0058f864
inc dword [ebp - 0x84]
mov word [ebp - 0x90], 8
mov word [ebp - 0x90], 0x20
lea eax, [ebp - 0x14]
call fcn.004025f4
push eax
inc dword [ebp - 0x84]
lea eax, [ebp - 4]
mov ecx, 4
mov edx, 1
call fcn.00590020
lea edx, [ebp - 0x14]
mov edx, dword [edx]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x340]
call sub.vcl60.bpl__Controls_TControl_SetText_qqrx17System_AnsiString
dec dword [ebp - 0x84]
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.0058fb04
mov word [ebp - 0x90], 0x2c
lea eax, [ebp - 0x18]
call fcn.004025f4
push eax
inc dword [ebp - 0x84]
lea eax, [ebp - 4]
mov ecx, 4
mov edx, 5
call fcn.00590020
lea edx, [ebp - 0x18]
mov edx, dword [edx]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x358]
call sub.vcl60.bpl__Controls_TControl_SetText_qqrx17System_AnsiString
dec dword [ebp - 0x84]
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.0058fb04
mov word [ebp - 0x90], 0x38
lea eax, [ebp - 0x1c]
call fcn.004025f4
push eax
inc dword [ebp - 0x84]
lea eax, [ebp - 4]
mov ecx, 4
mov edx, 9
call fcn.00590020
lea edx, [ebp - 0x1c]
mov edx, dword [edx]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x35c]
call sub.vcl60.bpl__Controls_TControl_SetText_qqrx17System_AnsiString
dec dword [ebp - 0x84]
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.0058fb04
mov word [ebp - 0x90], 0x44
lea eax, [ebp - 0x20]
call fcn.004025f4
push eax
inc dword [ebp - 0x84]
lea eax, [ebp - 4]
mov ecx, 4
mov edx, 0xd
call fcn.00590020
lea edx, [ebp - 0x20]
mov edx, dword [edx]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x360]
call sub.vcl60.bpl__Controls_TControl_SetText_qqrx17System_AnsiString
dec dword [ebp - 0x84]
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.0058fb04
mov word [ebp - 0x90], 0x50
push 0xea60
mov edx, 0x59d3db
lea eax, [ebp - 0x24]
call fcn.0058f82c
inc dword [ebp - 0x84]
push dword [eax]
mov edx, 0x59d3d0
lea eax, [ebp - 0x28]
call fcn.0058f82c
inc dword [ebp - 0x84]
push dword [eax]
lea eax, [ebp - 8]
call fcn.004025f4
push eax
inc dword [ebp - 0x84]
call sym.SDERPServer.exe__TCPInvoke_q17System_AnsiStringt1i
add esp, 0x10
dec dword [ebp - 0x84]
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.0058fb04
dec dword [ebp - 0x84]
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.0058fb04
mov word [ebp - 0x90], 8
mov dl, 1
mov eax, dword [sym.imp.rtl60.bpl__Classes_TStringList_]
call fcn.004054a8
mov dword [ebp - 0xa4], eax
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xa4]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov word [ebp - 0x90], 0x5c
lea eax, [ebp - 0x30]
call fcn.004025f4
push eax
inc dword [ebp - 0x84]
mov edx, 0x59d3dc
lea eax, [ebp - 0x2c]
call fcn.0058f82c
inc dword [ebp - 0x84]
mov edx, dword [eax]
mov eax, dword [ebp - 0xa4]
pop ecx
call sub.rtl60.bpl__Classes_TStrings_GetValue_qqrx17System_AnsiString
lea edx, [ebp - 0x30]
mov edx, dword [edx]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x344]
call sub.vcl60.bpl__Controls_TControl_SetText_qqrx17System_AnsiString
dec dword [ebp - 0x84]
lea eax, [ebp - 0x30]
mov edx, 2
call fcn.0058fb04
dec dword [ebp - 0x84]
lea eax, [ebp - 0x2c]
mov edx, 2
call fcn.0058fb04
mov word [ebp - 0x90], 0x68
lea eax, [ebp - 0x38]
call fcn.004025f4
push eax
inc dword [ebp - 0x84]
mov edx, 0x59d3e4
lea eax, [ebp - 0x34]
call fcn.0058f82c
inc dword [ebp - 0x84]
mov edx, dword [eax]
mov eax, dword [ebp - 0xa4]
pop ecx
call sub.rtl60.bpl__Classes_TStrings_GetValue_qqrx17System_AnsiString
lea edx, [ebp - 0x38]
mov edx, dword [edx]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x348]
call sub.vcl60.bpl__Controls_TControl_SetText_qqrx17System_AnsiString
dec dword [ebp - 0x84]
lea eax, [ebp - 0x38]
mov edx, 2
call fcn.0058fb04
dec dword [ebp - 0x84]
lea eax, [ebp - 0x34]
mov edx, 2
call fcn.0058fb04
mov word [ebp - 0x90], 0x74
lea eax, [ebp - 0x40]
call fcn.004025f4
push eax
inc dword [ebp - 0x84]
mov edx, 0x59d3ec
lea eax, [ebp - 0x3c]
call fcn.0058f82c
inc dword [ebp - 0x84]
mov edx, dword [eax]
mov eax, dword [ebp - 0xa4]
pop ecx
call sub.rtl60.bpl__Classes_TStrings_GetValue_qqrx17System_AnsiString
lea edx, [ebp - 0x40]
mov edx, dword [edx]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x34c]
call sub.vcl60.bpl__Controls_TControl_SetText_qqrx17System_AnsiString
dec dword [ebp - 0x84]
lea eax, [ebp - 0x40]
mov edx, 2
call fcn.0058fb04
dec dword [ebp - 0x84]
lea eax, [ebp - 0x3c]
mov edx, 2
call fcn.0058fb04
mov word [ebp - 0x90], pe_nt_image_headers32
lea eax, [ebp - 0x48]
call fcn.004025f4
push eax
inc dword [ebp - 0x84]
mov edx, 0x59d3f7
lea eax, [ebp - 0x44]
call fcn.0058f82c
inc dword [ebp - 0x84]
mov edx, dword [eax]
mov eax, dword [ebp - 0xa4]
pop ecx
call sub.rtl60.bpl__Classes_TStrings_GetValue_qqrx17System_AnsiString
lea edx, [ebp - 0x48]
mov edx, dword [edx]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x354]
call sub.vcl60.bpl__Controls_TControl_SetText_qqrx17System_AnsiString
dec dword [ebp - 0x84]
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.0058fb04
dec dword [ebp - 0x84]
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.0058fb04
mov word [ebp - 0x90], 0x8c
lea eax, [ebp - 0x50]
call fcn.004025f4
push eax
inc dword [ebp - 0x84]
mov edx, 0x59d3fd
lea eax, [ebp - 0x4c]
call fcn.0058f82c
inc dword [ebp - 0x84]
mov edx, dword [eax]
mov eax, dword [ebp - 0xa4]
pop ecx
call sub.rtl60.bpl__Classes_TStrings_GetValue_qqrx17System_AnsiString
lea edx, [ebp - 0x50]
mov edx, dword [edx]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x364]
call sub.vcl60.bpl__Controls_TControl_SetText_qqrx17System_AnsiString
dec dword [ebp - 0x84]
lea eax, [ebp - 0x50]
mov edx, 2
call fcn.0058fb04
dec dword [ebp - 0x84]
lea eax, [ebp - 0x4c]
mov edx, 2
call fcn.0058fb04
mov word [ebp - 0x90], 0x98
lea eax, [ebp - 0x58]
call fcn.004025f4
push eax
inc dword [ebp - 0x84]
mov edx, 0x59d403
lea eax, [ebp - 0x54]
call fcn.0058f82c
inc dword [ebp - 0x84]
mov edx, dword [eax]
mov eax, dword [ebp - 0xa4]
pop ecx
call sub.rtl60.bpl__Classes_TStrings_GetValue_qqrx17System_AnsiString
lea edx, [ebp - 0x58]
mov edx, dword [edx]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x404]
call sub.vcl60.bpl__Controls_TControl_SetText_qqrx17System_AnsiString
dec dword [ebp - 0x84]
lea eax, [ebp - 0x58]
mov edx, 2
call fcn.0058fb04
dec dword [ebp - 0x84]
lea eax, [ebp - 0x54]
mov edx, 2
call fcn.0058fb04
mov word [ebp - 0x90], 0xa4
lea eax, [ebp - 0x60]
call fcn.004025f4
push eax
inc dword [ebp - 0x84]
mov edx, 0x59d407
lea eax, [ebp - 0x5c]
call fcn.0058f82c
inc dword [ebp - 0x84]
mov edx, dword [eax]
mov eax, dword [ebp - 0xa4]
pop ecx
call sub.rtl60.bpl__Classes_TStrings_GetValue_qqrx17System_AnsiString
lea edx, [ebp - 0x60]
mov edx, dword [edx]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x40c]
call sub.vcl60.bpl__Controls_TControl_SetText_qqrx17System_AnsiString
dec dword [ebp - 0x84]
lea eax, [ebp - 0x60]
mov edx, 2
call fcn.0058fb04
dec dword [ebp - 0x84]
lea eax, [ebp - 0x5c]
mov edx, 2
call fcn.0058fb04
mov word [ebp - 0x90], 0xb0
lea eax, [ebp - 0x68]
call fcn.004025f4
push eax
inc dword [ebp - 0x84]
mov edx, 0x59d40f
lea eax, [ebp - 0x64]
call fcn.0058f82c
inc dword [ebp - 0x84]
mov edx, dword [eax]
mov eax, dword [ebp - 0xa4]
pop ecx
call sub.rtl60.bpl__Classes_TStrings_GetValue_qqrx17System_AnsiString
lea edx, [ebp - 0x68]
mov edx, dword [edx]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x350]
call sub.vcl60.bpl__Controls_TControl_SetText_qqrx17System_AnsiString
dec dword [ebp - 0x84]
lea eax, [ebp - 0x68]
mov edx, 2
call fcn.0058fb04
dec dword [ebp - 0x84]
lea eax, [ebp - 0x64]
mov edx, 2
call fcn.0058fb04
mov word [ebp - 0x90], 0xbc
lea eax, [ebp - 0xc]
call fcn.004025f4
inc dword [ebp - 0x84]
mov word [ebp - 0x90], 8
mov word [ebp - 0x90], 0xc8
lea eax, [ebp - 0x70]
call fcn.004025f4
push eax
inc dword [ebp - 0x84]
mov edx, 0x59d41b
lea eax, [ebp - 0x6c]
call fcn.0058f82c
inc dword [ebp - 0x84]
mov edx, dword [eax]
mov eax, dword [ebp - 0xa4]
pop ecx
call sub.rtl60.bpl__Classes_TStrings_GetValue_qqrx17System_AnsiString
lea edx, [ebp - 0x70]
lea eax, [ebp - 0xc]
call fcn.0058fb34
dec dword [ebp - 0x84]
lea eax, [ebp - 0x70]
mov edx, 2
call fcn.0058fb04
dec dword [ebp - 0x84]
lea eax, [ebp - 0x6c]
mov edx, 2
call fcn.0058fb04
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x368]
add eax, 0x23c
mov dword [ebp - 0xa8], eax
mov edx, dword [ebp - 0xa8]
mov eax, dword [edx]
mov edx, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov edx, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x368]
mov ecx, dword [eax]
call dword [ecx + 0xcc]
mov edx, dword [ebp + 8]
mov edx, dword [edx + 0x368]
mov eax, dword [ebp + 8]
call fcn.004058c0
mov word [ebp - 0x90], 0xd4
lea eax, [ebp - 0x10]
call fcn.004025f4
push eax
inc dword [ebp - 0x84]
mov edx, 0x59d424
lea eax, [ebp - 0x74]
call fcn.0058f82c
inc dword [ebp - 0x84]
mov edx, dword [eax]
mov eax, dword [ebp - 0xa4]
pop ecx
call sub.rtl60.bpl__Classes_TStrings_GetValue_qqrx17System_AnsiString
dec dword [ebp - 0x84]
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.0058fb04
mov word [ebp - 0x90], 8
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x36c]
add eax, 0x23c
mov dword [ebp - 0xac], eax
mov edx, dword [ebp - 0xac]
mov eax, dword [edx]
mov edx, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov edx, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x36c]
mov ecx, dword [eax]
call dword [ecx + 0xcc]
mov edx, dword [ebp - 0xa4]
mov dword [ebp - 0x7c], edx
cmp dword [ebp - 0x7c], 0
je 0x405449
mov eax, dword [ebp - 0x7c]
mov edx, dword [eax]
mov dword [ebp - 0x78], edx
mov word [ebp - 0x90], 0xec
mov edx, 3
mov eax, dword [ebp - 0x7c]
mov ecx, dword [eax]
call dword [ecx - 4]
mov word [ebp - 0x90], 0xe0
dec dword [ebp - 0x84]
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.0058fb04
dec dword [ebp - 0x84]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.0058fb04
dec dword [ebp - 0x84]
lea eax, [ebp - 8]
mov edx, 2
call fcn.0058fb04
dec dword [ebp - 0x84]
lea eax, [ebp - 4]
mov edx, 2
call fcn.0058fb04
mov ecx, dword [ebp - 0xa0]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret