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

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0x4054c6
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], 0x4029d8
mov ecx, dword [0x549b8c]
xor eax, eax
cmp ecx, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x20], eax
je 0x47e37a
mov eax, dword [0x54b1a0]
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaFpI4]
mov dword [ebp - 0x14], eax
mov ecx, dword [0x54b194]
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 0x47de82
cmp eax, 0xfffffffb
je 0x47de82
cmp eax, 0xfffffff9
jne 0x47de88
push ebx
call fcn.00482d30
mov eax, dword [esi + 0x5c]
test eax, eax
jle 0x47df1e
cmp eax, 0x13
je 0x47df1e
fld dword [esi + 0x40]
fild dword [0x54993c]
mov ecx, dword [esi + 0x14]
mov eax, dword [0x549b40]
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 [0x549938]
push eax
fstp qword [ebp - 0x38]
fsub qword [ebp - 0x38]
fsub qword [0x402908]
call edi
mov ecx, dword [esi + 8]
push eax
mov eax, dword [0x54b198]
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 [0x549b40]
push eax
push ecx
call dword [ebx + 0xc4]
test eax, eax
fnclex
jge 0x47df1e
mov edx, dword [0x549b40]
push 0xc4
push 0x420aa0
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
cmp word [esi + 0x1bc], 0
je 0x47e01d
mov eax, dword [esi + 0x1a4]
mov ecx, dword [0x549b40]
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 [0x54993c]
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 [0x549938]
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 [0x549b40]
push eax
push 6
push edx
call dword [ebx + 0x7c]
test eax, eax
fnclex
jge 0x47dfdf
mov ecx, dword [0x549b40]
push 0x7c
push 0x420aa0
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 0x47e01d
mov word [esi + 0x1bc], 0
cmp word [esi + 0x1c0], 0
je 0x47e061
fld dword [0x549a70]
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 0x47e061
mov edx, dword [ebp - 0x14]
push edx
call fcn.004873a0
mov word [esi + 0x1c0], 0
fld dword [esi + 0x90]
fcomp dword [0x4014c8]
lea ebx, [esi + 0x90]
fnstsw ax
test ah, 0x41
jne 0x47e0d4
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 [0x54993c]
push eax
fstp qword [ebp - 0x8c]
fsub qword [ebp - 0x8c]
call edi
fld dword [esi + 0x3c]
fild dword [0x549938]
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.00437760
fld dword [esi + 0x9c]
fcomp dword [0x4014c8]
lea ebx, [esi + 0x9c]
fnstsw ax
test ah, 0x41
jne 0x47e1c6
fld dword [esi + 0xa0]
fcomp dword [0x4014c8]
fnstsw ax
test ah, 0x41
jne 0x47e166
fld dword [esi + 0xa0]
fsub dword [0x549a70]
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 0x47e1c6
mov eax, dword [0x549b2c]
mov cx, word [esi + 8]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x4c]
test eax, eax
fnclex
jge 0x47e1c6
mov edx, dword [0x549b2c]
push 0x4c
push 0x421ec4
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
jmp 0x47e1c6
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 [0x54993c]
push eax
fstp qword [ebp - 0xa8]
fsub qword [ebp - 0xa8]
call edi
fld dword [esi + 0x3c]
fild dword [0x549938]
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.00437760
fld dword [esi + 0xa8]
fcomp dword [0x4014c8]
lea ebx, [esi + 0xa8]
fnstsw ax
test ah, 0x41
jne 0x47e229
fld dword [esi + 0x40]
fild dword [0x54993c]
push 0
push 0
fstp qword [ebp - 0xb8]
fsub qword [ebp - 0xb8]
fsub dword [esi + 0x54]
call edi
fld dword [esi + 0x3c]
fild dword [0x549938]
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.00437760
mov ebx, dword [ebp - 0x14]
mov eax, dword [0x54b1a8]
cmp ebx, eax
jne 0x47e33c
mov eax, dword [esi + 0x154]
mov ecx, dword [esi + 0x1c]
cmp eax, ecx
jge 0x47e2c2
cmp word [esi + 0x1f8], 0
jne 0x47e2c2
test eax, eax
jle 0x47e30d
fld dword [esi + 0x40]
fild dword [0x54993c]
fstp qword [ebp - 0xc8]
fsub qword [ebp - 0xc8]
fadd qword [0x4029d0]
fsub dword [esi + 0x54]
call edi
fld dword [esi + 0x3c]
fild dword [0x549938]
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 [0x4029c8]
call edi
push eax
call fcn.00489150
jmp 0x47e30d
fld dword [esi + 0x40]
fild dword [0x54993c]
mov edx, dword [esi + 0x14]
push 0x54b1b0
push edx
fstp qword [ebp - 0xe8]
fsub qword [ebp - 0xe8]
fadd qword [0x402460]
fsub dword [esi + 0x54]
call edi
fld dword [esi + 0x3c]
fild dword [0x549938]
push eax
fstp qword [ebp - 0xf0]
fsub qword [ebp - 0xf0]
call edi
add esi, 0x18
push eax
push esi
call fcn.0043ba60
fld dword [0x54b1b0]
fsub dword [0x549a8c]
fstp dword [0x54b1b0]
fld dword [0x54b1b0]
fcomp dword [0x4014c8]
fnstsw ax
test ah, 1
je 0x47e33c
mov dword [0x54b1a8], 0
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaAryUnlock]
mov edx, dword [0x54b1a4]
mov eax, dword [0x549b8c]
add ebx, edx
cmp ebx, eax
mov dword [ebp - 0x14], ebx
jle 0x47e363
mov dword [ebp - 0x14], 1
jmp 0x47e36b
cmp ebx, 1
jge 0x47e36e
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x14]
cmp ebx, dword [0x54b1a0]
jne 0x47de40
wait
push 0x47e38b
lea ecx, [ebp - 0x20]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaAryUnlock]
ret