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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5faa0b
mov eax, dword fs:[0]
push eax
sub esp, 0x94
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6f1550]
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.004dc130
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 0x45eeb5
mov ecx, dword [eax]
lea edx, [esp + 0x18]
push edx
push eax
mov eax, dword [ecx + 0x14]
call eax
test eax, eax
jl 0x45eeb5
lea ecx, [esp + 0x1c]
call fcn.004087b0
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 0x45ee9d
mov ecx, dword [esp + 0x1c]
push ecx
lea ecx, [esp + 0x68]
call fcn.00418ab0
mov eax, dword [esp + 0x1c]
cmp eax, edi
je 0x45ee85
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 0x45ee63
mov byte [esp + 0xb0], 3
mov eax, dword [esp + 0x1c]
cmp eax, edi
je 0x45eeb5
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 0x45eecd
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 0x45efe9
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 0x45efe5
test ebp, ebp
setne al
test eax, eax
je 0x45f05a
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 0x45ef34
mov ecx, dword [eax]
lea edx, [esp + 0x1c]
push edx
push 0x61d488
push eax
mov eax, dword [ecx]
call eax
mov byte [esp + 0xb0], bl
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x45ef48
jmp 0x45efc5
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
push eax
xor esi, esi
call edx
mov edi, eax
test edi, edi
jbe 0x45efc5
jmp 0x45ef60
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 0x45efac
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 0x45ef60
mov byte [esp + 0xb0], 1
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x45efdd
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
test ebp, ebp
jne 0x45eee0
mov eax, dword [esp + 0x64]
test eax, eax
mov esi, eax
je 0x45f219
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 0x45f215
test esi, esi
setne al
test eax, eax
je 0x45f05a
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 0x45f046
mov ecx, dword [eax]
lea edx, [esp + 0x18]
push edx
push 0x61d544
push eax
mov eax, dword [ecx]
call eax
mov byte [esp + 0xb0], 0x11
cmp dword [esp + 0x18], 0
jne 0x45f064
jmp 0x45f1f5
push 0x80004005
call fcn.00401480
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.004895f0
add esp, 8
mov byte [esp + 0xb0], 0x14
mov eax, dword [esp + 0x20]
cmp dword [eax - 0xc], 3
jge 0x45f0ac
push 3
push 0x61db9c
lea ecx, [esp + 0x28]
call fcn.00401c00
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 0x45f1cd
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 0x45f1c2
mov eax, dword [esp + 0x20]
cmp dword [eax - 0xc], 0
jl 0x45f298
mov cl, byte [eax]
mov byte [esp + 0x30], cl
cmp dword [eax - 0xc], 1
jl 0x45f298
mov dl, byte [eax + 1]
mov byte [esp + 0x31], dl
cmp dword [eax - 0xc], 2
jl 0x45f298
mov al, byte [eax + 2]
mov cx, word [0x61db98]
mov dl, byte [0x61db9a]
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 0x45f18c
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 0x45f0d0
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 0x45f1f5
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 0x45f20d
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
test esi, esi
jne 0x45eff3
mov eax, dword [esp + 0x64]
xor edi, edi
cmp eax, edi
mov esi, eax
je 0x45f412
mov bl, 0x1f
jmp 0x45f230
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 0x45f40e
cmp esi, edi
setne al
cmp eax, edi
je 0x45f05a
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 0x45f283
mov ecx, dword [eax]
lea edx, [esp + 0x18]
push edx
push 0x61d22c
push eax
mov eax, dword [ecx]
call eax
mov byte [esp + 0xb0], 0x1b
mov eax, dword [esp + 0x18]
cmp eax, edi
jne 0x45f2a2
jmp 0x45f3ee
push 0x80070057
call fcn.00401480
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 0x45f3ee
mov ebp, 1
cmp dword [esp + 0x28], ebp
jl 0x45f3ee
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 0x45f3df
call fcn.005a2e2e
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x45f05a
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 0x61db80
push ecx
call fcn.0045a920
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 0x45f37b
mov esi, dword [esp + 0x24]
test esi, esi
je 0x45f370
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x45f361
sub eax, edx
sar eax, 1
push eax
push esi
lea ecx, [esp + 0x28]
call fcn.00412960
mov eax, dword [esp + 0x2c]
fld qword [esp + 0x3c]
mov esi, dword [eax + 0x190]
fmul qword [0x613ce0]
mov edi, dword [esp + 0x20]
mov ebx, dword [esi]
push edi
call fcn.005c2136
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 0x45f3db
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 0x45f2d0
xor edi, edi
mov byte [esp + 0xb0], 1
mov eax, dword [esp + 0x18]
cmp eax, edi
je 0x45f406
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp esi, edi
jne 0x45f230
mov eax, dword [esp + 0x64]
test eax, eax
mov edi, eax
je 0x45f857
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 0x45f857
test edi, edi
setne al
test eax, eax
je 0x45f05a
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.00486640
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 0x61d10c
push eax
mov dword [esp + 0x94], ecx
mov dword [esp + 0x98], edx
call fcn.00401260
add esp, 0x10
test eax, eax
je 0x45f84f
mov dword [esp + 0x28], 0
mov byte [esp + 0xb0], 0x25
test esi, esi
je 0x45f837
mov ecx, dword [esi]
mov eax, dword [ecx + 0x28]
lea edx, [esp + 0x28]
push edx
push esi
call eax
test eax, eax
jl 0x45f837
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 0x45f81f
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 0x45f81f
mov eax, dword [esp + 0x18]
mov dword [esp + 0x24], 0
mov byte [esp + 0xb0], 0x29
test eax, eax
je 0x45f543
mov ecx, dword [eax]
lea edx, [esp + 0x24]
push edx
push 0x615bd4
push eax
mov eax, dword [ecx]
call eax
mov byte [esp + 0xb0], 0x2a
cmp dword [esp + 0x24], 0
je 0x45f7ce
mov esi, 1
mov dword [esp + 0x34], esi
call fcn.005a2e2e
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x45f05a
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.0045a920
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 0x45f78a
lea ecx, [esp + 0x44]
push ecx
lea ecx, [esp + 0x60]
call fcn.0045d790
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 0x61db48
push eax
call fcn.005c4667
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 0x45f647
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
jne 0x45f79b
call fcn.005a2e2e
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x45f05a
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 0x61db80
push ecx
call fcn.0045a920
add esp, 0xc
lea edx, [esp + 0x44]
push edx
call ebp
push 4
push str.NAME
lea ecx, [esp + 0x28]
call fcn.00436fa0
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 0x45f6cf
lea ecx, [esp + 0x44]
push ecx
lea ecx, [esp + 0x3c]
call fcn.0045d880
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.005bf960
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 0x45f745
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 0x45f77e
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 0x45f55b
mov byte [esp + 0xb0], 0x2c
lea ecx, [esp + 0x44]
push ecx
call ebp
jmp 0x45f7aa
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 0x45f7ce
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 0x45f7e6
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x18]
test eax, eax
je 0x45f7fe
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 0x45f500
mov byte [esp + 0xb0], 0x25
mov eax, dword [esp + 0x18]
test eax, eax
je 0x45f837
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 0x45f84f
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
test edi, edi
jne 0x45f422
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.00414d50
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