Function at 0x4bb700
Capabilities:
Get geographical location

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x69c9c1
push eax
mov dword fs:[0], esp
sub esp, 0x2e8
push ebx
push esi
push edi
push 0x40
push 0x80
mov esi, ecx
push str.wm_translucency.tga
push str.data_interface
lea ecx, [esi + 0xbb0]
call fcn.00538940
xor ebx, ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x3f800000
push ebx
push 0x3f400000
push 0x3f000000
push 0x3f800000
push ebx
push 0x3f000000
push 0x3e800000
push 0x3f800000
push ebx
push 0x3e800000
push ebx
mov eax, dword [esi + 8]
push 1
mov ecx, dword [esi + 4]
push 0x20
push 0x80
push str.wm_button.tga
push ebx
push 0x16
push 0x16
push 0x20
push 0x20
push 1
push 0x1d2
push eax
push ecx
lea ecx, [esi + 0xbc0]
call fcn.00517f80
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x3f800000
push ebx
push 0x3f400000
push 0x3f000000
push 0x3f800000
push ebx
push 0x3f000000
push 0x3e800000
push 0x3f800000
push ebx
push 0x3e800000
push ebx
push 1
push 0x20
push 0x80
push str.wm_button_m.tga
push ebx
push 0x16
push 0x16
mov edx, dword [esi + 8]
mov eax, dword [esi + 4]
push 0x20
push 0x20
push 1
push 0x1ea
push edx
push eax
lea ecx, [esi + 0x1094]
call fcn.00517f80
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x3f800000
push ebx
push 0x3f400000
push 0x3f000000
push 0x3f800000
push ebx
push 0x3f000000
push 0x3e800000
push 0x3f800000
push ebx
push 0x3e800000
push ebx
mov ecx, dword [esi + 8]
push 1
mov edx, dword [esi + 4]
push 0x20
push 0x80
push str.wm_button_w.tga
push ebx
push 0x16
push 0x16
push 0x20
push 0x20
push 1
push 0x1ea
push ecx
push edx
lea ecx, [esi + 0x1568]
call fcn.00517f80
push 0x200
push 0x200
push str.wm_map.tga
push str.data_interface
lea ecx, [esi + 0x1a44]
call fcn.00538940
push 0x200
push 0x200
push str.wm_letter.tga
push str.data_interface
lea ecx, [esi + 0x1a54]
call fcn.00538940
push 0x20
push 0x200
push str.wm_warning.tga
push str.data_interface
lea ecx, [esi + 0x1b80]
mov byte [esi + 0x1b7c], bl
call fcn.00538940
push 0x6a81b8
push str.data_WorldMap.cfg
mov dword [esi + 0x1a3c], 0x13
call fcn.0040b8c0
mov edi, eax
add esp, 8
cmp edi, ebx
je 0x4bc31c
mov eax, dword [0x704038]
mov eax, dword [eax + 0x28]
push ebp
push eax
mov dword [esp + 0x34], eax
call fcn.005b951f
mov ecx, dword [esp + 0x34]
push edi
push ecx
mov ebp, eax
push 1
push ebp
call fcn.0040b670
push edi
call fcn.0040b690
add esp, 0x18
lea ecx, [esp + 0x20]
mov dword [esp + 0x1c], 0x6ade08
call fcn.004b97d0
mov dword [esp + 0x24], eax
mov byte [eax + 0x35], 1
mov eax, dword [esp + 0x24]
mov dword [eax + 4], eax
mov eax, dword [esp + 0x24]
mov dword [eax], eax
mov eax, dword [esp + 0x24]
mov dword [eax + 8], eax
mov dword [esp + 0x28], ebx
mov byte [esp + 0x2c], bl
mov edx, dword [esp + 0x30]
push ebx
push edx
push ebp
lea ecx, [esp + 0x28]
mov dword [esp + 0x30c], ebx
call fcn.005aa880
cmp ebp, ebx
je 0x4bb978
push ebp
call fcn.005b89dd
add esp, 4
push 5
mov ebp, 0xf
push str.count
lea ecx, [esp + 0x58]
mov dword [esp + 0x70], ebp
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x5c], bl
call fcn.00405710
push 8
push str.WorldMap
lea ecx, [esp + 0x3c]
mov byte [esp + 0x308], 1
mov dword [esp + 0x54], ebp
mov dword [esp + 0x50], ebx
mov byte [esp + 0x40], bl
call fcn.00405710
push ebx
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x3c]
push ecx
lea ecx, [esp + 0x28]
mov byte [esp + 0x30c], 2
call fcn.005aacd0
mov dword [esi + 0x1a3c], eax
mov eax, dword [esp + 0x4c]
mov edi, 0x10
cmp eax, edi
jb 0x4bb9f9
mov edx, dword [esp + 0x38]
push edx
call fcn.005b806d
add esp, 4
cmp dword [esp + 0x68], edi
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x48], ebx
mov byte [esp + 0x38], bl
mov byte [esp + 0x300], bl
jb 0x4bba1f
mov eax, dword [esp + 0x54]
push eax
call fcn.005b806d
add esp, 4
mov ecx, dword [esi + 0x1a3c]
shl ecx, 2
push ecx
call fcn.005b951f
add esp, 4
cmp eax, ebx
mov dword [esi + 0x1b90], eax
je 0x4bc24b
mov eax, dword [esi + 0x1a3c]
xor edi, edi
cmp eax, ebx
jle 0x4bc24b
jmp 0x4bba56
mov ebp, 0xf
push edi
lea edx, [esp + 0x14]
push 0x6a8770
push edx
call fcn.005b8b8d
push 0x40
call fcn.005b8072
add esp, 0x10
cmp eax, ebx
je 0x4bba8e
mov dword [eax + 0x24], ebx
mov dword [eax + 0x20], ebx
mov dword [eax + 0x28], ebx
mov dword [eax + 0x2c], ebx
mov dword [eax + 0x34], ebx
mov dword [eax + 0x30], ebx
mov dword [eax + 0x38], ebx
mov dword [eax + 0x3c], ebx
jmp 0x4bba90
xor eax, eax
mov ecx, dword [esi + 0x1b90]
push 7
mov dword [ecx + edi*4], eax
push str.Country
lea ecx, [esp + 0x100]
mov dword [esp + 0x118], ebp
mov dword [esp + 0x114], ebx
mov byte [esp + 0x104], bl
call fcn.00405710
lea eax, [esp + 0x10]
mov dword [esp + 0x4c], ebp
mov byte [esp + 0x300], 3
mov dword [esp + 0x48], ebx
mov byte [esp + 0x38], bl
lea ebp, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4bbae0
sub eax, ebp
push eax
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x3c]
call fcn.00405710
push ebx
lea eax, [esp + 0xfc]
push eax
lea ecx, [esp + 0x3c]
push ecx
lea ecx, [esp + 0x28]
mov byte [esp + 0x30c], 4
call fcn.005aacd0
mov edx, dword [esi + 0x1b90]
mov ecx, dword [edx + edi*4]
mov dword [ecx], eax
cmp dword [esp + 0x4c], 0x10
jb 0x4bbb36
mov edx, dword [esp + 0x38]
push edx
call fcn.005b806d
add esp, 4
cmp dword [esp + 0x110], 0x10
mov ebp, 0xf
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x48], ebx
mov byte [esp + 0x38], bl
mov byte [esp + 0x300], bl
jb 0x4bbb68
mov eax, dword [esp + 0xfc]
push eax
call fcn.005b806d
add esp, 4
push 6
push str.MapNum
lea ecx, [esp + 0x1a8]
mov dword [esp + 0x118], ebp
mov dword [esp + 0x114], ebx
mov byte [esp + 0x104], bl
mov dword [esp + 0x1c0], ebp
mov dword [esp + 0x1bc], ebx
mov byte [esp + 0x1ac], bl
call fcn.00405710
lea eax, [esp + 0x10]
mov byte [esp + 0x300], 5
mov dword [esp + 0x1d4], ebp
mov dword [esp + 0x1d0], ebx
mov byte [esp + 0x1c0], bl
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4bbbd0
sub eax, edx
push eax
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x1c4]
call fcn.00405710
push 0xffffffffffffffff
lea edx, [esp + 0x1a4]
push edx
lea eax, [esp + 0x1c4]
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x30c], 6
call fcn.005aacd0
mov ecx, dword [esi + 0x1b90]
mov edx, dword [ecx + edi*4]
mov dword [edx + 4], eax
cmp dword [esp + 0x1d4], 0x10
jb 0x4bbc34
mov eax, dword [esp + 0x1c0]
push eax
call fcn.005b806d
add esp, 4
cmp dword [esp + 0x1b8], 0x10
mov dword [esp + 0x1d4], ebp
mov dword [esp + 0x1d0], ebx
mov byte [esp + 0x1c0], bl
mov byte [esp + 0x300], bl
jb 0x4bbc6a
mov ecx, dword [esp + 0x1a4]
push ecx
call fcn.005b806d
add esp, 4
push 0xa
push str.Click_left
lea ecx, [esp + 0x170]
mov dword [esp + 0x1c0], ebp
mov dword [esp + 0x1bc], ebx
mov byte [esp + 0x1ac], bl
mov dword [esp + 0x188], ebp
mov dword [esp + 0x184], ebx
mov byte [esp + 0x174], bl
call fcn.00405710
lea eax, [esp + 0x10]
mov byte [esp + 0x300], 7
mov dword [esp + 0xd8], ebp
mov dword [esp + 0xd4], ebx
mov byte [esp + 0xc4], bl
lea edx, [eax + 1]
jmp 0x4bbcd0
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4bbcd0
sub eax, edx
push eax
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0xc8]
call fcn.00405710
push ebx
lea eax, [esp + 0x16c]
push eax
lea ecx, [esp + 0xc8]
push ecx
lea ecx, [esp + 0x28]
mov byte [esp + 0x30c], 8
call fcn.005aacd0
mov edx, dword [esi + 0x1b90]
mov ecx, dword [edx + edi*4]
mov dword [ecx + 8], eax
cmp dword [esp + 0xd8], 0x10
jb 0x4bbd33
mov edx, dword [esp + 0xc4]
push edx
call fcn.005b806d
add esp, 4
cmp dword [esp + 0x180], 0x10
mov dword [esp + 0xd8], ebp
mov dword [esp + 0xd4], ebx
mov byte [esp + 0xc4], bl
mov byte [esp + 0x300], bl
jb 0x4bbd69
mov eax, dword [esp + 0x16c]
push eax
call fcn.005b806d
add esp, 4
push 9
push str.Click_top
lea ecx, [esp + 0x1e0]
mov dword [esp + 0x188], ebp
mov dword [esp + 0x184], ebx
mov byte [esp + 0x174], bl
mov dword [esp + 0x1f8], ebp
mov dword [esp + 0x1f4], ebx
mov byte [esp + 0x1e4], bl
call fcn.00405710
lea eax, [esp + 0x10]
mov byte [esp + 0x300], 9
mov dword [esp + 0x84], ebp
mov dword [esp + 0x80], ebx
mov byte [esp + 0x70], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4bbdc7
sub eax, edx
push eax
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x74]
call fcn.00405710
push ebx
lea edx, [esp + 0x1dc]
push edx
lea eax, [esp + 0x74]
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x30c], 0xa
call fcn.005aacd0
mov ecx, dword [esi + 0x1b90]
mov edx, dword [ecx + edi*4]
mov dword [edx + 0xc], eax
cmp dword [esp + 0x84], 0x10
jb 0x4bbe21
mov eax, dword [esp + 0x70]
push eax
call fcn.005b806d
add esp, 4
cmp dword [esp + 0x1f0], 0x10
mov dword [esp + 0x84], ebp
mov dword [esp + 0x80], ebx
mov byte [esp + 0x70], bl
mov byte [esp + 0x300], bl
jb 0x4bbe54
mov ecx, dword [esp + 0x1dc]
push ecx
call fcn.005b806d
add esp, 4
push 0xb
push str.Click_right
lea ecx, [esp + 0x90]
mov dword [esp + 0x1f8], ebp
mov dword [esp + 0x1f4], ebx
mov byte [esp + 0x1e4], bl
mov dword [esp + 0xa8], ebp
mov dword [esp + 0xa4], ebx
mov byte [esp + 0x94], bl
call fcn.00405710
lea eax, [esp + 0x10]
mov byte [esp + 0x300], 0xb
mov dword [esp + 0x148], ebp
mov dword [esp + 0x144], ebx
mov byte [esp + 0x134], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4bbeb5
sub eax, edx
push eax
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x138]
call fcn.00405710
push ebx
lea eax, [esp + 0x8c]
push eax
lea ecx, [esp + 0x138]
push ecx
lea ecx, [esp + 0x28]
mov byte [esp + 0x30c], 0xc
call fcn.005aacd0
mov edx, dword [esi + 0x1b90]
mov ecx, dword [edx + edi*4]
mov dword [ecx + 0x10], eax
cmp dword [esp + 0x148], 0x10
jb 0x4bbf18
mov edx, dword [esp + 0x134]
push edx
call fcn.005b806d
add esp, 4
cmp dword [esp + 0xa0], 0x10
mov dword [esp + 0x148], ebp
mov dword [esp + 0x144], ebx
mov byte [esp + 0x134], bl
mov byte [esp + 0x300], bl
jb 0x4bbf4e
mov eax, dword [esp + 0x8c]
push eax
call fcn.005b806d
add esp, 4
push 0xc
push str.Click_bottom
lea ecx, [esp + 0xe4]
mov dword [esp + 0xa8], ebp
mov dword [esp + 0xa4], ebx
mov byte [esp + 0x94], bl
mov dword [esp + 0xfc], ebp
mov dword [esp + 0xf8], ebx
mov byte [esp + 0xe8], bl
call fcn.00405710
lea eax, [esp + 0x10]
mov byte [esp + 0x300], 0xd
mov dword [esp + 0xbc], ebp
mov dword [esp + 0xb8], ebx
mov byte [esp + 0xa8], bl
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4bbfb0
sub eax, edx
push eax
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0xac]
call fcn.00405710
push ebx
lea edx, [esp + 0xe0]
push edx
lea eax, [esp + 0xac]
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x30c], 0xe
call fcn.005aacd0
mov ecx, dword [esi + 0x1b90]
mov edx, dword [ecx + edi*4]
mov dword [edx + 0x14], eax
cmp dword [esp + 0xbc], 0x10
jb 0x4bc013
mov eax, dword [esp + 0xa8]
push eax
call fcn.005b806d
add esp, 4
cmp dword [esp + 0xf4], 0x10
mov dword [esp + 0xbc], ebp
mov dword [esp + 0xb8], ebx
mov byte [esp + 0xa8], bl
mov byte [esp + 0x300], bl
jb 0x4bc049
mov ecx, dword [esp + 0xe0]
push ecx
call fcn.005b806d
add esp, 4
push 8
push str.ImgPos_x
lea ecx, [esp + 0x154]
mov dword [esp + 0xfc], ebp
mov dword [esp + 0xf8], ebx
mov byte [esp + 0xe8], bl
mov dword [esp + 0x16c], ebp
mov dword [esp + 0x168], ebx
mov byte [esp + 0x158], bl
call fcn.00405710
lea eax, [esp + 0x10]
mov byte [esp + 0x300], 0xf
mov dword [esp + 0x12c], ebp
mov dword [esp + 0x128], ebx
mov byte [esp + 0x118], bl
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4bc0b0
sub eax, edx
push eax
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x11c]
call fcn.00405710
push ebx
lea eax, [esp + 0x150]
push eax
lea ecx, [esp + 0x11c]
push ecx
lea ecx, [esp + 0x28]
mov byte [esp + 0x30c], 0x10
call fcn.005aacd0
mov edx, dword [esi + 0x1b90]
mov ecx, dword [edx + edi*4]
mov dword [ecx + 0x18], eax
cmp dword [esp + 0x12c], 0x10
jb 0x4bc113
mov edx, dword [esp + 0x118]
push edx
call fcn.005b806d
add esp, 4
cmp dword [esp + 0x164], 0x10
mov dword [esp + 0x12c], ebp
mov dword [esp + 0x128], ebx
mov byte [esp + 0x118], bl
mov byte [esp + 0x300], bl
jb 0x4bc149
mov eax, dword [esp + 0x150]
push eax
call fcn.005b806d
add esp, 4
push 8
push str.ImgPos_y
lea ecx, [esp + 0x58]
mov dword [esp + 0x16c], ebp
mov dword [esp + 0x168], ebx
mov byte [esp + 0x158], bl
mov dword [esp + 0x70], ebp
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x5c], bl
call fcn.00405710
lea eax, [esp + 0x10]
mov byte [esp + 0x300], 0x11
mov dword [esp + 0x19c], ebp
mov dword [esp + 0x198], ebx
mov byte [esp + 0x188], bl
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4bc1a0
sub eax, edx
push eax
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x18c]
call fcn.00405710
push ebx
lea edx, [esp + 0x54]
push edx
lea eax, [esp + 0x18c]
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x30c], 0x12
call fcn.005aacd0
mov ecx, dword [esi + 0x1b90]
mov edx, dword [ecx + edi*4]
mov dword [edx + 0x1c], eax
cmp dword [esp + 0x19c], 0x10
jb 0x4bc200
mov eax, dword [esp + 0x188]
push eax
call fcn.005b806d
add esp, 4
cmp dword [esp + 0x68], 0x10
mov dword [esp + 0x19c], ebp
mov dword [esp + 0x198], ebx
mov byte [esp + 0x188], bl
mov byte [esp + 0x300], bl
jb 0x4bc230
mov ecx, dword [esp + 0x54]
push ecx
call fcn.005b806d
add esp, 4
mov eax, dword [esi + 0x1a3c]
inc edi
cmp edi, eax
mov dword [esp + 0x68], ebp
mov dword [esp + 0x64], ebx
mov byte [esp + 0x54], bl
jl 0x4bba51
lea ecx, [esp + 0x1c]
call fcn.005aa7c0
mov eax, dword [esi + 0x1a3c]
xor edi, edi
cmp eax, ebx
pop ebp
jle 0x4bc308
jmp 0x4bc270
mov edx, dword [esi + 0x1b90]
mov eax, dword [edx + edi*4]
mov eax, dword [eax + 4]
cmp eax, 0xffffffff
je 0x4bc2f9
push eax
lea ecx, [esp + 0x1f4]
push str.wm_e_d.tga
push ecx
call fcn.005b8b8d
mov eax, dword [esi + 0x1b90]
mov ecx, dword [eax + edi*4]
add esp, 0xc
push ebx
push ebx
lea edx, [esp + 0x1f8]
push edx
push str.data_interface
add ecx, 0x20
call fcn.00538940
mov ecx, dword [esi + 0x1b90]
mov edx, dword [ecx + edi*4]
mov eax, dword [edx + 4]
push eax
lea ecx, [esp + 0x1f4]
push str.wm_f_d.tga
push ecx
call fcn.005b8b8d
mov eax, dword [esi + 0x1b90]
mov ecx, dword [eax + edi*4]
add esp, 0xc
push ebx
push ebx
lea edx, [esp + 0x1f8]
push edx
push str.data_interface
add ecx, 0x30
call fcn.00538940
mov eax, dword [esi + 0x1a3c]
inc edi
cmp edi, eax
jl 0x4bc270
lea ecx, [esp + 0x18]
mov dword [esp + 0x2fc], 0xffffffff
call fcn.004bb620
mov ecx, dword [esp + 0x2f4]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x2f4
ret