Function at 0x42c530
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0x4032c6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xb8
push ebx
push esi
push edi
mov dword [ebp - 8], esp
mov dword [ebp - 4], 0x4020f8
xor eax, eax
push 0x407044
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x78], eax
mov byte [ebp - 0x7c], al
mov byte [ebp - 0x80], al
mov dword [ebp - 0x84], eax
mov dword [ebp - 0xac], eax
call dword [sym.imp.msvbvm60.dll___vbaNew]
push eax
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.msvbvm60.dll___vbaObjSet]
mov ecx, dword [ebp - 0x14]
push ecx
lea edx, [ebp - 0xac]
push edx
call dword [sym.imp.msvbvm60.dll___vbaObjSetAddref]
mov ecx, dword [0x484160]
mov eax, dword [ebp - 0xac]
mov edi, dword [sym.imp.msvbvm60.dll___vbaStrCat]
mov ebx, dword [eax]
push ecx
push 0x40d7a4
call edi
mov esi, dword [sym.imp.msvbvm60.dll___vbaStrMove]
mov edx, eax
lea ecx, [ebp - 0x28]
call esi
mov edx, dword [0x4841b4]
push eax
push edx
call dword [sym.imp.msvbvm60.dll___vbaStrI4]
mov edx, eax
lea ecx, [ebp - 0x2c]
call esi
push eax
call edi
mov edx, eax
lea ecx, [ebp - 0x30]
call esi
push eax
push 0x40ec90
call edi
mov edx, eax
lea ecx, [ebp - 0x34]
call esi
push eax
mov eax, dword [ebp - 0xac]
push eax
call dword [ebx + 0x98]
fnclex
test eax, eax
jge 0x42c638
mov ecx, dword [ebp - 0xac]
push 0x98
push 0x40da7c
push ecx
push eax
call dword [sym.imp.msvbvm60.dll___vbaHresultCheckObj]
lea edx, [ebp - 0x34]
push edx
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x2c]
push ecx
lea edx, [ebp - 0x28]
push edx
push 4
call dword [sym.imp.msvbvm60.dll___vbaFreeStrList]
mov ecx, dword [0x484160]
mov eax, dword [ebp - 0xac]
mov ebx, dword [eax]
add esp, 0x14
push ecx
push 0x40d7a4
call edi
mov edx, eax
lea ecx, [ebp - 0x28]
call esi
mov edx, dword [0x4841b4]
push eax
push edx
call dword [sym.imp.msvbvm60.dll___vbaStrI4]
mov edx, eax
lea ecx, [ebp - 0x2c]
call esi
push eax
call edi
mov edx, eax
lea ecx, [ebp - 0x30]
call esi
push eax
push 0x40d234
call edi
mov edx, eax
lea ecx, [ebp - 0x34]
call esi
push eax
mov eax, dword [ebp - 0xac]
push eax
call dword [ebx + 0xa0]
fnclex
test eax, eax
jge 0x42c6ca
mov ecx, dword [ebp - 0xac]
push 0xa0
push 0x40da7c
push ecx
push eax
call dword [sym.imp.msvbvm60.dll___vbaHresultCheckObj]
mov ebx, dword [sym.imp.msvbvm60.dll___vbaFreeStrList]
lea edx, [ebp - 0x34]
push edx
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x2c]
push ecx
lea edx, [ebp - 0x28]
push edx
push 4
call ebx
mov eax, dword [ebp - 0xac]
mov ecx, dword [eax]
add esp, 0x14
push 0
push eax
call dword [ecx + 0x68]
fnclex
test eax, eax
jge 0x42c710
mov edx, dword [ebp - 0xac]
push 0x68
push 0x40da7c
push edx
push eax
call dword [sym.imp.msvbvm60.dll___vbaHresultCheckObj]
xor edx, edx
lea ecx, [ebp - 0x2c]
call dword [sym.imp.msvbvm60.dll___vbaStrCopy]
xor edx, edx
lea ecx, [ebp - 0x28]
call dword [sym.imp.msvbvm60.dll___vbaStrCopy]
mov eax, dword [ebp - 0xac]
mov ecx, dword [eax]
lea edx, [ebp - 0x84]
push edx
lea edx, [ebp - 0x2c]
push edx
lea edx, [ebp - 0x28]
push edx
push eax
call dword [ecx + 0xa4]
fnclex
test eax, eax
jge 0x42c762
mov ecx, dword [ebp - 0xac]
push 0xa4
push 0x40da7c
push ecx
push eax
call dword [sym.imp.msvbvm60.dll___vbaHresultCheckObj]
lea edx, [ebp - 0x2c]
push edx
lea eax, [ebp - 0x28]
push eax
push 2
call ebx
add esp, 0xc
push 0
lea ecx, [ebp - 0xac]
push ecx
call dword [sym.imp.msvbvm60.dll___vbaObjSetAddref]
push 0x40da7c
push 0
call dword [sym.imp.msvbvm60.dll___vbaCastObj]
push eax
lea edx, [ebp - 0x14]
push edx
call dword [sym.imp.msvbvm60.dll___vbaObjSet]
mov eax, dword [0x484160]
push eax
push 0x40d7a4
call edi
mov edx, eax
lea ecx, [ebp - 0x28]
call esi
mov ecx, dword [0x4841b4]
push eax
push ecx
call dword [sym.imp.msvbvm60.dll___vbaStrI4]
mov edx, eax
lea ecx, [ebp - 0x2c]
call esi
push eax
call edi
mov edx, eax
lea ecx, [ebp - 0x30]
call esi
push eax
push 0x40d234
call edi
mov edx, eax
mov ecx, 0x4842ac
call esi
lea edx, [ebp - 0x30]
push edx
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x28]
push ecx
push 3
call ebx
mov edx, dword [0x4842ac]
add esp, 0x10
push edx
push 0x40d3d0
call edi
mov edx, eax
lea ecx, [ebp - 0x28]
call esi
push eax
push 1
push 0xffffffffffffffff
push 1
call dword [sym.imp.msvbvm60.dll___vbaFileOpen]
lea ecx, [ebp - 0x28]
call dword [sym.imp.msvbvm60.dll___vbaFreeStr]
push 1
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.msvbvm60.dll___vbaLineInputStr]
mov ecx, dword [ebp - 0x18]
mov ebx, dword [sym.imp.msvbvm60.dll___vbaI4Str]
push 0
push ecx
call ebx
push eax
push 1
push 8
push 0x4842b8
push 4
push 0x180
call dword [sym.imp.msvbvm60.dll___vbaRedim]
mov edx, dword [ebp - 0x18]
add esp, 0x1c
push edx
call ebx
mov dword [ebp - 0xb4], eax
xor ebx, ebx
cmp ebx, dword [ebp - 0xb4]
push 1
jg 0x42c943
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.msvbvm60.dll___vbaLineInputStr]
lea edx, [ebp - 0x44]
push edx
lea ecx, [ebp - 0x18]
push 3
lea eax, [ebp - 0x64]
mov dword [ebp - 0x5c], ecx
push eax
lea ecx, [ebp - 0x54]
push ecx
mov dword [ebp - 0x3c], 0x80020004
mov dword [ebp - 0x44], 0xa
mov dword [ebp - 0x64], 0x4008
call dword [sym.imp.msvbvm60.dll_rtcMidCharVar]
mov eax, dword [0x4842b8]
test eax, eax
je 0x42c8df
cmp word [eax], 1
jne 0x42c8df
mov edx, dword [eax + 0x14]
mov ecx, ebx
sub ecx, edx
cmp ecx, dword [eax + 0x10]
mov dword [ebp - 0x88], ecx
jb 0x42c8d0
call dword [sym.imp.msvbvm60.dll___vbaGenerateBoundsError]
mov ecx, dword [ebp - 0x88]
lea edx, [ecx*4]
mov dword [ebp - 0xbc], edx
jmp 0x42c8eb
call dword [sym.imp.msvbvm60.dll___vbaGenerateBoundsError]
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x54]
push eax
call dword [sym.imp.msvbvm60.dll___vbaStrVarMove]
mov edx, eax
lea ecx, [ebp - 0x28]
call esi
mov ecx, dword [0x4842b8]
mov ecx, dword [ecx + 0xc]
mov edx, eax
add ecx, dword [ebp - 0xbc]
call dword [sym.imp.msvbvm60.dll___vbaStrCopy]
lea ecx, [ebp - 0x28]
call dword [sym.imp.msvbvm60.dll___vbaFreeStr]
lea edx, [ebp - 0x54]
push edx
lea eax, [ebp - 0x44]
push eax
push 2
call dword [sym.imp.msvbvm60.dll___vbaFreeVarList]
mov eax, 1
add esp, 0xc
add eax, ebx
jo 0x42cc4e
mov ebx, eax
jmp 0x42c85c
call dword [sym.imp.msvbvm60.dll___vbaFileClose]
mov ecx, dword [0x484428]
lea eax, [ecx + 8]
cmp dword [eax], 0
jne 0x42c96c
push eax
push 0x406810
call dword [sym.imp.msvbvm60.dll___vbaNew2]
mov edx, dword [0x484428]
lea eax, [edx + 8]
mov eax, dword [eax]
mov ebx, dword [eax]
mov ecx, dword [0x4842ac]
mov dword [ebp - 0x8c], eax
lea eax, [ebp - 0x78]
push eax
push ecx
push 0x40fb8c
call edi
mov edx, eax
lea ecx, [ebp - 0x28]
call esi
mov edx, ebx
mov ebx, dword [ebp - 0x8c]
push eax
push ebx
call dword [edx + 0x44]
fnclex
test eax, eax
jge 0x42c9b1
push 0x44
push 0x40a894
push ebx
push eax
call dword [sym.imp.msvbvm60.dll___vbaHresultCheckObj]
lea ecx, [ebp - 0x28]
call dword [sym.imp.msvbvm60.dll___vbaFreeStr]
mov eax, dword [0x484428]
mov ecx, dword [eax + 0x20]
add eax, 0x20
test ecx, ecx
jne 0x42c9de
push eax
push 0x406810
call dword [sym.imp.msvbvm60.dll___vbaNew2]
mov ecx, dword [0x484428]
lea eax, [ecx + 0x20]
mov eax, dword [eax]
mov ebx, dword [eax]
lea edx, [ebp - 0x78]
mov dword [ebp - 0x8c], eax
mov eax, dword [0x484160]
push edx
push eax
push 0x40fba8
call edi
mov edx, eax
lea ecx, [ebp - 0x28]
call esi
mov ecx, ebx
mov ebx, dword [ebp - 0x8c]
push eax
push ebx
call dword [ecx + 0x44]
fnclex
test eax, eax
jge 0x42ca22
push 0x44
push 0x40a894
push ebx
push eax
call dword [sym.imp.msvbvm60.dll___vbaHresultCheckObj]
lea ecx, [ebp - 0x28]
call dword [sym.imp.msvbvm60.dll___vbaFreeStr]
mov edx, dword [0x484428]
mov ecx, dword [edx + 0x20]
test ecx, ecx
lea eax, [edx + 0x20]
jne 0x42ca4f
push eax
push 0x406810
call dword [sym.imp.msvbvm60.dll___vbaNew2]
mov eax, dword [0x484428]
add eax, 0x20
mov ebx, dword [eax]
mov ecx, dword [ebx]
lea edx, [ebp - 0x78]
push edx
push ebx
call dword [ecx + 0x24]
fnclex
test eax, eax
jge 0x42ca70
push 0x24
push 0x40a894
push ebx
push eax
call dword [sym.imp.msvbvm60.dll___vbaHresultCheckObj]
mov eax, dword [0x484428]
mov ecx, dword [eax + 0x20]
add eax, 0x20
test ecx, ecx
jne 0x42ca94
push eax
push 0x406810
call dword [sym.imp.msvbvm60.dll___vbaNew2]
mov ecx, dword [0x484428]
lea eax, [ecx + 0x20]
mov ebx, dword [eax]
mov edx, dword [ebx]
lea eax, [ebp - 0x7c]
push eax
push ebx
call dword [edx + 0x28]
fnclex
test eax, eax
jge 0x42cab5
push 0x28
push 0x40a894
push ebx
push eax
call dword [sym.imp.msvbvm60.dll___vbaHresultCheckObj]
mov ecx, dword [0x484428]
lea eax, [ecx + 0x1c]
cmp dword [eax], 0
jne 0x42cad8
push eax
push 0x406810
call dword [sym.imp.msvbvm60.dll___vbaNew2]
mov edx, dword [0x484428]
lea eax, [edx + 0x1c]
mov edx, dword [ebp - 0x7c]
mov ebx, dword [eax]
mov eax, dword [ebx]
lea ecx, [ebp - 0x80]
push ecx
mov ecx, dword [ebp - 0x78]
push edx
push ecx
push ebx
call dword [eax + 0x40]
fnclex
test eax, eax
jge 0x42cb01
push 0x40
push 0x40a894
push ebx
push eax
call dword [sym.imp.msvbvm60.dll___vbaHresultCheckObj]
mov edx, dword [0x484428]
mov ecx, dword [edx + 0x1c]
test ecx, ecx
lea eax, [edx + 0x1c]
jne 0x42cb25
push eax
push 0x406810
call dword [sym.imp.msvbvm60.dll___vbaNew2]
mov eax, dword [0x484428]
add eax, 0x1c
mov ebx, dword [eax]
mov ecx, 0xff
call dword [sym.imp.msvbvm60.dll___vbaUI1I2]
mov ecx, 0xff
mov byte [ebp - 0x80], al
call dword [sym.imp.msvbvm60.dll___vbaUI1I2]
mov ecx, 0xff
mov byte [ebp - 0x7c], al
call dword [sym.imp.msvbvm60.dll___vbaUI1I2]
mov byte [ebp - 0x78], al
mov ecx, dword [ebx]
lea edx, [ebp - 0x80]
push edx
lea eax, [ebp - 0x7c]
push eax
lea edx, [ebp - 0x78]
push edx
push ebx
call dword [ecx + 0x70]
fnclex
test eax, eax
jge 0x42cb78
push 0x70
push 0x40a894
push ebx
push eax
call dword [sym.imp.msvbvm60.dll___vbaHresultCheckObj]
mov eax, dword [0x484428]
mov ecx, dword [eax + 0x24]
add eax, 0x24
test ecx, ecx
jne 0x42cb9c
push eax
push 0x406810
call dword [sym.imp.msvbvm60.dll___vbaNew2]
mov ecx, dword [0x484428]
lea eax, [ecx + 0x24]
mov ebx, dword [eax]
mov ecx, dword [0x484160]
mov edx, dword [ebx]
lea eax, [ebp - 0x78]
push eax
push ecx
push 0x40fbd0
mov dword [ebp - 0xc8], edx
call edi
mov edx, eax
lea ecx, [ebp - 0x28]
call esi
mov edx, dword [ebp - 0xc8]
push eax
push ebx
call dword [edx + 0x44]
fnclex
test eax, eax
jge 0x42cbdf
push 0x44
push 0x40a894
push ebx
push eax
call dword [sym.imp.msvbvm60.dll___vbaHresultCheckObj]
lea ecx, [ebp - 0x28]
call dword [sym.imp.msvbvm60.dll___vbaFreeStr]
call fcn.0042ba10
push 0x42cc3d
jmp 0x42cc20
mov esi, dword [sym.imp.msvbvm60.dll___vbaFreeObj]
lea ecx, [ebp - 0xac]
call esi
lea ecx, [ebp - 0x14]
call esi
lea ecx, [ebp - 0x18]
call dword [sym.imp.msvbvm60.dll___vbaFreeStr]
ret
call dword [sym.imp.msvbvm60.dll___vbaErrorOverflow]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop