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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push 0x402536
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xe8
push ebx
push esi
push edi
mov dword [ebp - 0xc], esp
mov dword [ebp - 8], 0x402498
mov ebx, dword [ebp + 0x10]
push 0x40
xor esi, esi
push 0x1000
mov eax, dword [ebx]
mov dword [ebp - 0x1c], esi
push eax
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x7c], esi
mov dword [ebp - 0x8c], esi
mov dword [ebp - 0x9c], esi
mov dword [ebp - 0xbc], esi
mov dword [ebp - 0xc0], esi
mov dword [ebp - 0xcc], esi
call dword [sym.imp.MSVBVM60.DLL___vbaLenBstr]
add eax, 1
mov ecx, dword [0x429138]
jo 0x4251e8
imul eax, eax, 2
jo 0x4251e8
push eax
push esi
push ecx
call fcn.00406164
mov dword [ebp - 0xc0], eax
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov edx, dword [ebp - 0xc0]
push esi
mov dword [ebp - 0x30], edx
call dword [sym.imp.MSVBVM60.DLL_rtcBstrFromAnsi]
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
mov edx, eax
lea ecx, [ebp - 0x50]
call edi
mov edx, dword [ebp - 0x50]
push esi
push 0xffffffffffffffff
push 1
push 0x406e90
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x50], esi
call edi
push eax
mov eax, dword [ebx]
push eax
call dword [sym.imp.MSVBVM60.DLL_rtcReplace]
mov edx, eax
lea ecx, [ebp - 0x54]
call edi
mov edx, dword [ebp - 0x54]
push esi
push 0xffffffffffffffff
push 1
push 0x406e90
push 0x406f64
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x54], esi
call edi
push eax
call dword [sym.imp.MSVBVM60.DLL_rtcReplace]
mov edx, eax
lea ecx, [ebp - 0x58]
call edi
push 0x20
call dword [sym.imp.MSVBVM60.DLL_rtcBstrFromAnsi]
mov edx, eax
lea ecx, [ebp - 0x5c]
call edi
mov ecx, dword [ebp - 0x58]
mov edx, dword [ebp - 0x5c]
push esi
push 0xffffffffffffffff
mov dword [ebp - 0xec], ecx
push 1
push 0x406e90
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x58], esi
call edi
mov edx, dword [ebp - 0xec]
push eax
lea ecx, [ebp - 0x48]
call edi
push eax
call dword [sym.imp.MSVBVM60.DLL_rtcReplace]
mov edx, eax
mov ecx, ebx
call edi
lea edx, [ebp - 0x5c]
lea eax, [ebp - 0x58]
push edx
lea ecx, [ebp - 0x54]
push eax
lea edx, [ebp - 0x50]
push ecx
lea eax, [ebp - 0x4c]
push edx
lea ecx, [ebp - 0x48]
push eax
lea edx, [ebp - 0x44]
push ecx
lea eax, [ebp - 0x40]
push edx
push eax
push 8
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStrList]
mov ecx, dword [ebx]
add esp, 0x24
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaLenBstr]
mov dword [ebp - 0xf0], eax
fild dword [ebp - 0xf0]
fstp qword [ebp - 0xf8]
fld qword [ebp - 0xf8]
cmp dword [section..data], 0
jne 0x424d59
fdiv qword [0x4013d0]
jmp 0x424d6a
push dword [0x4013d4]
push dword [0x4013d0]
call sub.MSVBVM60.DLL__adj_fdiv_m64
fnstsw ax
test al, 0xd
jne 0x4251e3
call dword [sym.imp.MSVBVM60.DLL___vbaFpI4]
mov edi, eax
push esi
mov edx, edi
lea eax, [ebp - 0x1c]
sub edx, 1
mov dword [ebp - 0x38], edi
jo 0x4251e8
push edx
push 1
push 0x11
push eax
push 1
push 0x80
call dword [sym.imp.MSVBVM60.DLL___vbaRedim]
add esp, 0x1c
mov ecx, edi
call dword [sym.imp.MSVBVM60.DLL___vbaI2I4]
mov dword [ebp - 0xd4], eax
mov edi, 1
cmp di, word [ebp - 0xd4]
jg 0x424ed6
mov dx, di
mov eax, 2
imul dx, dx, 2
jo 0x4251e8
sub dx, 1
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x6c], eax
lea ecx, [ebp - 0x6c]
jo 0x4251e8
movsx eax, dx
push ecx
lea ecx, [ebp - 0x9c]
push eax
lea edx, [ebp - 0x7c]
push ecx
push edx
mov dword [ebp - 0xb4], 0x407630
mov dword [ebp - 0xbc], 8
mov dword [ebp - 0x94], ebx
mov dword [ebp - 0x9c], 0x4008
call dword [sym.imp.MSVBVM60.DLL_rtcMidCharVar]
mov eax, dword [ebp - 0x1c]
cmp eax, esi
je 0x424e66
cmp word [eax], 1
jne 0x424e66
mov cx, di
mov edx, dword [eax + 0x14]
sub cx, 1
jo 0x4251e8
movsx ecx, cx
sub ecx, edx
mov edx, dword [eax + 0x10]
cmp ecx, edx
mov dword [ebp - 0xc4], ecx
jb 0x424e5e
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov ecx, dword [ebp - 0xc4]
mov dword [ebp - 0xfc], ecx
jmp 0x424e72
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov dword [ebp - 0xfc], eax
lea edx, [ebp - 0xbc]
lea eax, [ebp - 0x7c]
push edx
lea ecx, [ebp - 0x8c]
push eax
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaVarCat]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaUI1ErrVar]
mov edx, dword [ebp - 0x1c]
mov ecx, dword [edx + 0xc]
mov edx, dword [ebp - 0xfc]
mov byte [ecx + edx], al
lea eax, [ebp - 0x8c]
lea ecx, [ebp - 0x8c]
push eax
lea edx, [ebp - 0x7c]
push ecx
lea eax, [ebp - 0x6c]
push edx
push eax
push 4
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
mov eax, 1
add esp, 0x14
add ax, di
jo 0x4251e8
mov edi, eax
jmp 0x424db7
mov ecx, dword [ebp - 0x1c]
lea edx, [ebp - 0x3c]
push ecx
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaAryLock]
mov ecx, dword [ebp - 0x3c]
cmp ecx, esi
je 0x424f0a
cmp word [ecx], 1
jne 0x424f0a
mov edi, dword [ecx + 0x14]
mov eax, dword [ecx + 0x10]
neg edi
cmp edi, eax
jb 0x424f06
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov ecx, dword [ebp - 0x3c]
mov eax, edi
jmp 0x424f13
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov ecx, dword [ebp - 0x3c]
mov ecx, dword [ecx + 0xc]
add ecx, eax
push ecx
call dword [sym.imp.MSVBVM60.DLL_VarPtr]
lea edx, [ebp - 0x3c]
mov dword [ebp - 0xc0], eax
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaAryUnlock]
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0xc0]
mov edx, dword [ebp - 0x30]
push esi
push eax
mov eax, dword [0x429138]
push ecx
push edx
push eax
call fcn.00406c1c
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
cmp dword [ebp - 0x34], esi
jne 0x424f64
lea ecx, [ebp - 0x34]
push ecx
push 0x403a40
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov edx, dword [ebp - 0x34]
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaObjSetAddref]
lea eax, [ebp - 0xcc]
push edx
push eax
call ebx
mov eax, dword [ebp - 0xcc]
lea edx, [ebp - 0xc0]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x30]
cmp eax, esi
fnclex
jge 0x424fa9
mov ecx, dword [ebp - 0xcc]
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
push 0x30
push 0x407f8c
push ecx
push eax
call edi
jmp 0x424faf
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0xcc]
lea ecx, [ebp - 0xc0]
push ecx
mov ecx, dword [ebp + 0xc]
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x144]
cmp eax, esi
fnclex
jge 0x424fe3
mov edx, dword [ebp - 0xcc]
push 0x144
push 0x407f8c
push edx
push eax
call edi
mov eax, dword [ebp - 0xcc]
lea edx, [ebp - 0xc0]
push edx
lea edx, [ebp - 0x30]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x35c]
cmp eax, esi
fnclex
jge 0x425017
mov ecx, dword [ebp - 0xcc]
push 0x35c
push 0x407f8c
push ecx
push eax
call edi
mov eax, dword [ebp - 0xcc]
lea ecx, [ebp - 0xc0]
push ecx
push 0x429254
mov edx, dword [eax]
push eax
call dword [edx + 0x13c]
cmp eax, esi
fnclex
jge 0x42504c
mov edx, dword [ebp - 0xcc]
push 0x13c
push 0x407f8c
push edx
push eax
call edi
mov eax, dword [ebp - 0xcc]
lea edx, [ebp - 0xc0]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x78]
cmp eax, esi
fnclex
jge 0x425076
mov ecx, dword [ebp - 0xcc]
push 0x78
push 0x407f8c
push ecx
push eax
call edi
mov eax, dword [ebp - 0xcc]
lea ecx, [ebp - 0xc0]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x34]
cmp eax, esi
fnclex
jge 0x4250a0
mov edx, dword [ebp - 0xcc]
push 0x34
push 0x407f8c
push edx
push eax
call edi
mov eax, dword [ebp - 0xcc]
lea edx, [ebp - 0xc0]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x3c]
cmp eax, esi
fnclex
jge 0x4250ca
mov ecx, dword [ebp - 0xcc]
push 0x3c
push 0x407f8c
push ecx
push eax
call edi
lea edx, [ebp - 0xcc]
push esi
push edx
call ebx
mov eax, dword [ebp - 0x34]
cmp eax, esi
jne 0x4250ed
lea eax, [ebp - 0x34]
push eax
push 0x403a40
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax]
lea edx, [ebp - 0xc0]
push edx
push eax
mov ebx, eax
call dword [ecx + 0x20]
cmp eax, esi
fnclex
jge 0x42510d
push 0x20
push 0x407f8c
push ebx
push eax
call edi
push 0x40aa4c
call dword [sym.imp.MSVBVM60.DLL___vbaI4Str]
mov ecx, dword [0x429138]
push eax
mov eax, dword [ebp - 0x30]
push esi
push eax
push ecx
call fcn.0040611c
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
wait
push 0x4251b4
jmp 0x425194
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
lea ecx, [ebp - 0xcc]
call esi
lea edx, [ebp - 0x1c]
push edx
push 0
call dword [sym.imp.MSVBVM60.DLL___vbaAryDestruct]
lea ecx, [ebp - 0x34]
call esi
ret
jmp 0x40253c
call dword [sym.imp.MSVBVM60.DLL___vbaErrorOverflow]
nop
nop