Function at 0x42d4e0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push 0x401d96
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], 0x401d60
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.0x42d54d
jmp dword [eax*4 + 0x42dd68]
mov eax, dword [0x42f080]
push eax
push 1
call dword [sym.imp.MSVBVM60.DLL___vbaUbound]
test eax, eax
jle case.default.0x42d54d
cmp dword [0x42f088], ebx
jne 0x42d582
push 0x42f088
push 0x4026c8
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov esi, dword [0x42f088]
mov ecx, dword [esi]
push 0x42f084
push 0x42f080
push 0xffffffffffffffff
push esi
call dword [ecx + 0x1c]
fnclex
cmp eax, ebx
jge case.default.0x42d54d
push 0x1c
push 0x40a14c
push esi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
jmp case.default.0x42d54d
mov edx, dword [0x42f080]
push edx
push 1
call dword [sym.imp.MSVBVM60.DLL___vbaUbound]
test eax, eax
jle case.default.0x42d54d
cmp dword [0x42f088], ebx
jne 0x42d5e7
push 0x42f088
push 0x4026c8
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov esi, dword [0x42f088]
mov eax, dword [esi]
push 0x42f084
push 0x42f080
push ebx
push esi
call dword [eax + 0x1c]
jmp 0x42d59a
call fcn.00428900
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 0x409ce4
push 0x407a58
lea ecx, [ebp - 0x34]
call edi
push eax
push 0x4090d4
call dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
mov edx, eax
lea ecx, [ebp - 0x38]
call edi
push eax
call fcn.0042c920
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.0x42d54d
mov dword [ebp - 0x64], 0x4067dc
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 [0x42f07c], ebx
jne 0x42d6f1
push 0x42f07c
push 0x408410
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov esi, dword [0x42f07c]
mov ecx, dword [esi]
push esi
call dword [ecx + 0x44]
fnclex
cmp eax, ebx
jge 0x42d712
push 0x44
push 0x408400
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 0x42dd78
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x24], ebx
cmp dword [ebp - 0x24], eax
jg 0x42d8a3
mov ecx, dword [ebp - 0x30]
cmp ecx, ebx
je 0x42d763
cmp word [ecx], 1
jne 0x42d763
mov esi, dword [ebp - 0x24]
sub esi, dword [ecx + 0x14]
cmp esi, dword [ecx + 0x10]
jb 0x42d75a
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov ecx, dword [ebp - 0x30]
lea eax, [esi*4]
jmp 0x42d76c
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.0042d330
mov edx, eax
lea ecx, [ebp - 0x2c]
call edi
cmp dword [0x42f07c], ebx
jne 0x42d7a4
push 0x42f07c
push 0x408410
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov esi, dword [0x42f07c]
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 0x42d7da
push 0x30
push 0x408400
push esi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
cmp word [ebp - 0x80], bx
jne 0x42d887
cmp dword [0x42f07c], ebx
jne 0x42d7fc
push 0x42f07c
push 0x408410
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov esi, dword [0x42f07c]
mov ecx, dword [ebp - 0x30]
cmp ecx, ebx
je 0x42d82e
cmp word [ecx], 1
jne 0x42d82e
mov ebx, dword [ebp - 0x24]
sub ebx, dword [ecx + 0x14]
cmp ebx, dword [ecx + 0x10]
jb 0x42d823
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov ecx, dword [ebp - 0x30]
lea eax, [ebx*4]
xor ebx, ebx
jmp 0x42d837
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 0x42d87e
push 0x28
push 0x408400
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 0x42dd78
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0xa0]
jmp 0x42d730
call fcn.00428900
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 0x40a424
call dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
mov edx, eax
lea ecx, [ebp - 0x38]
call edi
push eax
call fcn.00428ee0
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.00417b10
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], 0x408424
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 0x42f080
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 0x42f084
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 0x42dc61
mov ecx, dword [ebp - 0x30]
test ecx, ecx
je 0x42da36
cmp word [ecx], 1
jne 0x42da36
sub esi, dword [ecx + 0x14]
cmp esi, dword [ecx + 0x10]
jb 0x42da2d
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov ecx, dword [ebp - 0x30]
lea eax, [esi*4]
jmp 0x42da3f
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov ecx, dword [ebp - 0x30]
push 0x4067dc
push 1
mov ecx, dword [ecx + 0xc]
mov edx, dword [ecx + eax]
push edx
call fcn.00421510
mov edx, eax
lea ecx, [ebp - 0x34]
call edi
mov eax, dword [0x42f07c]
test eax, eax
jne 0x42da72
push 0x42f07c
push 0x408410
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov esi, dword [0x42f07c]
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 0x42daaf
push 0x30
push 0x408400
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 0x42dc4b
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x42db05
cmp word [eax], 1
jne 0x42db05
mov esi, dword [ebp - 0x24]
sub esi, dword [eax + 0x14]
cmp esi, dword [eax + 0x10]
jb 0x42daf6
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
lea ecx, [esi*4]
mov dword [ebp - 0xc8], ecx
jmp 0x42db11
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov dword [ebp - 0xc8], eax
mov eax, dword [0x42f080]
test eax, eax
je 0x42db35
cmp word [eax], 1
jne 0x42db35
mov esi, ebx
sub esi, dword [eax + 0x14]
cmp esi, dword [eax + 0x10]
jb 0x42db30
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
shl esi, 2
jmp 0x42db3d
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov esi, eax
push 0x4067dc
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.00421510
mov edx, eax
lea ecx, [ebp - 0x34]
call edi
mov edx, eax
mov eax, dword [0x42f080]
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 0x42dba8
cmp word [eax], 1
jne 0x42dba8
mov esi, dword [ebp - 0x24]
sub esi, dword [eax + 0x14]
cmp esi, dword [eax + 0x10]
jb 0x42db99
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
lea ecx, [esi*4]
mov dword [ebp - 0xcc], ecx
jmp 0x42dbb4
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov dword [ebp - 0xcc], eax
mov eax, dword [0x42f084]
test eax, eax
je 0x42dbd8
cmp word [eax], 1
jne 0x42dbd8
mov esi, ebx
sub esi, dword [eax + 0x14]
cmp esi, dword [eax + 0x10]
jb 0x42dbd3
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
shl esi, 2
jmp 0x42dbe0
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov esi, eax
push 0x4067dc
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.00421510
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.00421e80
mov edx, eax
lea ecx, [ebp - 0x38]
call edi
mov edx, eax
mov eax, dword [0x42f084]
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 0x42dd78
mov eax, 1
add eax, dword [ebp - 0x24]
jo 0x42dd78
mov dword [ebp - 0x24], eax
jmp 0x42da00
push 0
mov eax, ebx
sub eax, 1
jo 0x42dd78
push eax
push 1
push 8
push 0x42f080
push 4
push 0x180
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaRedimPreserve]
call esi
push 0
sub ebx, 1
jo 0x42dd78
jmp 0x42dce8
cmp dword [0x42f07c], ebx
jne 0x42dcac
push 0x42f07c
push 0x408410
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov esi, dword [0x42f07c]
mov ecx, dword [esi]
push esi
call dword [ecx + 0x44]
fnclex
cmp eax, ebx
jge 0x42dccd
push 0x44
push 0x408400
push esi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
push ebx
push ebx
push 1
push 8
push 0x42f080
push 4
push 0x180
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaRedim]
call esi
push ebx
push ebx
push 1
push 8
push 0x42f084
push 4
push 0x180
call esi
add esp, 0x38
call dword [sym.imp.MSVBVM60.DLL___vbaExitProc]
wait
push 0x42dd54
jmp 0x42dd34
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
sahf
sahf
sahf
sahf
lodsb al, byte [esi]
fld qword [edx]
add bh, bh