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

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0x405556
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], 0x4029e0
mov ecx, dword [0x54eb8c]
xor eax, eax
cmp ecx, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x20], eax
je 0x47ec5a
mov eax, dword [0x5501a8]
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaFpI4]
mov dword [ebp - 0x14], eax
mov ecx, dword [0x55019c]
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 0x47e762
cmp eax, 0xfffffffb
je 0x47e762
cmp eax, 0xfffffff9
jne 0x47e768
push ebx
call fcn.00483610
mov eax, dword [esi + 0x5c]
test eax, eax
jle 0x47e7fe
cmp eax, 0x13
je 0x47e7fe
fld dword [esi + 0x40]
fild dword [0x54e93c]
mov ecx, dword [esi + 0x14]
mov eax, dword [0x54eb40]
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 [0x54e938]
push eax
fstp qword [ebp - 0x38]
fsub qword [ebp - 0x38]
fsub qword [0x402910]
call edi
mov ecx, dword [esi + 8]
push eax
mov eax, dword [0x5501a0]
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 [0x54eb40]
push eax
push ecx
call dword [ebx + 0xc4]
test eax, eax
fnclex
jge 0x47e7fe
mov edx, dword [0x54eb40]
push 0xc4
push 0x420b44
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
cmp word [esi + 0x1bc], 0
je 0x47e8fd
mov eax, dword [esi + 0x1a4]
mov ecx, dword [0x54eb40]
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 [0x54e93c]
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 [0x54e938]
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 [0x54eb40]
push eax
push 6
push edx
call dword [ebx + 0x7c]
test eax, eax
fnclex
jge 0x47e8bf
mov ecx, dword [0x54eb40]
push 0x7c
push 0x420b44
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 0x47e8fd
mov word [esi + 0x1bc], 0
cmp word [esi + 0x1c0], 0
je 0x47e941
fld dword [0x54ea70]
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 0x47e941
mov edx, dword [ebp - 0x14]
push edx
call fcn.00487c80
mov word [esi + 0x1c0], 0
fld dword [esi + 0x90]
fcomp dword [0x4014d0]
lea ebx, [esi + 0x90]
fnstsw ax
test ah, 0x41
jne 0x47e9b4
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 [0x54e93c]
push eax
fstp qword [ebp - 0x8c]
fsub qword [ebp - 0x8c]
call edi
fld dword [esi + 0x3c]
fild dword [0x54e938]
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.00437950
fld dword [esi + 0x9c]
fcomp dword [0x4014d0]
lea ebx, [esi + 0x9c]
fnstsw ax
test ah, 0x41
jne 0x47eaa6
fld dword [esi + 0xa0]
fcomp dword [0x4014d0]
fnstsw ax
test ah, 0x41
jne 0x47ea46
fld dword [esi + 0xa0]
fsub dword [0x54ea70]
fstp dword [ebp - 0x98]
fld dword [ebp - 0x98]
fcomp dword [0x4013b8]
mov ecx, dword [ebp - 0x98]
mov dword [esi + 0xa0], ecx
fnstsw ax
test ah, 1
je 0x47eaa6
mov eax, dword [0x54eb2c]
mov cx, word [esi + 8]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x4c]
test eax, eax
fnclex
jge 0x47eaa6
mov edx, dword [0x54eb2c]
push 0x4c
push 0x421fa4
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
jmp 0x47eaa6
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 [0x54e93c]
push eax
fstp qword [ebp - 0xa8]
fsub qword [ebp - 0xa8]
call edi
fld dword [esi + 0x3c]
fild dword [0x54e938]
push eax
fstp qword [ebp - 0xb0]
fsub qword [ebp - 0xb0]
fadd dword [esi + 0x84]
fadd qword [0x4015d8]
call edi
push eax
lea eax, [esi + 0x98]
push ebx
push eax
call fcn.00437950
fld dword [esi + 0xa8]
fcomp dword [0x4014d0]
lea ebx, [esi + 0xa8]
fnstsw ax
test ah, 0x41
jne 0x47eb09
fld dword [esi + 0x40]
fild dword [0x54e93c]
push 0
push 0
fstp qword [ebp - 0xb8]
fsub qword [ebp - 0xb8]
fsub dword [esi + 0x54]
call edi
fld dword [esi + 0x3c]
fild dword [0x54e938]
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.00437950
mov ebx, dword [ebp - 0x14]
mov eax, dword [0x5501b0]
cmp ebx, eax
jne 0x47ec1c
mov eax, dword [esi + 0x154]
mov ecx, dword [esi + 0x1c]
cmp eax, ecx
jge 0x47eba2
cmp word [esi + 0x1f8], 0
jne 0x47eba2
test eax, eax
jle 0x47ebed
fld dword [esi + 0x40]
fild dword [0x54e93c]
fstp qword [ebp - 0xc8]
fsub qword [ebp - 0xc8]
fadd qword [0x4029d8]
fsub dword [esi + 0x54]
call edi
fld dword [esi + 0x3c]
fild dword [0x54e938]
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 [0x4029d0]
call edi
push eax
call fcn.00489a30
jmp 0x47ebed
fld dword [esi + 0x40]
fild dword [0x54e93c]
mov edx, dword [esi + 0x14]
push 0x5501b8
push edx
fstp qword [ebp - 0xe8]
fsub qword [ebp - 0xe8]
fadd qword [0x402468]
fsub dword [esi + 0x54]
call edi
fld dword [esi + 0x3c]
fild dword [0x54e938]
push eax
fstp qword [ebp - 0xf0]
fsub qword [ebp - 0xf0]
call edi
add esi, 0x18
push eax
push esi
call fcn.0043bca0
fld dword [0x5501b8]
fsub dword [0x54ea8c]
fstp dword [0x5501b8]
fld dword [0x5501b8]
fcomp dword [0x4014d0]
fnstsw ax
test ah, 1
je 0x47ec1c
mov dword [0x5501b0], 0
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaAryUnlock]
mov edx, dword [0x5501ac]
mov eax, dword [0x54eb8c]
add ebx, edx
cmp ebx, eax
mov dword [ebp - 0x14], ebx
jle 0x47ec43
mov dword [ebp - 0x14], 1
jmp 0x47ec4b
cmp ebx, 1
jge 0x47ec4e
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x14]
cmp ebx, dword [0x5501a8]
jne 0x47e720
wait
push 0x47ec6b
lea ecx, [ebp - 0x20]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaAryUnlock]
ret