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

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0x405426
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xe0
push ebx
push esi
push edi
mov dword [ebp - 8], esp
mov dword [ebp - 4], 0x4029b0
mov ecx, dword [0x544b88]
xor eax, eax
cmp ecx, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x20], eax
je 0x47ca2a
mov eax, dword [0x545f3c]
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaFpI4]
mov dword [ebp - 0x14], eax
mov ecx, dword [0x545f30]
lea edx, [ebp - 0x20]
push ecx
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaAryLock]
mov edx, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x14]
mov eax, ebx
sub eax, dword [edx + 0x14]
lea ecx, [eax*8]
sub ecx, eax
mov eax, dword [edx + 0xc]
lea esi, [ecx + ecx*4]
shl esi, 4
add esi, eax
mov eax, dword [esi + 0x5c]
cmp eax, 0xfffffffe
je 0x47c532
cmp eax, 0xfffffffb
je 0x47c532
cmp eax, 0xfffffff9
jne 0x47c538
push ebx
call fcn.004811e0
mov eax, dword [esi + 0x5c]
test eax, eax
jle 0x47c5ce
cmp eax, 0x13
je 0x47c5ce
fld dword [esi + 0x40]
fild dword [0x54493c]
mov ecx, dword [esi + 0x14]
mov eax, dword [0x544b3c]
mov edx, dword [esi + 0x15c]
push ecx
fstp qword [ebp - 0x30]
fsub qword [ebp - 0x30]
fsub dword [esi + 0x54]
mov ebx, dword [eax]
push edx
call edi
fld dword [esi + 0x3c]
fild dword [0x544938]
push eax
fstp qword [ebp - 0x38]
fsub qword [ebp - 0x38]
fsub qword [0x4028f0]
call edi
mov ecx, dword [esi + 8]
push eax
mov eax, dword [0x545f34]
mov edx, dword [eax + 0x14]
sub ecx, edx
mov edx, dword [eax + 0xc]
shl ecx, 4
mov eax, dword [ecx + edx + 4]
mov ecx, dword [0x544b3c]
push eax
push ecx
call dword [ebx + 0xc4]
test eax, eax
fnclex
jge 0x47c5ce
mov edx, dword [0x544b3c]
push 0xc4
push 0x42099c
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
cmp word [esi + 0x1bc], 0
je 0x47c6cd
mov eax, dword [esi + 0x1a4]
mov ecx, dword [0x544b3c]
fld dword [esi + 0x1b4]
mov ebx, dword [ecx]
lea edx, [ebp - 0x18]
push edx
push 0x3f800000
mov dword [ebp - 0x3c], eax
push eax
mov eax, dword [esi + 0x1a0]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaFPFix]
fild dword [ebp - 0x3c]
fstp qword [ebp - 0x44]
fmul qword [ebp - 0x44]
fild dword [esi + 0x19c]
fstp qword [ebp - 0x4c]
fadd qword [ebp - 0x4c]
call edi
fld dword [esi + 0x40]
fild dword [0x54493c]
mov ecx, dword [esi + 0x198]
push eax
push ecx
fstp qword [ebp - 0x54]
fsub qword [ebp - 0x54]
fsub dword [esi + 0x54]
fild dword [esi + 0x1b0]
fstp qword [ebp - 0x5c]
fsub qword [ebp - 0x5c]
call edi
fld dword [esi + 0x3c]
fild dword [0x544938]
push eax
fstp qword [ebp - 0x64]
fsub qword [ebp - 0x64]
fild dword [esi + 0x1ac]
fstp qword [ebp - 0x6c]
fsub qword [ebp - 0x6c]
call edi
mov edx, dword [0x544b3c]
push eax
push 6
push edx
call dword [ebx + 0x7c]
test eax, eax
fnclex
jge 0x47c68f
mov ecx, dword [0x544b3c]
push 0x7c
push 0x42099c
push ecx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
fld dword [esi + 0x1b8]
fadd dword [esi + 0x1b4]
movsx eax, word [esi + 0x1aa]
fstp dword [ebp - 0x70]
mov dword [ebp - 0x74], eax
mov edx, dword [ebp - 0x70]
fild dword [ebp - 0x74]
mov dword [esi + 0x1b4], edx
fstp dword [ebp - 0x78]
fld dword [ebp - 0x70]
fcomp dword [ebp - 0x78]
fnstsw ax
test ah, 1
jne 0x47c6cd
mov word [esi + 0x1bc], 0
cmp word [esi + 0x1c0], 0
je 0x47c711
fld dword [0x544a70]
fadd dword [esi + 0x1c8]
fstp dword [ebp - 0x7c]
fld dword [ebp - 0x7c]
fcomp dword [esi + 0x1cc]
mov ecx, dword [ebp - 0x7c]
mov dword [esi + 0x1c8], ecx
fnstsw ax
test ah, 0x41
jne 0x47c711
mov edx, dword [ebp - 0x14]
push edx
call fcn.00485820
mov word [esi + 0x1c0], 0
fld dword [esi + 0x90]
fcomp dword [0x4014c8]
lea ebx, [esi + 0x90]
fnstsw ax
test ah, 0x41
jne 0x47c784
fild dword [esi + 0x78]
push 0x20
fstp qword [ebp - 0x84]
fld dword [esi + 0x54]
fadd qword [ebp - 0x84]
call edi
fld dword [esi + 0x40]
fild dword [0x54493c]
push eax
fstp qword [ebp - 0x8c]
fsub qword [ebp - 0x8c]
call edi
fld dword [esi + 0x3c]
fild dword [0x544938]
push eax
fstp qword [ebp - 0x94]
fsub qword [ebp - 0x94]
fadd dword [esi + 0x84]
call edi
push eax
lea eax, [esi + 0x8c]
push ebx
push eax
call fcn.004367a0
fld dword [esi + 0x9c]
fcomp dword [0x4014c8]
lea ebx, [esi + 0x9c]
fnstsw ax
test ah, 0x41
jne 0x47c876
fld dword [esi + 0xa0]
fcomp dword [0x4014c8]
fnstsw ax
test ah, 0x41
jne 0x47c816
fld dword [esi + 0xa0]
fsub dword [0x544a70]
fstp dword [ebp - 0x98]
fld dword [ebp - 0x98]
fcomp dword [0x4013b0]
mov ecx, dword [ebp - 0x98]
mov dword [esi + 0xa0], ecx
fnstsw ax
test ah, 1
je 0x47c876
mov eax, dword [0x544b28]
mov cx, word [esi + 8]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x4c]
test eax, eax
fnclex
jge 0x47c876
mov edx, dword [0x544b28]
push 0x4c
push 0x421dc0
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
jmp 0x47c876
fild dword [esi + 0x78]
push 0x20
fstp qword [ebp - 0xa0]
fld dword [esi + 0x54]
fadd qword [ebp - 0xa0]
call edi
fld dword [esi + 0x40]
fild dword [0x54493c]
push eax
fstp qword [ebp - 0xa8]
fsub qword [ebp - 0xa8]
call edi
fld dword [esi + 0x3c]
fild dword [0x544938]
push eax
fstp qword [ebp - 0xb0]
fsub qword [ebp - 0xb0]
fadd dword [esi + 0x84]
fadd qword [0x4015d0]
call edi
push eax
lea eax, [esi + 0x98]
push ebx
push eax
call fcn.004367a0
fld dword [esi + 0xa8]
fcomp dword [0x4014c8]
lea ebx, [esi + 0xa8]
fnstsw ax
test ah, 0x41
jne 0x47c8d9
fld dword [esi + 0x40]
fild dword [0x54493c]
push 0
push 0
fstp qword [ebp - 0xb8]
fsub qword [ebp - 0xb8]
fsub dword [esi + 0x54]
call edi
fld dword [esi + 0x3c]
fild dword [0x544938]
push eax
fstp qword [ebp - 0xc0]
fsub qword [ebp - 0xc0]
fadd dword [esi + 0x84]
call edi
push eax
lea ecx, [esi + 0xa4]
push ebx
push ecx
call fcn.004367a0
mov ebx, dword [ebp - 0x14]
mov eax, dword [0x545f44]
cmp ebx, eax
jne 0x47c9ec
mov eax, dword [esi + 0x154]
mov ecx, dword [esi + 0x1c]
cmp eax, ecx
jge 0x47c972
cmp word [esi + 0x1f8], 0
jne 0x47c972
test eax, eax
jle 0x47c9bd
fld dword [esi + 0x40]
fild dword [0x54493c]
fstp qword [ebp - 0xc8]
fsub qword [ebp - 0xc8]
fadd qword [0x4029a8]
fsub dword [esi + 0x54]
call edi
fld dword [esi + 0x3c]
fild dword [0x544938]
push eax
fstp qword [ebp - 0xd0]
fsub qword [ebp - 0xd0]
call edi
fild dword [esi + 0x154]
push eax
fstp qword [ebp - 0xd8]
fild dword [esi + 0x1c]
fstp qword [ebp - 0xe0]
fld qword [ebp - 0xd8]
fdiv qword [ebp - 0xe0]
fmul qword [0x4029a0]
call edi
push eax
call fcn.00487550
jmp 0x47c9bd
fld dword [esi + 0x40]
fild dword [0x54493c]
mov edx, dword [esi + 0x14]
push 0x545f4c
push edx
fstp qword [ebp - 0xe8]
fsub qword [ebp - 0xe8]
fadd qword [0x402458]
fsub dword [esi + 0x54]
call edi
fld dword [esi + 0x3c]
fild dword [0x544938]
push eax
fstp qword [ebp - 0xf0]
fsub qword [ebp - 0xf0]
call edi
add esi, 0x18
push eax
push esi
call fcn.0043aaa0
fld dword [0x545f4c]
fsub dword [0x544a8c]
fstp dword [0x545f4c]
fld dword [0x545f4c]
fcomp dword [0x4014c8]
fnstsw ax
test ah, 1
je 0x47c9ec
mov dword [0x545f44], 0
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaAryUnlock]
mov edx, dword [0x545f40]
mov eax, dword [0x544b88]
add ebx, edx
cmp ebx, eax
mov dword [ebp - 0x14], ebx
jle 0x47ca13
mov dword [ebp - 0x14], 1
jmp 0x47ca1b
cmp ebx, 1
jge 0x47ca1e
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x14]
cmp ebx, dword [0x545f3c]
jne 0x47c4f0
wait
push 0x47ca3b
lea ecx, [ebp - 0x20]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaAryUnlock]
ret