Function at 0x446830
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push 0x402bf6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xb0
push ebx
push esi
push edi
mov dword [ebp - 0x14], esp
mov dword [ebp - 0x10], 0x4021a0
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x84], ebx
push 1
call dword [sym.imp.MSVBVM60.DLL___vbaOnError]
movsx eax, word [ebp + 8]
cmp eax, 3
ja case.default.0x44689d
jmp dword [eax*4 + 0x4470b8]
mov eax, dword [0x45e0c0]
push eax
push 1
call dword [sym.imp.MSVBVM60.DLL___vbaUbound]
test eax, eax
jle case.default.0x44689d
cmp dword [0x45e0c8], ebx
jne 0x4468d2
push 0x45e0c8
push 0x403960
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov esi, dword [0x45e0c8]
mov ecx, dword [esi]
push 0x45e0c4
push 0x45e0c0
push 0xffffffffffffffff
push esi
call dword [ecx + 0x1c]
fnclex
cmp eax, ebx
jge case.default.0x44689d
push 0x1c
push 0x40f4b8
push esi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
jmp case.default.0x44689d
mov edx, dword [0x45e0c0]
push edx
push 1
call dword [sym.imp.MSVBVM60.DLL___vbaUbound]
test eax, eax
jle case.default.0x44689d
cmp dword [0x45e0c8], ebx
jne 0x446937
push 0x45e0c8
push 0x403960
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov esi, dword [0x45e0c8]
mov eax, dword [esi]
push 0x45e0c4
push 0x45e0c0
push ebx
push esi
call dword [eax + 0x1c]
jmp 0x4468ea
call fcn.00440810
mov edx, eax
lea ecx, [ebp - 0x3c]
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
call edi
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x3c], ebx
push 0x40fdbc
push 0x40ba68
lea ecx, [ebp - 0x34]
call edi
push eax
push 0x40e318
call dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
mov edx, eax
lea ecx, [ebp - 0x38]
call edi
push eax
call fcn.00445660
mov edx, eax
lea ecx, [ebp - 0x2c]
call edi
lea ecx, [ebp - 0x3c]
push ecx
lea edx, [ebp - 0x38]
push edx
lea eax, [ebp - 0x34]
push eax
push 3
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStrList]
add esp, 0x10
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaLenBstr]
cmp eax, 2
jl case.default.0x44689d
mov dword [ebp - 0x64], 0x40a5b4
mov dword [ebp - 0x6c], 8
lea edx, [ebp - 0x6c]
lea ecx, [ebp - 0x4c]
call dword [sym.imp.MSVBVM60.DLL___vbaVarDup]
push ebx
push 0xffffffffffffffff
lea edx, [ebp - 0x4c]
push edx
mov eax, dword [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x5c]
push ecx
call dword [sym.imp.MSVBVM60.DLL_rtcSplit]
lea edx, [ebp - 0x5c]
push edx
push 0x2008
call dword [sym.imp.MSVBVM60.DLL___vbaAryVar]
mov dword [ebp - 0x84], eax
lea eax, [ebp - 0x84]
push eax
lea ecx, [ebp - 0x30]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaAryCopy]
lea edx, [ebp - 0x5c]
push edx
lea eax, [ebp - 0x4c]
push eax
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0xc
cmp dword [0x45e0bc], ebx
jne 0x446a41
push 0x45e0bc
push 0x40c3e8
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov esi, dword [0x45e0bc]
mov ecx, dword [esi]
push esi
call dword [ecx + 0x44]
fnclex
cmp eax, ebx
jge 0x446a62
push 0x44
push 0x40c3d8
push esi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov edx, dword [ebp - 0x30]
push edx
push 1
call dword [sym.imp.MSVBVM60.DLL___vbaUbound]
sub eax, 1
jo 0x4470c8
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x24], ebx
cmp dword [ebp - 0x24], eax
jg 0x446bf3
mov ecx, dword [ebp - 0x30]
cmp ecx, ebx
je 0x446ab3
cmp word [ecx], 1
jne 0x446ab3
mov esi, dword [ebp - 0x24]
sub esi, dword [ecx + 0x14]
cmp esi, dword [ecx + 0x10]
jb 0x446aaa
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov ecx, dword [ebp - 0x30]
lea eax, [esi*4]
jmp 0x446abc
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov ecx, dword [ebp - 0x30]
mov ecx, dword [ecx + 0xc]
mov edx, dword [ecx + eax]
push edx
call dword [sym.imp.MSVBVM60.DLL_rtcR8ValFromBstr]
call dword [sym.imp.MSVBVM60.DLL___vbaFpI4]
push eax
call fcn.00446680
mov edx, eax
lea ecx, [ebp - 0x2c]
call edi
cmp dword [0x45e0bc], ebx
jne 0x446af4
push 0x45e0bc
push 0x40c3e8
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov esi, dword [0x45e0bc]
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x6c], 0x4008
mov ecx, dword [esi]
lea edx, [ebp - 0x80]
push edx
lea eax, [ebp - 0x6c]
push eax
push esi
call dword [ecx + 0x30]
fnclex
cmp eax, ebx
jge 0x446b2a
push 0x30
push 0x40c3d8
push esi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
cmp word [ebp - 0x80], bx
jne 0x446bd7
cmp dword [0x45e0bc], ebx
jne 0x446b4c
push 0x45e0bc
push 0x40c3e8
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov esi, dword [0x45e0bc]
mov ecx, dword [ebp - 0x30]
cmp ecx, ebx
je 0x446b7e
cmp word [ecx], 1
jne 0x446b7e
mov ebx, dword [ebp - 0x24]
sub ebx, dword [ecx + 0x14]
cmp ebx, dword [ecx + 0x10]
jb 0x446b73
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov ecx, dword [ebp - 0x30]
lea eax, [ebx*4]
xor ebx, ebx
jmp 0x446b87
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov ecx, dword [ebp - 0x30]
mov ecx, dword [ecx + 0xc]
mov edx, dword [ecx + eax]
push edx
call dword [sym.imp.MSVBVM60.DLL_rtcR8ValFromBstr]
fstp qword [ebp - 0x44]
mov dword [ebp - 0x4c], 5
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x6c], 0x4008
mov ecx, dword [esi]
lea edx, [ebp - 0x4c]
push edx
lea eax, [ebp - 0x6c]
push eax
push esi
call dword [ecx + 0x28]
fnclex
cmp eax, ebx
jge 0x446bce
push 0x28
push 0x40c3d8
push esi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
lea ecx, [ebp - 0x4c]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
mov eax, 1
add eax, dword [ebp - 0x24]
jo 0x4470c8
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0xa0]
jmp 0x446a80
call fcn.00440810
mov edx, eax
lea ecx, [ebp - 0x3c]
call edi
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x3c], 0
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x34]
call edi
push eax
push 0x40fcd8
call dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
mov edx, eax
lea ecx, [ebp - 0x38]
call edi
push eax
call fcn.004414f0
lea edx, [ebp - 0x3c]
push edx
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x34]
push ecx
push 3
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStrList]
add esp, 0x10
lea edx, [ebp - 0x20]
push edx
call fcn.0042b5d0
lea eax, [ebp - 0x20]
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x6c], 0x6011
push 0
push 0x40
lea ecx, [ebp - 0x6c]
push ecx
lea edx, [ebp - 0x4c]
push edx
call dword [sym.imp.MSVBVM60.DLL_rtcStrConvVar2]
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarMove]
mov edx, eax
lea ecx, [ebp - 0x2c]
call edi
lea ecx, [ebp - 0x4c]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
mov dword [ebp - 0x64], 0x40c3fc
mov dword [ebp - 0x6c], 8
lea edx, [ebp - 0x6c]
lea ecx, [ebp - 0x4c]
call dword [sym.imp.MSVBVM60.DLL___vbaVarDup]
push 0
push 0xffffffffffffffff
lea ecx, [ebp - 0x4c]
push ecx
mov edx, dword [ebp - 0x2c]
push edx
lea eax, [ebp - 0x5c]
push eax
call dword [sym.imp.MSVBVM60.DLL_rtcSplit]
lea ecx, [ebp - 0x5c]
push ecx
push 0x2008
call dword [sym.imp.MSVBVM60.DLL___vbaAryVar]
mov dword [ebp - 0x84], eax
lea edx, [ebp - 0x84]
push edx
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaAryCopy]
lea ecx, [ebp - 0x5c]
push ecx
lea edx, [ebp - 0x4c]
push edx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0xc
push 0
mov eax, dword [ebp - 0x30]
push eax
push 1
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaUbound]
call ebx
push eax
push 1
push 8
push 0x45e0c0
push 4
push 0x180
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaRedim]
call esi
add esp, 0x1c
push 0
mov ecx, dword [ebp - 0x30]
push ecx
push 1
call ebx
push eax
push 1
push 8
push 0x45e0c4
push 4
push 0x180
call esi
add esp, 0x1c
xor ebx, ebx
mov edx, dword [ebp - 0x30]
push edx
push 1
call dword [sym.imp.MSVBVM60.DLL___vbaUbound]
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0x24], ebx
mov esi, dword [ebp - 0x24]
cmp esi, dword [ebp - 0xa8]
jg 0x446fb1
mov ecx, dword [ebp - 0x30]
test ecx, ecx
je 0x446d86
cmp word [ecx], 1
jne 0x446d86
sub esi, dword [ecx + 0x14]
cmp esi, dword [ecx + 0x10]
jb 0x446d7d
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov ecx, dword [ebp - 0x30]
lea eax, [esi*4]
jmp 0x446d8f
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov ecx, dword [ebp - 0x30]
push 0x40a5b4
push 1
mov ecx, dword [ecx + 0xc]
mov edx, dword [ecx + eax]
push edx
call fcn.004375d0
mov edx, eax
lea ecx, [ebp - 0x34]
call edi
mov eax, dword [0x45e0bc]
test eax, eax
jne 0x446dc2
push 0x45e0bc
push 0x40c3e8
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov esi, dword [0x45e0bc]
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x4c], 8
mov eax, dword [esi]
lea ecx, [ebp - 0x80]
push ecx
lea edx, [ebp - 0x4c]
push edx
push esi
call dword [eax + 0x30]
fnclex
test eax, eax
jge 0x446dff
push 0x30
push 0x40c3d8
push esi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
xor eax, eax
cmp word [ebp - 0x80], 0xffff
sete al
neg eax
mov esi, eax
lea ecx, [ebp - 0x34]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea ecx, [ebp - 0x4c]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
test si, si
je 0x446f9b
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x446e55
cmp word [eax], 1
jne 0x446e55
mov esi, dword [ebp - 0x24]
sub esi, dword [eax + 0x14]
cmp esi, dword [eax + 0x10]
jb 0x446e46
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
lea ecx, [esi*4]
mov dword [ebp - 0xc8], ecx
jmp 0x446e61
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov dword [ebp - 0xc8], eax
mov eax, dword [0x45e0c0]
test eax, eax
je 0x446e85
cmp word [eax], 1
jne 0x446e85
mov esi, ebx
sub esi, dword [eax + 0x14]
cmp esi, dword [eax + 0x10]
jb 0x446e80
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
shl esi, 2
jmp 0x446e8d
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov esi, eax
push 0x40a5b4
push 2
mov edx, dword [ebp - 0x30]
mov eax, dword [edx + 0xc]
mov ecx, dword [ebp - 0xc8]
mov edx, dword [eax + ecx]
push edx
call fcn.004375d0
mov edx, eax
lea ecx, [ebp - 0x34]
call edi
mov edx, eax
mov eax, dword [0x45e0c0]
mov ecx, dword [eax + 0xc]
add ecx, esi
call dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
lea ecx, [ebp - 0x34]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x446ef8
cmp word [eax], 1
jne 0x446ef8
mov esi, dword [ebp - 0x24]
sub esi, dword [eax + 0x14]
cmp esi, dword [eax + 0x10]
jb 0x446ee9
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
lea ecx, [esi*4]
mov dword [ebp - 0xcc], ecx
jmp 0x446f04
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov dword [ebp - 0xcc], eax
mov eax, dword [0x45e0c4]
test eax, eax
je 0x446f28
cmp word [eax], 1
jne 0x446f28
mov esi, ebx
sub esi, dword [eax + 0x14]
cmp esi, dword [eax + 0x10]
jb 0x446f23
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
shl esi, 2
jmp 0x446f30
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov esi, eax
push 0x40a5b4
push 3
mov edx, dword [ebp - 0x30]
mov eax, dword [edx + 0xc]
mov ecx, dword [ebp - 0xcc]
mov edx, dword [eax + ecx]
push edx
call fcn.004375d0
mov edx, eax
lea ecx, [ebp - 0x34]
call edi
push eax
call dword [sym.imp.MSVBVM60.DLL_rtcR8ValFromBstr]
call dword [sym.imp.MSVBVM60.DLL___vbaFpI4]
push eax
call fcn.004382c0
mov edx, eax
lea ecx, [ebp - 0x38]
call edi
mov edx, eax
mov eax, dword [0x45e0c4]
mov ecx, dword [eax + 0xc]
add ecx, esi
call dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
lea ecx, [ebp - 0x38]
push ecx
lea edx, [ebp - 0x34]
push edx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStrList]
add esp, 0xc
add ebx, 1
jo 0x4470c8
mov eax, 1
add eax, dword [ebp - 0x24]
jo 0x4470c8
mov dword [ebp - 0x24], eax
jmp 0x446d50
push 0
mov eax, ebx
sub eax, 1
jo 0x4470c8
push eax
push 1
push 8
push 0x45e0c0
push 4
push 0x180
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaRedimPreserve]
call esi
push 0
sub ebx, 1
jo 0x4470c8
jmp 0x447038
cmp dword [0x45e0bc], ebx
jne 0x446ffc
push 0x45e0bc
push 0x40c3e8
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov esi, dword [0x45e0bc]
mov ecx, dword [esi]
push esi
call dword [ecx + 0x44]
fnclex
cmp eax, ebx
jge 0x44701d
push 0x44
push 0x40c3d8
push esi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
push ebx
push ebx
push 1
push 8
push 0x45e0c0
push 4
push 0x180
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaRedim]
call esi
push ebx
push ebx
push 1
push 8
push 0x45e0c4
push 4
push 0x180
call esi
add esp, 0x38
call dword [sym.imp.MSVBVM60.DLL___vbaExitProc]
wait
push 0x4470a4
jmp 0x447084
lea ecx, [ebp - 0x20]
push ecx
push 0
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaAryDestruct]
call esi
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea edx, [ebp - 0x30]
push edx
push 0
call esi
ret
call dword [sym.imp.MSVBVM60.DLL___vbaErrorOverflow]
nop
nop
push ebp
mov ebp, esp
sub esp, 0xc
push 0x402bf6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
push edi
mov dword [ebp - 0xc], esp
mov dword [ebp - 8], 0x4021c8
xor edi, edi
mov dword [ebp - 4], edi
mov esi, dword [ebp + 8]
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], edi
mov edi, dword [ebp + 0x10]
cmp edi, 0x8001
jne 0x44714b
mov ecx, dword [esi]
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp + 0x18]
push eax
push esi
call dword [ecx + 0xe0]
mov ecx, dword [esi]
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp + 0x18]
push eax
push esi
call dword [ecx + 0xdc]
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
mov ecx, dword [esi]
push edx
push eax
push esi
call dword [ecx + 0x8c]
cmp edi, 0x8000
jne 0x447175
mov ecx, dword [esi]
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp + 0x18]
push eax
push esi
call dword [ecx + 0xdc]
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp + 0x14]
mov ecx, dword [esi]
push edx
push eax
push esi
call dword [ecx + 0x88]
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x14]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x14