Function at 0x46aea0
Capabilities:
Get geographical location
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x641fb7
mov eax, dword fs:[0]
push eax
sub esp, 0x568
mov eax, dword [0x6bc858]
xor eax, esp
mov dword [esp + 0x560], eax
push ebx
push esi
push edi
mov eax, dword [0x6bc858]
xor eax, esp
push eax
lea eax, [esp + 0x578]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x88], ebx
push 8
mov dword [esp + 0x584], ebx
call fcn.005f0fe0
add esp, 4
cmp eax, ebx
je 0x46b5c2
mov dword [esp + 0x88], eax
mov dword [eax + 4], ebx
xor ecx, ecx
mov dword [eax], ecx
mov edx, dword [esp + 0x88]
lea ecx, [esp + 0x88]
mov dword [edx], ecx
mov dword [esp + 0xa0], 0xf
mov dword [esp + 0x9c], ebx
mov byte [esp + 0x8c], bl
mov esi, ecx
mov dword [esp + 0x580], 1
call fcn.004c4b60
push 9
push str.resource_
mov ecx, esi
call fcn.00412ae0
push 8
push str.City.ini
mov ecx, esi
call fcn.00412ae0
push 0x411
lea eax, [esp + 0x159]
push ebx
push eax
mov byte [esp + 0x160], bl
call fcn.005ff630
mov eax, dword [esp + 0x98]
add esp, 0xc
cmp dword [esp + 0xa0], 0x10
jae 0x46afa3
lea eax, [esp + 0x8c]
push 0x681db4
push eax
call fcn.005f5530
mov esi, eax
add esp, 8
mov dword [esp + 0x2c], esi
cmp esi, ebx
je 0x46b524
push esi
call fcn.005f5030
add esp, 4
test eax, eax
jne 0x46b51b
push esi
lea ecx, [esp + 0x158]
push 0x400
push ecx
call fcn.005fa360
lea edx, [esp + 0x160]
push 0xa
push edx
call fcn.005fa700
add esp, 0x14
cmp eax, ebx
jne 0x46b00f
lea eax, [esp + 0x154]
push 0xd
push eax
call fcn.005fa700
add esp, 8
cmp eax, ebx
je 0x46b011
mov byte [eax], bl
lea eax, [esp + 0x154]
lea edx, [eax + 1]
jmp 0x46b020
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x46b020
sub eax, edx
je 0x46b50a
lea ecx, [esp + 0x154]
push 0x3d
push ecx
call fcn.005fa700
add esp, 8
cmp eax, ebx
je 0x46b50a
mov ecx, eax
lea edx, [esp + 0x154]
sub ecx, edx
lea ecx, [esp + ecx + 0x155]
mov byte [eax], bl
mov dword [esp + 0x28], ecx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
push ecx
lea ecx, [esp + 0xac]
mov byte [esp + 0x584], 2
call fcn.00412330
mov edi, dword [esp + 0x4c]
lea eax, [esp + 0xa8]
push eax
lea ecx, [esp + 0x70]
add edi, 0x3c
push ecx
mov byte [esp + 0x588], 3
mov ecx, edi
mov dword [esp + 0x2c], edi
call fcn.0046b9e0
mov esi, eax
mov byte [esp + 0x580], 4
mov eax, dword [esi]
mov ecx, dword [esp + 0x18]
cmp ecx, eax
je 0x46b110
mov eax, dword [eax]
cmp eax, ebx
je 0x46b110
mov eax, dword [eax]
mov dword [esp + 0x40], eax
cmp ecx, eax
je 0x46b110
push 3
lea ecx, [esp + 0x34]
call fcn.00564140
lea ecx, [esp + 0x18]
mov byte [esp + 0x580], 5
call fcn.00413660
mov eax, dword [esp + 0x40]
mov edx, dword [eax + 4]
lea ecx, [esp + 0x18]
mov dword [esp + 0x1c], edx
mov dword [eax + 4], ecx
lea ecx, [esp + 0x30]
mov dword [esp + 0x18], eax
mov byte [esp + 0x580], 4
call fcn.00564180
mov edx, dword [esi + 8]
push 3
lea ecx, [esp + 0x54]
mov dword [esp + 0x24], edx
mov byte [esp + 0x584], 3
call fcn.00564140
lea ecx, [esp + 0x6c]
mov byte [esp + 0x580], 6
call fcn.00413660
lea ecx, [esp + 0x50]
mov byte [esp + 0x580], 3
call fcn.00564180
cmp dword [esp + 0xc0], 0x10
jb 0x46b166
mov eax, dword [esp + 0xac]
push eax
call fcn.005f0cb0
add esp, 4
mov dword [esp + 0xc0], 0xf
mov dword [esp + 0xbc], ebx
mov byte [esp + 0xac], bl
mov byte [esp + 0x580], 7
cmp dword [esp + 0xa8], ebx
je 0x46b1cc
push 3
lea ecx, [esp + 0x48]
call fcn.00564140
mov eax, dword [esp + 0xa8]
cmp dword [eax + 4], ebx
je 0x46b1b9
mov ecx, dword [eax + 4]
mov dword [ecx], ebx
mov edx, dword [eax + 4]
mov ecx, dword [edx + 4]
mov dword [eax + 4], ecx
cmp ecx, ebx
jne 0x46b1a7
mov edx, dword [esp + 0xa8]
lea ecx, [esp + 0x44]
mov dword [edx + 4], ebx
call fcn.00564180
mov eax, dword [esp + 0xa8]
push eax
call fcn.005f0cb0
add esp, 4
lea ecx, [esp + 0x60]
push ecx
push edi
mov byte [esp + 0x588], 2
call fcn.0046b950
mov esi, eax
lea edi, [esp + 0x18]
mov byte [esp + 0x580], 8
call fcn.0046bfb0
test al, al
push 3
lea ecx, [esp + 0x40]
sete byte [esp + 0x1b]
mov byte [esp + 0x584], 2
call fcn.00564140
lea ecx, [esp + 0x60]
mov byte [esp + 0x580], 9
call fcn.00413660
lea ecx, [esp + 0x3c]
mov byte [esp + 0x580], 2
call fcn.00564180
cmp byte [esp + 0x17], bl
je 0x46b290
lea edx, [esp + 0x154]
push edx
lea ecx, [esp + 0xac]
call fcn.00412330
lea eax, [esp + 0xa8]
push eax
mov esi, edi
mov byte [esp + 0x584], 0xa
call fcn.0046c800
lea ebx, [eax + 0x40]
call fcn.0046b8c0
lea ecx, [esp + 0xa8]
mov byte [esp + 0x580], 2
call fcn.00412410
jmp 0x46b4cf
lea ecx, [esp + 0xc8]
push ecx
call fcn.0046b5f0
mov edi, dword [esp + 0x28]
mov byte [esp + 0x580], 0xb
cmp edi, ebx
jne 0x46b2c4
push 0x3a2
push str.C:Program_Files__x86_Microsoft_Visual_Studio_10.0VCincludexstring
push str.invalid_null_pointer
call fcn.00563e60
add esp, 0xc
mov eax, edi
lea esi, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x46b2d0
sub eax, esi
push eax
push edi
lea ecx, [esp + 0xd0]
call fcn.00412c10
lea edx, [esp + 0x154]
push edx
lea ecx, [esp + 0xac]
call fcn.00412330
lea eax, [esp + 0xa8]
push eax
lea ebx, [esp + 0xec]
mov byte [esp + 0x584], 0xc
call fcn.0046b8c0
lea ecx, [esp + 0xa8]
mov byte [esp + 0x580], 0xb
call fcn.00412410
mov ecx, dword [esp + 0x28]
push ecx
lea ecx, [esp + 0x100]
call fcn.00412330
lea edx, [esp + 0x11c]
push edx
lea ecx, [esp + 0xcc]
mov byte [esp + 0x584], 0xd
call fcn.0046dd40
mov bl, 0xe
mov byte [esp + 0x580], bl
mov edi, dword [esp + 0x24]
lea eax, [esp + 0xfc]
lea esi, [esp + 0x78]
call fcn.0046d260
push 3
lea ecx, [esp + 0x38]
call fcn.00564140
mov ecx, esi
mov byte [esp + 0x580], 0xf
call fcn.00413660
lea ecx, [esp + 0x34]
mov byte [esp + 0x580], bl
call fcn.00564180
lea eax, [esp + 0x11c]
mov dword [esp + 0x24], eax
lea ecx, [esp + 0x13c]
push ecx
mov byte [esp + 0x584], 0x11
call fcn.004496a0
mov ebx, 0x10
lea ecx, [esp + 0x11c]
mov byte [esp + 0x580], bl
call fcn.00412410
cmp dword [esp + 0x114], ebx
jb 0x46b3f0
mov edx, dword [esp + 0x100]
push edx
call fcn.005f0cb0
add esp, 4
mov edi, 0xf
xor esi, esi
mov dword [esp + 0x114], edi
mov dword [esp + 0x110], esi
mov byte [esp + 0x100], 0
lea ecx, [esp + 0xfc]
mov byte [esp + 0x580], 0x12
call fcn.0040ed70
mov eax, dword [esp + 0xfc]
push eax
call fcn.005f0cb0
add esp, 4
lea ecx, [esp + 0xfc]
mov dword [esp + 0xfc], esi
mov byte [esp + 0x580], 0xb
call fcn.0040ed70
lea ecx, [esp + 0xe8]
push ecx
mov byte [esp + 0x584], 0x13
call fcn.004496a0
cmp dword [esp + 0xe0], ebx
jb 0x46b47a
mov edx, dword [esp + 0xcc]
push edx
call fcn.005f0cb0
add esp, 4
mov dword [esp + 0xe0], edi
mov dword [esp + 0xdc], esi
mov byte [esp + 0xcc], 0
lea ecx, [esp + 0xc8]
mov byte [esp + 0x580], 0x14
call fcn.0040ed70
mov eax, dword [esp + 0xc8]
push eax
call fcn.005f0cb0
add esp, 4
lea ecx, [esp + 0xc8]
mov dword [esp + 0xc8], esi
mov byte [esp + 0x580], 2
call fcn.0040ed70
mov bl, 1
push 3
lea ecx, [esp + 0x3c]
mov byte [esp + 0x584], bl
call fcn.00564140
lea ecx, [esp + 0x18]
mov byte [esp + 0x580], 0x15
call fcn.00413660
lea ecx, [esp + 0x38]
mov byte [esp + 0x580], bl
call fcn.00564180
mov esi, dword [esp + 0x2c]
xor ebx, ebx
push esi
call fcn.005f5030
add esp, 4
test eax, eax
je 0x46afd0
push esi
call fcn.005f64a0
add esp, 4
cmp dword [esp + 0xa0], 0x10
jb 0x46b53e
mov ecx, dword [esp + 0x8c]
push ecx
call fcn.005f0cb0
add esp, 4
mov dword [esp + 0xa0], 0xf
mov dword [esp + 0x9c], ebx
mov byte [esp + 0x8c], bl
lea ecx, [esp + 0x88]
mov dword [esp + 0x580], 0x16
call fcn.0040ed70
mov edx, dword [esp + 0x88]
push edx
call fcn.005f0cb0
add esp, 4
lea ecx, [esp + 0x88]
mov dword [esp + 0x88], ebx
mov dword [esp + 0x580], 0xffffffff
call fcn.0040ed70
mov ecx, dword [esp + 0x578]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x560]
xor ecx, esp
call fcn.005f0da0
mov esp, ebp
pop ebp
ret 4
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x58]
mov dword [esp + 0x4c], ebx
call fcn.005f41f0
push 0x6a361c
lea ecx, [esp + 0x58]
push ecx
mov dword [esp + 0x5c], vtable.std::bad_alloc.0
call fcn.006009e0
int3