Function at 0x42ba10
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, 0xbc
push ebx
push esi
push edi
mov dword [ebp - 8], esp
mov dword [ebp - 4], 0x4020e8
mov eax, dword [0x484428]
xor ecx, ecx
add eax, 4
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x80], ecx
mov dword [ebp - 0x84], ecx
mov dword [ebp - 0x88], ecx
mov dword [ebp - 0x8c], ecx
mov dword [ebp - 0x90], ecx
mov dword [ebp - 0x94], ecx
mov dword [0x4841f8], 0x2d0
mov dword [0x4841fc], 0x21c
cmp dword [eax], ecx
jne 0x42babe
push eax
push 0x406810
call dword [sym.imp.msvbvm60.dll___vbaNew2]
mov ecx, dword [0x484428]
lea eax, [ecx + 4]
mov ecx, dword [0x4841fc]
mov esi, dword [eax]
mov edi, dword [sym.imp.msvbvm60.dll___vbaI2I4]
mov ebx, dword [esi]
lea edx, [ebp - 0x84]
add ecx, 4
push edx
jo 0x42c51c
call edi
mov ecx, dword [0x4841f8]
add ecx, 4
jo 0x42c51c
push eax
call edi
push eax
push esi
call dword [ebx + 0x40]
fnclex
test eax, eax
jge 0x42bb10
mov edi, dword [sym.imp.msvbvm60.dll___vbaHresultCheckObj]
push 0x40
push 0x40a894
push esi
push eax
call edi
jmp 0x42bb16
mov edi, dword [sym.imp.msvbvm60.dll___vbaHresultCheckObj]
mov eax, dword [0x484428]
mov ecx, dword [eax + 4]
add eax, 4
test ecx, ecx
jne 0x42bb3e
mov ebx, dword [sym.imp.msvbvm60.dll___vbaNew2]
push eax
push 0x406810
call ebx
mov ecx, dword [0x484428]
lea eax, [ecx + 4]
jmp 0x42bb44
mov ebx, dword [sym.imp.msvbvm60.dll___vbaNew2]
mov esi, dword [eax]
mov edx, dword [esi]
lea eax, [ebp - 0x84]
push eax
push esi
call dword [edx + 0x24]
fnclex
test eax, eax
jge 0x42bb64
push 0x24
push 0x40a894
push esi
push eax
call edi
mov ecx, dword [0x484428]
lea eax, [ecx + 4]
cmp dword [eax], 0
jne 0x42bb83
push eax
push 0x406810
call ebx
mov edx, dword [0x484428]
lea eax, [edx + 4]
mov esi, dword [eax]
mov eax, dword [esi]
lea ecx, [ebp - 0x88]
push ecx
push esi
call dword [eax + 0x28]
fnclex
test eax, eax
jge 0x42bba3
push 0x28
push 0x40a894
push esi
push eax
call edi
mov eax, dword [0x484428]
cmp dword [eax], 0
jne 0x42bbba
push eax
push 0x406810
call ebx
mov eax, dword [0x484428]
mov esi, dword [eax]
mov ecx, dword [ebp - 0x88]
mov edx, dword [esi]
lea eax, [ebp - 0x8c]
push eax
mov eax, dword [ebp - 0x84]
push ecx
push eax
push esi
call dword [edx + 0x40]
fnclex
test eax, eax
jge 0x42bbe8
push 0x40
push 0x40a894
push esi
push eax
call edi
call fcn.004333d0
mov ecx, dword [0x484428]
mov edi, 0xf
mov esi, 2
lea eax, [ecx + 4]
mov dword [ebp - 0x94], edi
mov dword [ebp - 0x90], esi
cmp dword [eax], 0
jne 0x42bc22
push eax
push 0x406810
call ebx
mov edx, dword [0x484428]
lea eax, [edx + 4]
lea ecx, [ebp - 0x94]
push ecx
lea edx, [ebp - 0x90]
push edx
push eax
call fcn.00433860
mov eax, dword [0x484428]
mov dword [ebp - 0x94], edi
mov dword [ebp - 0x90], esi
cmp dword [eax], 0
jne 0x42bc59
push eax
push 0x406810
call ebx
mov eax, dword [0x484428]
lea ecx, [ebp - 0x94]
push ecx
lea edx, [ebp - 0x90]
push edx
push eax
call fcn.00433860
mov ebx, dword [sym.imp.msvbvm60.dll___vbaStrMove]
xor esi, esi
mov eax, 0x12
cmp esi, eax
jg 0x42bda8
mov eax, dword [0x4861e8]
test eax, eax
jne 0x42bc9b
push 0x4861e8
push 0x40ae48
call dword [sym.imp.msvbvm60.dll___vbaNew2]
mov edi, dword [0x4861e8]
mov eax, dword [edi]
lea ecx, [ebp - 0x40]
push ecx
push edi
call dword [eax + 0x14]
fnclex
test eax, eax
jge 0x42bcc0
push 0x14
push 0x40ae38
push edi
push eax
call dword [sym.imp.msvbvm60.dll___vbaHresultCheckObj]
mov eax, dword [ebp - 0x40]
mov edx, dword [eax]
lea ecx, [ebp - 0x28]
push ecx
push eax
mov edi, eax
call dword [edx + 0x50]
fnclex
test eax, eax
jge 0x42bce4
push 0x50
push 0x409e50
push edi
push eax
call dword [sym.imp.msvbvm60.dll___vbaHresultCheckObj]
mov edx, dword [ebp - 0x28]
mov edi, dword [sym.imp.msvbvm60.dll___vbaStrCat]
push 0x20000
push 3
push 0
push 0
push edx
push 0x40fb4c
call edi
mov edx, eax
lea ecx, [ebp - 0x2c]
call ebx
push eax
push esi
call dword [sym.imp.msvbvm60.dll___vbaStrI4]
mov edx, eax
lea ecx, [ebp - 0x30]
call ebx
push eax
call edi
mov edx, eax
lea ecx, [ebp - 0x34]
call ebx
push eax
push 0x40fb64
call edi
mov edx, eax
lea ecx, [ebp - 0x38]
call ebx
push eax
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.msvbvm60.dll___vbaStrToAnsi]
push eax
push 0
call fcn.0040bcb4
mov dword [ebp - 0x90], eax
call dword [sym.imp.msvbvm60.dll___vbaSetSystemError]
cmp esi, 0x32
jb 0x42bd59
call dword [sym.imp.msvbvm60.dll___vbaGenerateBoundsError]
mov ecx, dword [ebp - 0x90]
mov edx, dword [0x4843a8]
mov dword [edx + esi*4], ecx
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x38]
push ecx
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 6
call dword [sym.imp.msvbvm60.dll___vbaFreeStrList]
add esp, 0x1c
lea ecx, [ebp - 0x40]
call dword [sym.imp.msvbvm60.dll___vbaFreeObj]
mov eax, 1
add eax, esi
jo 0x42c51c
mov esi, eax
jmp 0x42bc75
lea eax, [ebp - 0x90]
push eax
mov dword [ebp - 0x90], 0xa
call fcn.00431900
mov eax, dword [0x48403c]
test eax, eax
jne 0x42bdd7
push 0x48403c
push 0x40770c
call dword [sym.imp.msvbvm60.dll___vbaNew2]
mov edx, dword [0x484388]
mov ecx, dword [0x48403c]
mov edi, dword [sym.imp.msvbvm60.dll___vbaAryLock]
push edx
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0xa4], ecx
call edi
mov ecx, dword [ebp - 0x24]
test ecx, ecx
je 0x42be26
cmp word [ecx], 1
jne 0x42be26
mov edx, dword [ecx + 0x14]
mov eax, dword [ecx + 0x10]
mov esi, 0xa
sub esi, edx
cmp esi, eax
jb 0x42be1d
call dword [sym.imp.msvbvm60.dll___vbaGenerateBoundsError]
mov ecx, dword [ebp - 0x24]
lea eax, [esi*4]
jmp 0x42be2f
call dword [sym.imp.msvbvm60.dll___vbaGenerateBoundsError]
mov ecx, dword [ebp - 0x24]
mov ecx, dword [ecx + 0xc]
mov edx, dword [0x484388]
add ecx, eax
push edx
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x78], ecx
mov dword [ebp - 0x80], 0x4008
call edi
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x42be7b
cmp word [ecx], 1
jne 0x42be7b
mov edx, dword [ecx + 0x14]
mov eax, dword [ecx + 0x10]
mov esi, 0xb
sub esi, edx
cmp esi, eax
jb 0x42be72
call dword [sym.imp.msvbvm60.dll___vbaGenerateBoundsError]
mov ecx, dword [ebp - 0x20]
lea eax, [esi*4]
jmp 0x42be84
call dword [sym.imp.msvbvm60.dll___vbaGenerateBoundsError]
mov ecx, dword [ebp - 0x20]
mov ecx, dword [ecx + 0xc]
mov edx, dword [0x484388]
add ecx, eax
push edx
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x68], ecx
mov dword [ebp - 0x70], 0x4008
call edi
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x42bedc
cmp word [eax], 1
jne 0x42bedc
mov ecx, dword [0x484388]
push ecx
push 1
call dword [sym.imp.msvbvm60.dll___vbaUbound]
mov esi, eax
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax + 0x14]
mov ecx, dword [eax + 0x10]
sub esi, edx
cmp esi, ecx
jb 0x42bed3
call dword [sym.imp.msvbvm60.dll___vbaGenerateBoundsError]
lea eax, [esi*4]
jmp 0x42bee2
call dword [sym.imp.msvbvm60.dll___vbaGenerateBoundsError]
mov edx, dword [ebp - 0x1c]
mov ecx, dword [edx + 0xc]
add ecx, eax
lea edx, [ebp - 0x80]
push edx
lea eax, [ebp - 0x70]
mov dword [ebp - 0x58], ecx
push eax
lea ecx, [ebp - 0x60]
push ecx
lea edx, [ebp - 0x50]
push edx
mov dword [ebp - 0x60], 0x4008
call dword [sym.imp.msvbvm60.dll_rtcImmediateIf]
mov esi, dword [sym.imp.msvbvm60.dll___vbaAryUnlock]
lea eax, [ebp - 0x1c]
push eax
call esi
lea ecx, [ebp - 0x20]
push ecx
call esi
lea edx, [ebp - 0x24]
push edx
call esi
mov esi, dword [ebp - 0xa4]
mov edi, dword [esi]
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x28]
push ecx
call dword [sym.imp.msvbvm60.dll___vbaStrVarVal]
push eax
push esi
call dword [edi + 0x54]
fnclex
test eax, eax
jge 0x42bf52
push 0x54
push 0x40a6d4
push esi
push eax
call dword [sym.imp.msvbvm60.dll___vbaHresultCheckObj]
lea ecx, [ebp - 0x28]
call dword [sym.imp.msvbvm60.dll___vbaFreeStr]
lea ecx, [ebp - 0x50]
call dword [sym.imp.msvbvm60.dll___vbaFreeVar]
mov dword [ebp - 0xc8], 3
xor esi, esi
cmp esi, dword [ebp - 0xc8]
jg 0x42c094
mov eax, dword [0x4861e8]
test eax, eax
jne 0x42bf95
push 0x4861e8
push 0x40ae48
call dword [sym.imp.msvbvm60.dll___vbaNew2]
mov edi, dword [0x4861e8]
mov edx, dword [edi]
lea eax, [ebp - 0x40]
push eax
push edi
call dword [edx + 0x14]
fnclex
test eax, eax
jge 0x42bfba
push 0x14
push 0x40ae38
push edi
push eax
call dword [sym.imp.msvbvm60.dll___vbaHresultCheckObj]
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax]
lea edx, [ebp - 0x28]
push edx
push eax
mov edi, eax
call dword [ecx + 0x50]
fnclex
test eax, eax
jge 0x42bfde
push 0x50
push 0x409e50
push edi
push eax
call dword [sym.imp.msvbvm60.dll___vbaHresultCheckObj]
mov eax, dword [ebp - 0x28]
mov edi, dword [sym.imp.msvbvm60.dll___vbaStrCat]
push eax
push 0x40fb74
call edi
mov edx, eax
lea ecx, [ebp - 0x2c]
call ebx
push eax
push esi
call dword [sym.imp.msvbvm60.dll___vbaStrI4]
mov edx, eax
lea ecx, [ebp - 0x30]
call ebx
push eax
call edi
mov edx, eax
lea ecx, [ebp - 0x34]
call ebx
push eax
push 0x40f9a4
call edi
mov edx, eax
lea ecx, [ebp - 0x38]
call ebx
push eax
lea ecx, [ebp - 0x3c]
push ecx
call dword [sym.imp.msvbvm60.dll___vbaStrToAnsi]
push eax
call fcn.0040abf4
mov dword [ebp - 0x90], eax
call dword [sym.imp.msvbvm60.dll___vbaSetSystemError]
cmp esi, 4
jb 0x42c046
call dword [sym.imp.msvbvm60.dll___vbaGenerateBoundsError]
mov edx, dword [ebp - 0x90]
mov eax, dword [0x48428c]
mov dword [eax + esi*4], edx
lea ecx, [ebp - 0x3c]
push ecx
lea edx, [ebp - 0x38]
push edx
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x30]
push ecx
lea edx, [ebp - 0x2c]
push edx
lea eax, [ebp - 0x28]
push eax
push 6
call dword [sym.imp.msvbvm60.dll___vbaFreeStrList]
add esp, 0x1c
lea ecx, [ebp - 0x40]
call dword [sym.imp.msvbvm60.dll___vbaFreeObj]
mov eax, 1
add eax, esi
jo 0x42c51c
mov esi, eax
jmp 0x42bf70
mov eax, dword [0x48403c]
test eax, eax
jne 0x42c0b6
mov edi, dword [sym.imp.msvbvm60.dll___vbaNew2]
push 0x48403c
push 0x40770c
call edi
mov eax, dword [0x48403c]
jmp 0x42c0bc
mov edi, dword [sym.imp.msvbvm60.dll___vbaNew2]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x300]
push eax
lea edx, [ebp - 0x40]
push edx
call dword [sym.imp.msvbvm60.dll___vbaObjSet]
lea ecx, [ebp - 0x90]
mov esi, eax
mov eax, dword [esi]
push ecx
push esi
call dword [eax + 0x1c0]
fnclex
test eax, eax
jge 0x42c0fa
push 0x1c0
push 0x40d108
push esi
push eax
call dword [sym.imp.msvbvm60.dll___vbaHresultCheckObj]
mov edx, dword [0x48428c]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x90]
push eax
push 0xfffffffffffffff4
push ecx
call fcn.0040ac3c
call dword [sym.imp.msvbvm60.dll___vbaSetSystemError]
lea ecx, [ebp - 0x40]
call dword [sym.imp.msvbvm60.dll___vbaFreeObj]
mov eax, dword [0x484334]
test eax, eax
jne 0x42c135
push 0x484334
push 0x406810
call edi
mov esi, dword [0x484334]
mov edx, dword [esi]
lea eax, [ebp - 0x84]
push eax
push 0xa
push 0x34
push esi
call dword [edx + 0x40]
fnclex
test eax, eax
jge 0x42c161
push 0x40
push 0x40a894
push esi
push eax
call dword [sym.imp.msvbvm60.dll___vbaHresultCheckObj]
mov eax, dword [0x484334]
test eax, eax
jne 0x42c176
push 0x484334
push 0x406810
call edi
mov edi, dword [sym.imp.msvbvm60.dll___vbaUI1I2]
mov esi, dword [0x484334]
mov ecx, 0x3c
call edi
mov ecx, 0x3c
mov byte [ebp - 0x8c], al
call edi
mov ecx, 0x3c
mov byte [ebp - 0x88], al
call edi
mov byte [ebp - 0x84], al
mov ecx, dword [esi]
lea edx, [ebp - 0x8c]
push edx
lea eax, [ebp - 0x88]
push eax
lea edx, [ebp - 0x84]
push edx
push esi
call dword [ecx + 0x70]
fnclex
test eax, eax
jge 0x42c1d9
push 0x70
push 0x40a894
push esi
push eax
call dword [sym.imp.msvbvm60.dll___vbaHresultCheckObj]
mov eax, dword [0x484338]
test eax, eax
jne 0x42c1f2
push 0x484338
push 0x406810
call dword [sym.imp.msvbvm60.dll___vbaNew2]
mov esi, dword [0x484338]
mov eax, dword [esi]
lea ecx, [ebp - 0x84]
push ecx
push 8
push 0x32
push esi
call dword [eax + 0x40]
fnclex
test eax, eax
jge 0x42c21e
push 0x40
push 0x40a894
push esi
push eax
call dword [sym.imp.msvbvm60.dll___vbaHresultCheckObj]
mov eax, dword [0x484338]
test eax, eax
jne 0x42c237
push 0x484338
push 0x406810
call dword [sym.imp.msvbvm60.dll___vbaNew2]
mov esi, dword [0x484338]
mov ecx, 0xcc
call edi
mov ecx, 0xaf
mov byte [ebp - 0x8c], al
call edi
mov ecx, 0x94
mov byte [ebp - 0x88], al
call edi
mov byte [ebp - 0x84], al
mov edx, dword [esi]
lea eax, [ebp - 0x8c]
push eax
lea ecx, [ebp - 0x88]
push ecx
lea eax, [ebp - 0x84]
push eax
push esi
call dword [edx + 0x70]
fnclex
test eax, eax
jge 0x42c294
push 0x70
push 0x40a894
push esi
push eax
call dword [sym.imp.msvbvm60.dll___vbaHresultCheckObj]
mov eax, dword [0x484334]
test eax, eax
jne 0x42c2ad
push 0x484334
push 0x406810
call dword [sym.imp.msvbvm60.dll___vbaNew2]
mov eax, dword [0x484338]
test eax, eax
mov esi, dword [0x484334]
jne 0x42c2cc
push 0x484338
push 0x406810
call dword [sym.imp.msvbvm60.dll___vbaNew2]
mov ecx, dword [esi]
push 1
push 1
push 0x484338
push esi
call dword [ecx + 0x58]
fnclex
test eax, eax
jge 0x42c2f0
push 0x58
push 0x40a894
push esi
push eax
call dword [sym.imp.msvbvm60.dll___vbaHresultCheckObj]
mov eax, dword [0x484338]
test eax, eax
jne 0x42c309
push 0x484338
push 0x406810
call dword [sym.imp.msvbvm60.dll___vbaNew2]
mov esi, dword [0x484338]
mov ecx, 0xa4
call edi
mov ecx, 0x87
mov byte [ebp - 0x8c], al
call edi
mov ecx, 0x6c
mov byte [ebp - 0x88], al
call edi
mov byte [ebp - 0x84], al
mov edx, dword [esi]
lea eax, [ebp - 0x8c]
push eax
lea ecx, [ebp - 0x88]
push ecx
lea eax, [ebp - 0x84]
push eax
push esi
call dword [edx + 0x70]
fnclex
test eax, eax
jge 0x42c366
push 0x70
push 0x40a894
push esi
push eax
call dword [sym.imp.msvbvm60.dll___vbaHresultCheckObj]
mov eax, dword [0x484358]
mov edx, dword [eax + 4]
test edx, edx
lea ecx, [eax + 4]
jne 0x42c38b
push ecx
push 0x406810
call dword [sym.imp.msvbvm60.dll___vbaNew2]
mov eax, dword [0x484358]
lea edi, [eax + 4]
jmp 0x42c38d
mov edi, ecx
cmp dword [eax], 0
jne 0x42c3a6
push eax
push 0x406810
call dword [sym.imp.msvbvm60.dll___vbaNew2]
mov esi, dword [0x484358]
jmp 0x42c3a8
mov esi, eax
mov ecx, dword [0x484160]
push ecx
push 0x40f9b4
call dword [sym.imp.msvbvm60.dll___vbaStrCat]
mov edx, eax
lea ecx, [ebp - 0x28]
call ebx
push edi
push esi
lea edx, [ebp - 0x28]
push edx
call fcn.00432b10
lea ecx, [ebp - 0x28]
call dword [sym.imp.msvbvm60.dll___vbaFreeStr]
mov eax, dword [0x484358]
cmp dword [eax], 0
jne 0x42c3f4
mov ebx, dword [sym.imp.msvbvm60.dll___vbaNew2]
push eax
push 0x406810
call ebx
mov eax, dword [0x484358]
jmp 0x42c3fa
mov ebx, dword [sym.imp.msvbvm60.dll___vbaNew2]
mov esi, dword [eax]
mov eax, dword [esi]
lea ecx, [ebp - 0x84]
push ecx
push esi
call dword [eax + 0x24]
fnclex
test eax, eax
jge 0x42c422
mov edi, dword [sym.imp.msvbvm60.dll___vbaHresultCheckObj]
push 0x24
push 0x40a894
push esi
push eax
call edi
jmp 0x42c428
mov edi, dword [sym.imp.msvbvm60.dll___vbaHresultCheckObj]
mov eax, dword [0x484358]
cmp dword [eax], 0
jne 0x42c43f
push eax
push 0x406810
call ebx
mov eax, dword [0x484358]
mov esi, dword [eax]
mov edx, dword [esi]
lea eax, [ebp - 0x88]
push eax
push esi
call dword [edx + 0x28]
fnclex
test eax, eax
jge 0x42c45f
push 0x28
push 0x40a894
push esi
push eax
call edi
mov ecx, dword [0x484358]
lea eax, [ecx + 8]
cmp dword [eax], 0
jne 0x42c47e
push eax
push 0x406810
call ebx
mov edx, dword [0x484358]
lea eax, [edx + 8]
mov edx, dword [ebp - 0x88]
mov esi, dword [eax]
mov eax, dword [esi]
lea ecx, [ebp - 0x8c]
push ecx
mov ecx, dword [ebp - 0x84]
push edx
push ecx
push esi
call dword [eax + 0x40]
fnclex
test eax, eax
jge 0x42c4ac
push 0x40
push 0x40a894
push esi
push eax
call edi
push 0x42c50b
jmp 0x42c501
lea ecx, [ebp - 0x14]
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
nop
nop