Function at 0x586d7c
Capabilities:
Get geographical location
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push 0x40a936
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54
push ebx
push esi
push edi
mov dword [ebp - 0x14], esp
mov dword [ebp - 0x10], 0x407e08
xor esi, esi
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x48], esi
push 1
call sub.MSVBVM60.DLL___vbaOnError
push 0x464788
push 0x464838
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x24]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
push 0x464a2c
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x28]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
push 0x464c14
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x2c]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
push 0x464dfc
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x30]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
push 0x464fe4
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x34]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
push 0x4651d8
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x20]
call sub.MSVBVM60.DLL___vbaStrMove
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x24]
push eax
push 5
call sub.MSVBVM60.DLL___vbaFreeStrList
add esp, 0x18
cmp dword [0x6255b0], esi
jne 0x586e83
push 0x6255b0
push 0x450848
call sub.MSVBVM60.DLL___vbaNew2
mov ebx, dword [0x6255b0]
mov dword [ebp - 0x5c], ebx
mov edi, 0x80020004
mov dword [ebp - 0x40], edi
push 0xa
pop esi
mov dword [ebp - 0x48], esi
lea ecx, [ebp - 0x48]
call sub.MSVBVM60.DLL___vbaFreeVarg
mov eax, dword [ebx]
lea ecx, [ebp - 0x38]
push ecx
push 0xffffffffffffffff
lea ecx, [ebp - 0x48]
push ecx
push dword [ebp - 0x20]
push ebx
call dword [eax + 0x40]
fnclex
test eax, eax
jge 0x586ece
push 0x40
mov ebx, 0x4517d0
push ebx
push dword [ebp - 0x5c]
push eax
call sub.MSVBVM60.DLL___vbaHresultCheckObj
jmp 0x586ed3
mov ebx, 0x4517d0
lea ecx, [ebp - 0x38]
call sub.MSVBVM60.DLL___vbaFreeObj
lea ecx, [ebp - 0x48]
call sub.MSVBVM60.DLL___vbaFreeVar
mov edx, 0x4652e8
lea ecx, [ebp - 0x20]
call sub.MSVBVM60.DLL___vbaStrCopy
cmp dword [0x6255b0], 0
jne 0x586f08
push 0x6255b0
push 0x450848
call sub.MSVBVM60.DLL___vbaNew2
mov eax, dword [0x6255b0]
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x48], esi
lea ecx, [ebp - 0x48]
call sub.MSVBVM60.DLL___vbaFreeVarg
mov eax, dword [ebp - 0x5c]
mov ecx, dword [eax]
lea edx, [ebp - 0x38]
push edx
push 0xffffffffffffffff
lea edx, [ebp - 0x48]
push edx
push dword [ebp - 0x20]
push eax
call dword [ecx + 0x40]
fnclex
test eax, eax
jge 0x586f46
push 0x40
push ebx
push dword [ebp - 0x5c]
push eax
call sub.MSVBVM60.DLL___vbaHresultCheckObj
lea ecx, [ebp - 0x38]
call sub.MSVBVM60.DLL___vbaFreeObj
lea ecx, [ebp - 0x48]
call sub.MSVBVM60.DLL___vbaFreeVar
mov edx, 0x46535c
lea ecx, [ebp - 0x20]
call sub.MSVBVM60.DLL___vbaStrCopy
cmp dword [0x6255b0], 0
jne 0x586f7b
push 0x6255b0
push 0x450848
call sub.MSVBVM60.DLL___vbaNew2
mov eax, dword [0x6255b0]
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x48], esi
lea ecx, [ebp - 0x48]
call sub.MSVBVM60.DLL___vbaFreeVarg
mov eax, dword [ebp - 0x5c]
mov ecx, dword [eax]
lea edx, [ebp - 0x38]
push edx
push 0xffffffffffffffff
lea edx, [ebp - 0x48]
push edx
push dword [ebp - 0x20]
push eax
call dword [ecx + 0x40]
fnclex
test eax, eax
jge 0x586fb9
push 0x40
push ebx
push dword [ebp - 0x5c]
push eax
call sub.MSVBVM60.DLL___vbaHresultCheckObj
lea ecx, [ebp - 0x38]
call sub.MSVBVM60.DLL___vbaFreeObj
lea ecx, [ebp - 0x48]
call sub.MSVBVM60.DLL___vbaFreeVar
mov edx, 0x4650f0
lea ecx, [ebp - 0x20]
call sub.MSVBVM60.DLL___vbaStrCopy
cmp dword [0x6255b0], 0
jne 0x586fee
push 0x6255b0
push 0x450848
call sub.MSVBVM60.DLL___vbaNew2
mov eax, dword [0x6255b0]
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x48], esi
lea ecx, [ebp - 0x48]
call sub.MSVBVM60.DLL___vbaFreeVarg
mov eax, dword [ebp - 0x5c]
mov ecx, dword [eax]
lea edx, [ebp - 0x38]
push edx
push 0xffffffffffffffff
lea edx, [ebp - 0x48]
push edx
push dword [ebp - 0x20]
push eax
call dword [ecx + 0x40]
fnclex
test eax, eax
jge 0x58702c
push 0x40
push ebx
push dword [ebp - 0x5c]
push eax
call sub.MSVBVM60.DLL___vbaHresultCheckObj
lea ecx, [ebp - 0x38]
call sub.MSVBVM60.DLL___vbaFreeObj
lea ecx, [ebp - 0x48]
call sub.MSVBVM60.DLL___vbaFreeVar
mov edx, 0x464f44
lea ecx, [ebp - 0x20]
call sub.MSVBVM60.DLL___vbaStrCopy
cmp dword [0x6255b0], 0
jne 0x587061
push 0x6255b0
push 0x450848
call sub.MSVBVM60.DLL___vbaNew2
mov eax, dword [0x6255b0]
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x48], esi
lea ecx, [ebp - 0x48]
call sub.MSVBVM60.DLL___vbaFreeVarg
mov eax, dword [ebp - 0x5c]
mov ecx, dword [eax]
lea edx, [ebp - 0x38]
push edx
push 0xffffffffffffffff
lea edx, [ebp - 0x48]
push edx
push dword [ebp - 0x20]
push eax
call dword [ecx + 0x40]
fnclex
test eax, eax
jge 0x58709f
push 0x40
push ebx
push dword [ebp - 0x5c]
push eax
call sub.MSVBVM60.DLL___vbaHresultCheckObj
lea ecx, [ebp - 0x38]
call sub.MSVBVM60.DLL___vbaFreeObj
lea ecx, [ebp - 0x48]
call sub.MSVBVM60.DLL___vbaFreeVar
mov edx, 0x464d2c
lea ecx, [ebp - 0x20]
call sub.MSVBVM60.DLL___vbaStrCopy
cmp dword [0x6255b0], 0
jne 0x5870d4
push 0x6255b0
push 0x450848
call sub.MSVBVM60.DLL___vbaNew2
mov eax, dword [0x6255b0]
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x48], esi
lea ecx, [ebp - 0x48]
call sub.MSVBVM60.DLL___vbaFreeVarg
mov eax, dword [ebp - 0x5c]
mov ecx, dword [eax]
lea edx, [ebp - 0x38]
push edx
push 0xffffffffffffffff
lea edx, [ebp - 0x48]
push edx
push dword [ebp - 0x20]
push eax
call dword [ecx + 0x40]
fnclex
test eax, eax
jge 0x587112
push 0x40
push ebx
push dword [ebp - 0x5c]
push eax
call sub.MSVBVM60.DLL___vbaHresultCheckObj
lea ecx, [ebp - 0x38]
call sub.MSVBVM60.DLL___vbaFreeObj
lea ecx, [ebp - 0x48]
call sub.MSVBVM60.DLL___vbaFreeVar
push 0x464db0
push 0x4653cc
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x20]
call sub.MSVBVM60.DLL___vbaStrMove
cmp dword [0x6255b0], 0
jne 0x587153
push 0x6255b0
push 0x450848
call sub.MSVBVM60.DLL___vbaNew2
mov eax, dword [0x6255b0]
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x48], esi
lea ecx, [ebp - 0x48]
call sub.MSVBVM60.DLL___vbaFreeVarg
mov eax, dword [ebp - 0x5c]
mov ecx, dword [eax]
lea edx, [ebp - 0x38]
push edx
push 0xffffffffffffffff
lea edx, [ebp - 0x48]
push edx
push dword [ebp - 0x20]
push eax
call dword [ecx + 0x40]
fnclex
test eax, eax
jge 0x587191
push 0x40
push ebx
push dword [ebp - 0x5c]
push eax
call sub.MSVBVM60.DLL___vbaHresultCheckObj
lea ecx, [ebp - 0x38]
call sub.MSVBVM60.DLL___vbaFreeObj
lea ecx, [ebp - 0x48]
call sub.MSVBVM60.DLL___vbaFreeVar
mov edx, 0x4655bc
lea ecx, [ebp - 0x20]
call sub.MSVBVM60.DLL___vbaStrCopy
cmp dword [0x6255b0], 0
jne 0x5871c6
push 0x6255b0
push 0x450848
call sub.MSVBVM60.DLL___vbaNew2
mov eax, dword [0x6255b0]
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x48], esi
lea ecx, [ebp - 0x48]
call sub.MSVBVM60.DLL___vbaFreeVarg
mov eax, dword [ebp - 0x5c]
mov ecx, dword [eax]
lea edx, [ebp - 0x38]
push edx
push 0xffffffffffffffff
lea edx, [ebp - 0x48]
push edx
push dword [ebp - 0x20]
push eax
call dword [ecx + 0x40]
fnclex
test eax, eax
jge 0x587204
push 0x40
push ebx
push dword [ebp - 0x5c]
push eax
call sub.MSVBVM60.DLL___vbaHresultCheckObj
lea ecx, [ebp - 0x38]
call sub.MSVBVM60.DLL___vbaFreeObj
lea ecx, [ebp - 0x48]
call sub.MSVBVM60.DLL___vbaFreeVar
mov edx, 0x465704
lea ecx, [ebp - 0x20]
call sub.MSVBVM60.DLL___vbaStrCopy
cmp dword [0x6255b0], 0
jne 0x587239
push 0x6255b0
push 0x450848
call sub.MSVBVM60.DLL___vbaNew2
mov eax, dword [0x6255b0]
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x48], esi
lea ecx, [ebp - 0x48]
call sub.MSVBVM60.DLL___vbaFreeVarg
mov eax, dword [ebp - 0x5c]
mov ecx, dword [eax]
lea edx, [ebp - 0x38]
push edx
push 0xffffffffffffffff
lea edx, [ebp - 0x48]
push edx
push dword [ebp - 0x20]
push eax
call dword [ecx + 0x40]
fnclex
test eax, eax
jge 0x587277
push 0x40
push ebx
push dword [ebp - 0x5c]
push eax
call sub.MSVBVM60.DLL___vbaHresultCheckObj
lea ecx, [ebp - 0x38]
call sub.MSVBVM60.DLL___vbaFreeObj
lea ecx, [ebp - 0x48]
call sub.MSVBVM60.DLL___vbaFreeVar
mov edx, 0x4654c4
lea ecx, [ebp - 0x20]
call sub.MSVBVM60.DLL___vbaStrCopy
cmp dword [0x6255b0], 0
jne 0x5872ac
push 0x6255b0
push 0x450848
call sub.MSVBVM60.DLL___vbaNew2
mov eax, dword [0x6255b0]
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x48], esi
lea ecx, [ebp - 0x48]
call sub.MSVBVM60.DLL___vbaFreeVarg
mov eax, dword [ebp - 0x5c]
mov ecx, dword [eax]
lea edx, [ebp - 0x38]
push edx
push 0xffffffffffffffff
lea edx, [ebp - 0x48]
push edx
push dword [ebp - 0x20]
push eax
call dword [ecx + 0x40]
fnclex
test eax, eax
jge 0x5872ea
push 0x40
push ebx
push dword [ebp - 0x5c]
push eax
call sub.MSVBVM60.DLL___vbaHresultCheckObj
lea ecx, [ebp - 0x38]
call sub.MSVBVM60.DLL___vbaFreeObj
lea ecx, [ebp - 0x48]
call sub.MSVBVM60.DLL___vbaFreeVar
mov edx, 0x464b64
lea ecx, [ebp - 0x20]
call sub.MSVBVM60.DLL___vbaStrCopy
cmp dword [0x6255b0], 0
jne 0x58731f
push 0x6255b0
push 0x450848
call sub.MSVBVM60.DLL___vbaNew2
mov eax, dword [0x6255b0]
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x48], esi
lea ecx, [ebp - 0x48]
call sub.MSVBVM60.DLL___vbaFreeVarg
mov eax, dword [ebp - 0x5c]
mov ecx, dword [eax]
lea edx, [ebp - 0x38]
push edx
push 0xffffffffffffffff
lea edx, [ebp - 0x48]
push edx
push dword [ebp - 0x20]
push eax
call dword [ecx + 0x40]
fnclex
test eax, eax
jge 0x58735d
push 0x40
push ebx
push dword [ebp - 0x5c]
push eax
call sub.MSVBVM60.DLL___vbaHresultCheckObj
lea ecx, [ebp - 0x38]
call sub.MSVBVM60.DLL___vbaFreeObj
lea ecx, [ebp - 0x48]
call sub.MSVBVM60.DLL___vbaFreeVar
mov edx, 0x465548
lea ecx, [ebp - 0x20]
call sub.MSVBVM60.DLL___vbaStrCopy
cmp dword [0x6255b0], 0
jne 0x587392
push 0x6255b0
push 0x450848
call sub.MSVBVM60.DLL___vbaNew2
mov eax, dword [0x6255b0]
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x48], esi
lea ecx, [ebp - 0x48]
call sub.MSVBVM60.DLL___vbaFreeVarg
mov eax, dword [ebp - 0x5c]
mov ecx, dword [eax]
lea edx, [ebp - 0x38]
push edx
push 0xffffffffffffffff
lea edx, [ebp - 0x48]
push edx
push dword [ebp - 0x20]
push eax
call dword [ecx + 0x40]
fnclex
test eax, eax
jge 0x5873d0
push 0x40
push ebx
push dword [ebp - 0x5c]
push eax
call sub.MSVBVM60.DLL___vbaHresultCheckObj
lea ecx, [ebp - 0x38]
call sub.MSVBVM60.DLL___vbaFreeObj
lea ecx, [ebp - 0x48]
call sub.MSVBVM60.DLL___vbaFreeVar
mov edx, 0x464598
lea ecx, [ebp - 0x20]
call sub.MSVBVM60.DLL___vbaStrCopy
cmp dword [0x6255b0], 0
jne 0x587405
push 0x6255b0
push 0x450848
call sub.MSVBVM60.DLL___vbaNew2
mov eax, dword [0x6255b0]
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x48], esi
lea ecx, [ebp - 0x48]
call sub.MSVBVM60.DLL___vbaFreeVarg
mov eax, dword [ebp - 0x5c]
mov ecx, dword [eax]
lea edx, [ebp - 0x38]
push edx
push 0xffffffffffffffff
lea edx, [ebp - 0x48]
push edx
push dword [ebp - 0x20]
push eax
call dword [ecx + 0x40]
fnclex
test eax, eax
jge 0x587443
push 0x40
push ebx
push dword [ebp - 0x5c]
push eax
call sub.MSVBVM60.DLL___vbaHresultCheckObj
lea ecx, [ebp - 0x38]
call sub.MSVBVM60.DLL___vbaFreeObj
lea ecx, [ebp - 0x48]
call sub.MSVBVM60.DLL___vbaFreeVar
mov edx, 0x4657a8
lea ecx, [ebp - 0x20]
call sub.MSVBVM60.DLL___vbaStrCopy
cmp dword [0x6255b0], 0
jne 0x587478
push 0x6255b0
push 0x450848
call sub.MSVBVM60.DLL___vbaNew2
mov eax, dword [0x6255b0]
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x48], esi
lea ecx, [ebp - 0x48]
call sub.MSVBVM60.DLL___vbaFreeVarg
mov eax, dword [ebp - 0x5c]
mov ecx, dword [eax]
lea edx, [ebp - 0x38]
push edx
push 0xffffffffffffffff
lea edx, [ebp - 0x48]
push edx
push dword [ebp - 0x20]
push eax
call dword [ecx + 0x40]
fnclex
test eax, eax
jge 0x5874b6
push 0x40
push ebx
push dword [ebp - 0x5c]
push eax
call sub.MSVBVM60.DLL___vbaHresultCheckObj
lea ecx, [ebp - 0x38]
call sub.MSVBVM60.DLL___vbaFreeObj
lea ecx, [ebp - 0x48]
call sub.MSVBVM60.DLL___vbaFreeVar
mov edx, 0x46582c
lea ecx, [ebp - 0x20]
call sub.MSVBVM60.DLL___vbaStrCopy
cmp dword [0x6255b0], 0
jne 0x5874eb
push 0x6255b0
push 0x450848
call sub.MSVBVM60.DLL___vbaNew2
mov eax, dword [0x6255b0]
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x48], esi
lea ecx, [ebp - 0x48]
call sub.MSVBVM60.DLL___vbaFreeVarg
mov eax, dword [ebp - 0x5c]
mov ecx, dword [eax]
lea edx, [ebp - 0x38]
push edx
push 0xffffffffffffffff
lea edx, [ebp - 0x48]
push edx
push dword [ebp - 0x20]
push eax
call dword [ecx + 0x40]
fnclex
test eax, eax
jge 0x587529
push 0x40
push ebx
push dword [ebp - 0x5c]
push eax
call sub.MSVBVM60.DLL___vbaHresultCheckObj
lea ecx, [ebp - 0x38]
call sub.MSVBVM60.DLL___vbaFreeObj
lea ecx, [ebp - 0x48]
call sub.MSVBVM60.DLL___vbaFreeVar
mov edx, 0x465898
lea ecx, [ebp - 0x20]
call sub.MSVBVM60.DLL___vbaStrCopy
cmp dword [0x6255b0], 0
jne 0x58755e
push 0x6255b0
push 0x450848
call sub.MSVBVM60.DLL___vbaNew2
mov eax, dword [0x6255b0]
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x48], esi
lea ecx, [ebp - 0x48]
call sub.MSVBVM60.DLL___vbaFreeVarg
mov eax, dword [ebp - 0x5c]
mov ecx, dword [eax]
lea edx, [ebp - 0x38]
push edx
push 0xffffffffffffffff
lea edx, [ebp - 0x48]
push edx
push dword [ebp - 0x20]
push eax
call dword [ecx + 0x40]
fnclex
test eax, eax
jge 0x58759c
push 0x40
push ebx
push dword [ebp - 0x5c]
push eax
call sub.MSVBVM60.DLL___vbaHresultCheckObj
lea ecx, [ebp - 0x38]
call sub.MSVBVM60.DLL___vbaFreeObj
lea ecx, [ebp - 0x48]
call sub.MSVBVM60.DLL___vbaFreeVar
mov edx, 0x465900
lea ecx, [ebp - 0x20]
call sub.MSVBVM60.DLL___vbaStrCopy
cmp dword [0x6255b0], 0
jne 0x5875d1
push 0x6255b0
push 0x450848
call sub.MSVBVM60.DLL___vbaNew2
mov eax, dword [0x6255b0]
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x48], esi
lea ecx, [ebp - 0x48]
call sub.MSVBVM60.DLL___vbaFreeVarg
mov eax, dword [ebp - 0x5c]
mov ecx, dword [eax]
lea edx, [ebp - 0x38]
push edx
push 0xffffffffffffffff
lea edx, [ebp - 0x48]
push edx
push dword [ebp - 0x20]
push eax
call dword [ecx + 0x40]
fnclex
test eax, eax
jge 0x58760f
push 0x40
push ebx
push dword [ebp - 0x5c]
push eax
call sub.MSVBVM60.DLL___vbaHresultCheckObj
lea ecx, [ebp - 0x38]
call sub.MSVBVM60.DLL___vbaFreeObj
lea ecx, [ebp - 0x48]
call sub.MSVBVM60.DLL___vbaFreeVar
mov edx, 0x465170
lea ecx, [ebp - 0x20]
call sub.MSVBVM60.DLL___vbaStrCopy
cmp dword [0x6255b0], 0
jne 0x587644
push 0x6255b0
push 0x450848
call sub.MSVBVM60.DLL___vbaNew2
mov eax, dword [0x6255b0]
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x48], esi
lea ecx, [ebp - 0x48]
call sub.MSVBVM60.DLL___vbaFreeVarg
mov eax, dword [ebp - 0x5c]
mov ecx, dword [eax]
lea edx, [ebp - 0x38]
push edx
push 0xffffffffffffffff
lea edx, [ebp - 0x48]
push edx
push dword [ebp - 0x20]
push eax
call dword [ecx + 0x40]
fnclex
test eax, eax
jge 0x587682
push 0x40
push ebx
push dword [ebp - 0x5c]
push eax
call sub.MSVBVM60.DLL___vbaHresultCheckObj
lea ecx, [ebp - 0x38]
call sub.MSVBVM60.DLL___vbaFreeObj
lea ecx, [ebp - 0x48]
call sub.MSVBVM60.DLL___vbaFreeVar
mov edx, 0x4649bc
lea ecx, [ebp - 0x20]
call sub.MSVBVM60.DLL___vbaStrCopy
cmp dword [0x6255b0], 0
jne 0x5876b7
push 0x6255b0
push 0x450848
call sub.MSVBVM60.DLL___vbaNew2
mov eax, dword [0x6255b0]
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x48], esi
lea ecx, [ebp - 0x48]
call sub.MSVBVM60.DLL___vbaFreeVarg
mov eax, dword [ebp - 0x5c]
mov ecx, dword [eax]
lea edx, [ebp - 0x38]
push edx
push 0xffffffffffffffff
lea edx, [ebp - 0x48]
push edx
push dword [ebp - 0x20]
push eax
call dword [ecx + 0x40]
fnclex
test eax, eax
jge 0x5876f5
push 0x40
push ebx
push dword [ebp - 0x5c]
push eax
call sub.MSVBVM60.DLL___vbaHresultCheckObj
lea ecx, [ebp - 0x38]
call sub.MSVBVM60.DLL___vbaFreeObj
lea ecx, [ebp - 0x48]
call sub.MSVBVM60.DLL___vbaFreeVar
mov edx, 0x4647d0
lea ecx, [ebp - 0x20]
call sub.MSVBVM60.DLL___vbaStrCopy
cmp dword [0x6255b0], 0
jne 0x58772a
push 0x6255b0
push 0x450848
call sub.MSVBVM60.DLL___vbaNew2
mov eax, dword [0x6255b0]
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x48], esi
lea ecx, [ebp - 0x48]
call sub.MSVBVM60.DLL___vbaFreeVarg
mov esi, dword [ebp - 0x5c]
mov eax, dword [esi]
lea ecx, [ebp - 0x38]
push ecx
push 0xffffffffffffffff
lea ecx, [ebp - 0x48]
push ecx
push dword [ebp - 0x20]
push esi
call dword [eax + 0x40]
fnclex
test eax, eax
jge 0x587766
push 0x40
push ebx
push esi
push eax
call sub.MSVBVM60.DLL___vbaHresultCheckObj
lea ecx, [ebp - 0x38]
call sub.MSVBVM60.DLL___vbaFreeObj
lea ecx, [ebp - 0x48]
call sub.MSVBVM60.DLL___vbaFreeVar
jmp 0x587778
call sub.MSVBVM60.DLL___vbaExitProc
push 0x5877bc
jmp 0x5877b3
lea ecx, [ebp - 0x20]
call sub.MSVBVM60.DLL___vbaFreeStr
ret