Function at 0x441a60
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push 0x402836
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], 0x402110
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.0x441acd
jmp dword [eax*4 + 0x4422e8]
mov eax, dword [0x4540c0]
push eax
push 1
call dword [sym.imp.MSVBVM60.DLL___vbaUbound]
test eax, eax
jle case.default.0x441acd
cmp dword [0x4540c8], ebx
jne 0x441b02
push 0x4540c8
push 0x4034fc
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov esi, dword [0x4540c8]
mov ecx, dword [esi]
push 0x4540c4
push 0x4540c0
push 0xffffffffffffffff
push esi
call dword [ecx + 0x1c]
fnclex
cmp eax, ebx
jge case.default.0x441acd
push 0x1c
push 0x40e314
push esi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
jmp case.default.0x441acd
mov edx, dword [0x4540c0]
push edx
push 1
call dword [sym.imp.MSVBVM60.DLL___vbaUbound]
test eax, eax
jle case.default.0x441acd
cmp dword [0x4540c8], ebx
jne 0x441b67
push 0x4540c8
push 0x4034fc
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov esi, dword [0x4540c8]
mov eax, dword [esi]
push 0x4540c4
push 0x4540c0
push ebx
push esi
call dword [eax + 0x1c]
jmp 0x441b1a
call fcn.0043baf0
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 0x40ec08
push 0x40a970
lea ecx, [ebp - 0x34]
call edi
push eax
push 0x40cf7c
call dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
mov edx, eax
lea ecx, [ebp - 0x38]
call edi
push eax
call fcn.00440890
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.0x441acd
mov dword [ebp - 0x64], 0x409534
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 [0x4540bc], ebx
jne 0x441c71
push 0x4540bc
push 0x40b30c
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov esi, dword [0x4540bc]
mov ecx, dword [esi]
push esi
call dword [ecx + 0x44]
fnclex
cmp eax, ebx
jge 0x441c92
push 0x44
push 0x40b2fc
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 0x4422f8
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x24], ebx
cmp dword [ebp - 0x24], eax
jg 0x441e23
mov ecx, dword [ebp - 0x30]
cmp ecx, ebx
je 0x441ce3
cmp word [ecx], 1
jne 0x441ce3
mov esi, dword [ebp - 0x24]
sub esi, dword [ecx + 0x14]
cmp esi, dword [ecx + 0x10]
jb 0x441cda
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov ecx, dword [ebp - 0x30]
lea eax, [esi*4]
jmp 0x441cec
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.004418b0
mov edx, eax
lea ecx, [ebp - 0x2c]
call edi
cmp dword [0x4540bc], ebx
jne 0x441d24
push 0x4540bc
push 0x40b30c
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov esi, dword [0x4540bc]
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 0x441d5a
push 0x30
push 0x40b2fc
push esi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
cmp word [ebp - 0x80], bx
jne 0x441e07
cmp dword [0x4540bc], ebx
jne 0x441d7c
push 0x4540bc
push 0x40b30c
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov esi, dword [0x4540bc]
mov ecx, dword [ebp - 0x30]
cmp ecx, ebx
je 0x441dae
cmp word [ecx], 1
jne 0x441dae
mov ebx, dword [ebp - 0x24]
sub ebx, dword [ecx + 0x14]
cmp ebx, dword [ecx + 0x10]
jb 0x441da3
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov ecx, dword [ebp - 0x30]
lea eax, [ebx*4]
xor ebx, ebx
jmp 0x441db7
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 0x441dfe
push 0x28
push 0x40b2fc
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 0x4422f8
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0xa0]
jmp 0x441cb0
call fcn.0043baf0
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 0x40f0a4
call dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
mov edx, eax
lea ecx, [ebp - 0x38]
call edi
push eax
call fcn.0043c740
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.00427810
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], 0x40b320
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 0x4540c0
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 0x4540c4
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 0x4421e1
mov ecx, dword [ebp - 0x30]
test ecx, ecx
je 0x441fb6
cmp word [ecx], 1
jne 0x441fb6
sub esi, dword [ecx + 0x14]
cmp esi, dword [ecx + 0x10]
jb 0x441fad
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov ecx, dword [ebp - 0x30]
lea eax, [esi*4]
jmp 0x441fbf
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov ecx, dword [ebp - 0x30]
push 0x409534
push 1
mov ecx, dword [ecx + 0xc]
mov edx, dword [ecx + eax]
push edx
call fcn.00432b80
mov edx, eax
lea ecx, [ebp - 0x34]
call edi
mov eax, dword [0x4540bc]
test eax, eax
jne 0x441ff2
push 0x4540bc
push 0x40b30c
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov esi, dword [0x4540bc]
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 0x44202f
push 0x30
push 0x40b2fc
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 0x4421cb
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x442085
cmp word [eax], 1
jne 0x442085
mov esi, dword [ebp - 0x24]
sub esi, dword [eax + 0x14]
cmp esi, dword [eax + 0x10]
jb 0x442076
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
lea ecx, [esi*4]
mov dword [ebp - 0xc8], ecx
jmp 0x442091
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov dword [ebp - 0xc8], eax
mov eax, dword [0x4540c0]
test eax, eax
je 0x4420b5
cmp word [eax], 1
jne 0x4420b5
mov esi, ebx
sub esi, dword [eax + 0x14]
cmp esi, dword [eax + 0x10]
jb 0x4420b0
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
shl esi, 2
jmp 0x4420bd
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov esi, eax
push 0x409534
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.00432b80
mov edx, eax
lea ecx, [ebp - 0x34]
call edi
mov edx, eax
mov eax, dword [0x4540c0]
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 0x442128
cmp word [eax], 1
jne 0x442128
mov esi, dword [ebp - 0x24]
sub esi, dword [eax + 0x14]
cmp esi, dword [eax + 0x10]
jb 0x442119
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
lea ecx, [esi*4]
mov dword [ebp - 0xcc], ecx
jmp 0x442134
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov dword [ebp - 0xcc], eax
mov eax, dword [0x4540c4]
test eax, eax
je 0x442158
cmp word [eax], 1
jne 0x442158
mov esi, ebx
sub esi, dword [eax + 0x14]
cmp esi, dword [eax + 0x10]
jb 0x442153
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
shl esi, 2
jmp 0x442160
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov esi, eax
push 0x409534
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.00432b80
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.00433870
mov edx, eax
lea ecx, [ebp - 0x38]
call edi
mov edx, eax
mov eax, dword [0x4540c4]
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 0x4422f8
mov eax, 1
add eax, dword [ebp - 0x24]
jo 0x4422f8
mov dword [ebp - 0x24], eax
jmp 0x441f80
push 0
mov eax, ebx
sub eax, 1
jo 0x4422f8
push eax
push 1
push 8
push 0x4540c0
push 4
push 0x180
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaRedimPreserve]
call esi
push 0
sub ebx, 1
jo 0x4422f8
jmp 0x442268
cmp dword [0x4540bc], ebx
jne 0x44222c
push 0x4540bc
push 0x40b30c
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov esi, dword [0x4540bc]
mov ecx, dword [esi]
push esi
call dword [ecx + 0x44]
fnclex
cmp eax, ebx
jge 0x44224d
push 0x44
push 0x40b2fc
push esi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
push ebx
push ebx
push 1
push 8
push 0x4540c0
push 4
push 0x180
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaRedim]
call esi
push ebx
push ebx
push 1
push 8
push 0x4540c4
push 4
push 0x180
call esi
add esp, 0x38
call dword [sym.imp.MSVBVM60.DLL___vbaExitProc]
wait
push 0x4422d4
jmp 0x4422b4
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 0x402836
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], 0x402138
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 0x44237b
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 0x4423a5
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