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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x617a2b
mov eax, dword fs:[0]
push eax
sub esp, 0x94
push ebx
push ebp
push esi
push edi
mov eax, dword [0x7161c0]
xor eax, esp
push eax
lea eax, [esp + 0xa8]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x2c], esi
mov eax, dword [esi + 0x190]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x20]
push eax
call edx
push 0xa
lea ecx, [esp + 0x68]
call fcn.0041a810
mov dword [esp + 0xb0], 1
xor edi, edi
mov dword [esp + 0x18], edi
mov byte [esp + 0xb0], 3
mov eax, dword [esi + 0xec]
cmp eax, edi
je 0x46e4f5
mov ecx, dword [eax]
lea edx, [esp + 0x18]
push edx
push eax
mov eax, dword [ecx + 0x14]
call eax
test eax, eax
jl 0x46e4f5
lea ecx, [esp + 0x1c]
call fcn.00406a00
mov byte [esp + 0xb0], 4
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
push edi
lea edx, [esp + 0x20]
push edx
push 1
push eax
mov eax, dword [ecx + 0xc]
call eax
test eax, eax
jne 0x46e4dd
mov ecx, dword [esp + 0x1c]
push ecx
lea ecx, [esp + 0x68]
call fcn.0041fc00
mov eax, dword [esp + 0x1c]
cmp eax, edi
je 0x46e4c5
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov dword [esp + 0x1c], edi
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
push edi
lea edx, [esp + 0x20]
push edx
push 1
push eax
mov eax, dword [ecx + 0xc]
call eax
test eax, eax
je 0x46e4a3
mov byte [esp + 0xb0], 3
mov eax, dword [esp + 0x1c]
cmp eax, edi
je 0x46e4f5
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0xb0], 1
mov eax, dword [esp + 0x18]
cmp eax, edi
je 0x46e50d
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x64]
cmp eax, edi
mov ebp, eax
je 0x46e629
mov bl, 9
lea ecx, [ecx]
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + 0x190]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
push eax
call edx
test eax, eax
jne 0x46e625
test ebp, ebp
setne al
test eax, eax
je 0x46e69a
mov eax, ebp
mov ebp, dword [ebp]
mov eax, dword [eax + 8]
mov dword [esp + 0x1c], 0
mov byte [esp + 0xb0], 8
test eax, eax
je 0x46e574
mov ecx, dword [eax]
lea edx, [esp + 0x1c]
push edx
push 0x63c5c4
push eax
mov eax, dword [ecx]
call eax
mov byte [esp + 0xb0], bl
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x46e588
jmp 0x46e605
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
push eax
xor esi, esi
call edx
mov edi, eax
test edi, edi
jbe 0x46e605
jmp 0x46e5a0
mov dword [esp + 0x20], 0
mov byte [esp + 0xb0], 0xc
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
lea edx, [esp + 0x20]
push edx
lea edx, [esp + 0x40]
push edx
push esi
push eax
mov eax, dword [ecx + 0x10]
call eax
test eax, eax
jl 0x46e5ec
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx + 0x190]
mov ecx, dword [esp + 0x20]
mov edx, dword [eax]
mov edx, dword [edx + 0x18]
push ecx
mov ecx, dword [esp + 0x44]
push ecx
mov ecx, dword [esp + 0x44]
push ecx
push eax
call edx
mov byte [esp + 0xb0], bl
mov eax, dword [esp + 0x20]
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
add esi, 1
cmp esi, edi
jb 0x46e5a0
mov byte [esp + 0xb0], 1
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x46e61d
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
test ebp, ebp
jne 0x46e520
mov eax, dword [esp + 0x64]
test eax, eax
mov esi, eax
je 0x46e859
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + 0x190]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
push eax
call edx
test eax, eax
jne 0x46e855
test esi, esi
setne al
test eax, eax
je 0x46e69a
mov eax, esi
mov esi, dword [esi]
mov eax, dword [eax + 8]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], 0
mov byte [esp + 0xb0], 0x10
test eax, eax
je 0x46e686
mov ecx, dword [eax]
lea edx, [esp + 0x18]
push edx
push 0x63c674
push eax
mov eax, dword [ecx]
call eax
mov byte [esp + 0xb0], 0x11
cmp dword [esp + 0x18], 0
jne 0x46e6a4
jmp 0x46e835
push 0x80004005
call fcn.00401470
push 3
lea eax, [esp + 0x28]
push eax
push 0x59
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x24]
push edx
call fcn.0049a4f0
add esp, 8
mov byte [esp + 0xb0], 0x14
mov eax, dword [esp + 0x20]
cmp dword [eax - 0xc], 3
jge 0x46e6ec
push 3
push 0x63cb74
lea ecx, [esp + 0x28]
call fcn.00401bb0
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
push 0
push eax
call edx
mov ebx, eax
mov ebp, 1
cmp ebx, ebp
jb 0x46e80d
lea esp, [esp]
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x10]
push ebp
push 0
push eax
call edx
mov edi, eax
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x8c]
push edx
mov word [esp + 0x90], 0x17
mov ecx, dword [eax]
push edi
push eax
mov eax, dword [ecx + 0x18]
call eax
test eax, eax
je 0x46e802
mov eax, dword [esp + 0x20]
cmp dword [eax - 0xc], 0
jl 0x46e8d8
mov cl, byte [eax]
mov byte [esp + 0x30], cl
cmp dword [eax - 0xc], 1
jl 0x46e8d8
mov dl, byte [eax + 1]
mov byte [esp + 0x31], dl
cmp dword [eax - 0xc], 2
jl 0x46e8d8
mov al, byte [eax + 2]
mov cx, word [0x63cb70]
mov dl, byte [0x63cb72]
xor esi, esi
mov byte [esp + 0x32], al
mov word [esp + 0x28], cx
mov byte [esp + 0x2a], dl
mov dword [esp + 0x34], esi
mov byte [esp + 0xb0], 0x15
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
lea edx, [esp + 0x28]
push edx
lea edx, [esp + 0x34]
push edx
push edi
push eax
mov eax, dword [ecx + 0x1c]
call eax
mov edi, eax
test edi, edi
je 0x46e7cc
push esi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov esi, edi
mov dword [esp + 0x34], esi
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx + 0x190]
mov ecx, dword [esp + 0x97]
mov edx, dword [eax]
mov edx, dword [edx + 0x18]
push esi
push ecx
mov ecx, dword [esp + 0x9b]
push ecx
push eax
call edx
mov byte [esp + 0xb0], 0x14
push esi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov esi, dword [esp + 0x1c]
add ebp, 1
cmp ebp, ebx
jbe 0x46e710
mov byte [esp + 0xb0], 0x11
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46e835
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xb0], 1
mov eax, dword [esp + 0x18]
test eax, eax
je 0x46e84d
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
test esi, esi
jne 0x46e633
mov eax, dword [esp + 0x64]
xor edi, edi
cmp eax, edi
mov esi, eax
je 0x46ea52
mov bl, 0x1f
jmp 0x46e870
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + 0x190]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
push eax
call edx
test eax, eax
jne 0x46ea4e
cmp esi, edi
setne al
cmp eax, edi
je 0x46e69a
mov eax, esi
mov esi, dword [esi]
mov eax, dword [eax + 8]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], edi
mov byte [esp + 0xb0], 0x1a
cmp eax, edi
je 0x46e8c3
mov ecx, dword [eax]
lea edx, [esp + 0x18]
push edx
push 0x63c32c
push eax
mov eax, dword [ecx]
call eax
mov byte [esp + 0xb0], 0x1b
mov eax, dword [esp + 0x18]
cmp eax, edi
jne 0x46e8e2
jmp 0x46ea2e
push 0x80070057
call fcn.00401470
lea edx, [esp + 0x28]
mov dword [esp + 0x28], edi
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x20]
call eax
test eax, eax
jl 0x46ea2e
mov ebp, 1
cmp dword [esp + 0x28], ebp
jl 0x46ea2e
lea ebx, [ebx]
mov eax, dword [esp + 0x18]
fldz
lea edx, [esp + 0x3c]
fstp qword [esp + 0x3c]
mov ecx, dword [eax]
push edx
push ebp
push eax
mov eax, dword [ecx + 0x28]
call eax
test eax, eax
jl 0x46ea1f
call fcn.005bc43d
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x46e69a
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x20], eax
mov byte [esp + 0xb0], bl
push ebp
lea ecx, [esp + 0x24]
push 0x63cb58
push ecx
call fcn.00469400
add esp, 0xc
mov dword [esp + 0x24], 0
mov byte [esp + 0xb0], 0x20
mov eax, dword [esp + 0x18]
mov edx, dword [eax]
mov edx, dword [edx + 0x2c]
lea ecx, [esp + 0x24]
push ecx
push ebp
push eax
call edx
test eax, eax
jne 0x46e9bb
mov esi, dword [esp + 0x24]
test esi, esi
je 0x46e9b0
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x46e9a1
sub eax, edx
sar eax, 1
push eax
push esi
lea ecx, [esp + 0x28]
call fcn.00419da0
mov eax, dword [esp + 0x2c]
fld qword [esp + 0x3c]
mov esi, dword [eax + 0x190]
fmul qword [0x632b98]
mov edi, dword [esp + 0x20]
mov ebx, dword [esi]
push edi
call fcn.005dc8d6
mov ecx, dword [ebx + 0x18]
push edx
push eax
push esi
call ecx
mov bl, 0x1f
mov byte [esp + 0xb0], bl
mov edx, dword [esp + 0x24]
push edx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov byte [esp + 0xb0], 0x1b
lea eax, [edi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46ea1b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x1c]
add ebp, 1
cmp ebp, dword [esp + 0x28]
jle 0x46e910
xor edi, edi
mov byte [esp + 0xb0], 1
mov eax, dword [esp + 0x18]
cmp eax, edi
je 0x46ea46
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp esi, edi
jne 0x46e870
mov eax, dword [esp + 0x64]
test eax, eax
mov edi, eax
je 0x46ee97
mov ebp, dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + 0x190]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
push eax
call edx
test eax, eax
jne 0x46ee97
test edi, edi
setne al
test eax, eax
je 0x46e69a
mov eax, edi
mov esi, dword [eax + 8]
mov edi, dword [edi]
lea eax, [esp + 0x8c]
push esi
push eax
mov dword [esp + 0x24], edi
call fcn.00497320
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x84], ecx
mov ecx, dword [eax + 8]
mov dword [esp + 0x88], edx
mov edx, dword [eax + 0xc]
lea eax, [esp + 0x84]
push 0x63c19c
push eax
mov dword [esp + 0x94], ecx
mov dword [esp + 0x98], edx
call fcn.00401250
add esp, 0x10
test eax, eax
je 0x46ee8f
mov dword [esp + 0x28], 0
mov byte [esp + 0xb0], 0x25
test esi, esi
je 0x46ee77
mov ecx, dword [esi]
mov eax, dword [ecx + 0x28]
lea edx, [esp + 0x28]
push edx
push esi
call eax
test eax, eax
jl 0x46ee77
mov dword [esp + 0x18], 0
mov byte [esp + 0xb0], 0x27
mov eax, dword [esp + 0x28]
mov ecx, dword [eax]
push 0
lea edx, [esp + 0x1c]
push edx
push 1
push eax
mov eax, dword [ecx + 0xc]
call eax
test eax, eax
jne 0x46ee5f
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx + 0x190]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 0xc]
call eax
test eax, eax
jne 0x46ee5f
mov eax, dword [esp + 0x18]
mov dword [esp + 0x24], 0
mov byte [esp + 0xb0], 0x29
test eax, eax
je 0x46eb83
mov ecx, dword [eax]
lea edx, [esp + 0x24]
push edx
push 0x634b78
push eax
mov eax, dword [ecx]
call eax
mov byte [esp + 0xb0], 0x2a
cmp dword [esp + 0x24], 0
je 0x46ee0e
mov esi, 1
mov dword [esp + 0x34], esi
call fcn.005bc43d
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x46e69a
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x20], eax
mov byte [esp + 0xb0], 0x2c
lea ecx, [esp + 0x44]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov byte [esp + 0xb0], 0x2d
lea edx, [esp + 0x44]
push edx
call ebp
push esi
lea eax, [esp + 0x24]
push str.CHAPTER_02d
push eax
call fcn.00469400
mov eax, dword [esp + 0x30]
mov edi, dword [esp + 0x2c]
mov ecx, dword [eax]
add esp, 0xc
push 0
lea edx, [esp + 0x48]
push edx
push edi
push eax
mov eax, dword [ecx + 0xc]
call eax
test eax, eax
jne 0x46edca
lea ecx, [esp + 0x44]
push ecx
lea ecx, [esp + 0x60]
call fcn.0046c9a0
mov byte [esp + 0xb0], 0x2f
mov eax, dword [eax]
lea edx, [esp + 0x3c]
push edx
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x5c]
push edx
push ecx
lea edx, [esp + 0x68]
push edx
push ecx
lea edx, [esp + 0x78]
push edx
push 0x63cb20
push eax
call fcn.005dedeb
add esp, 0x24
cmp eax, 7
setne bl
mov byte [esp + 0xb0], 0x2d
mov eax, dword [esp + 0x5c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46ec87
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
jne 0x46eddb
call fcn.005bc43d
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x46e69a
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x38], eax
mov byte [esp + 0xb0], 0x33
push esi
lea ecx, [esp + 0x3c]
push 0x63cb58
push ecx
call fcn.00469400
add esp, 0xc
lea edx, [esp + 0x44]
push edx
call ebp
push 4
push str.NAME
lea ecx, [esp + 0x28]
call fcn.00444d80
mov eax, dword [esp + 0x24]
mov ebx, dword [esp + 0x20]
mov ecx, dword [eax]
push 0
lea edx, [esp + 0x48]
push edx
push ebx
push eax
mov eax, dword [ecx + 0xc]
call eax
test eax, eax
jne 0x46ed0f
lea ecx, [esp + 0x44]
push ecx
lea ecx, [esp + 0x3c]
call fcn.0046ca90
mov eax, dword [esp + 0x60]
mov edx, dword [esp + 0x2c]
mov esi, dword [edx + 0x190]
mov edx, dword [esp + 0x58]
mov edi, dword [esp + 0x38]
mov ecx, eax
shl ecx, 4
sub ecx, eax
lea eax, [edx + ecx*4]
mov edx, dword [esp + 0x54]
mov ecx, eax
mov ebp, dword [esi]
shl ecx, 4
sub ecx, eax
lea eax, [edx + ecx*4]
imul eax, eax, 0x3e8
add eax, dword [esp + 0x3c]
push edi
push 0
cdq
push 0x2710
push edx
push eax
call fcn.005d9dc0
push edx
push eax
mov eax, dword [ebp + 0x18]
push esi
call eax
mov byte [esp + 0xb0], 0x2d
lea eax, [edi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46ed85
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xb0], 0x2c
mov ebp, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea ecx, [esp + 0x44]
push ecx
call ebp
mov byte [esp + 0xb0], 0x2a
lea eax, [ebx - 0x10]
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x46edbe
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x34]
add esi, 1
jmp 0x46eb9b
mov byte [esp + 0xb0], 0x2c
lea ecx, [esp + 0x44]
push ecx
call ebp
jmp 0x46edea
mov byte [esp + 0xb0], 0x2c
lea ecx, [esp + 0x44]
push ecx
call ebp
mov byte [esp + 0xb0], 0x2a
lea eax, [edi - 0x10]
or ecx, 0xffffffff
lea edx, [eax + 0xc]
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x46ee0e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xb0], 0x27
mov eax, dword [esp + 0x24]
test eax, eax
je 0x46ee26
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x18]
test eax, eax
je 0x46ee3e
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x18], 0
mov eax, dword [esp + 0x28]
mov ecx, dword [eax]
push 0
lea edx, [esp + 0x1c]
push edx
push 1
push eax
mov eax, dword [ecx + 0xc]
call eax
test eax, eax
mov edi, dword [esp + 0x1c]
je 0x46eb40
mov byte [esp + 0xb0], 0x25
mov eax, dword [esp + 0x18]
test eax, eax
je 0x46ee77
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0xb0], 1
mov eax, dword [esp + 0x28]
test eax, eax
je 0x46ee8f
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
test edi, edi
jne 0x46ea62
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + 0x190]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x28]
push eax
call edx
mov dword [esp + 0xb0], 0xffffffff
lea ecx, [esp + 0x64]
call fcn.0041c0d0
mov ecx, dword [esp + 0xa8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret