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

Disassembly:
sub esp, 0xc
push ebx
push ebp
mov ebp, dword [esp + 0x18]
xor eax, eax
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
mov eax, dword [ebp]
push esi
push edi
mov esi, dword [eax + 0x14]
mov ebx, dword [eax + 0xc]
shl esi, 1
mov eax, ebx
mov dword [esp + 0x18], esi
sub eax, esi
mov dword [esp + 0x20], ebx
mov al, byte [eax + 2]
cmp al, 3
jne 0x4ea247
mov eax, dword [0x538c1c]
lea edx, [esp + 0x14]
push edx
push 0x3f800000
mov ecx, dword [eax]
push 0xe
push 0xf
push 0x1f8
push 0x5de
jmp 0x4ea41e
cmp al, 4
jne 0x4ea297
mov eax, dword [0x538c1c]
mov edi, dword [esp + 0x24]
lea ecx, [esp + 0x14]
mov edx, dword [eax]
push ecx
mov ecx, dword [esp + 0x2c]
push 0x3f800000
push 0xd
push 0xf
push 0x1f8
push 0x50d
push ecx
push edi
push 5
push eax
call dword [edx + 0x78]
test eax, eax
fnclex
jge 0x4ea449
mov edx, dword [0x538c1c]
push 0x78
push 0x420690
push edx
jmp 0x4ea442
cmp al, 5
jne 0x4ea2f9
mov eax, dword [0x538c1c]
mov edi, dword [esp + 0x24]
lea edx, [esp + 0x14]
mov ecx, dword [eax]
push edx
mov edx, dword [esp + 0x2c]
push 0x3f800000
push 0xd
push 0xf
push 0x1f8
push 0x592
push edx
push edi
push 5
push eax
call dword [ecx + 0x78]
test eax, eax
fnclex
jge 0x4ea449
mov ecx, dword [0x538c1c]
push 0x78
push 0x420690
push ecx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
add edi, 0x13
mov dword [esp + 0x10], 1
jmp 0x4ea45a
cmp al, 0x20
jne 0x4ea357
mov eax, dword [0x538c1c]
mov edi, dword [esp + 0x24]
lea ecx, [esp + 0x14]
mov edx, dword [eax]
push ecx
mov ecx, dword [esp + 0x2c]
push 0x3f800000
push 0xd
push 0xc
push 0x1f8
push 0x5cb
push ecx
push edi
push 5
push eax
call dword [edx + 0x78]
test eax, eax
fnclex
jge 0x4ea347
mov edx, dword [0x538c1c]
push 0x78
push 0x420690
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
add edi, 0x10
mov dword [esp + 0x10], 1
jmp 0x4ea45a
cmp al, 0x3c
jne 0x4ea3a0
mov eax, dword [0x538c1c]
mov edi, dword [esp + 0x24]
lea edx, [esp + 0x14]
mov ecx, dword [eax]
push edx
mov edx, dword [esp + 0x2c]
push 0x3f800000
push 0xd
push 0xd
push 0x1f8
push 0x533
push edx
push edi
push 5
push eax
call dword [ecx + 0x78]
test eax, eax
fnclex
jge 0x4ea3ee
mov ecx, dword [0x538c1c]
push 0x78
push 0x420690
push ecx
jmp 0x4ea3e7
cmp al, 0x5b
jne 0x4ea3fb
mov eax, dword [0x538c1c]
mov edi, dword [esp + 0x24]
lea ecx, [esp + 0x14]
mov edx, dword [eax]
push ecx
mov ecx, dword [esp + 0x2c]
push 0x3f800000
push 0xd
push 0xd
push 0x1f8
push 0x4fa
push ecx
push edi
push 5
push eax
call dword [edx + 0x78]
test eax, eax
fnclex
jge 0x4ea3ee
mov edx, dword [0x538c1c]
push 0x78
push 0x420690
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
add edi, 0x11
mov dword [esp + 0x10], 1
jmp 0x4ea45a
cmp al, 0x5d
jne 0x4ea456
mov eax, dword [0x538c1c]
lea edx, [esp + 0x14]
push edx
push 0x3f800000
mov ecx, dword [eax]
push 0xd
push 0xf
push 0x1f8
push 0x4e7
mov edx, dword [esp + 0x40]
mov edi, dword [esp + 0x3c]
push edx
push edi
push 5
push eax
call dword [ecx + 0x78]
test eax, eax
fnclex
jge 0x4ea449
mov ecx, dword [0x538c1c]
push 0x78
push 0x420690
push ecx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
add edi, 0x13
mov dword [esp + 0x10], 1
jmp 0x4ea45a
mov edi, dword [esp + 0x24]
mov eax, dword [esp + 0x10]
xor edx, edx
mov dl, byte [ebp + 4]
mov dword [esp + 0x24], edx
lea ebp, [eax + eax]
jmp 0x4ea474
mov esi, dword [esp + 0x18]
mov ebx, dword [esp + 0x20]
mov ecx, dword [esp + 0x10]
add ebp, 2
inc ecx
mov eax, ebp
mov edx, dword [esp + 0x20]
mov dword [esp + 0x10], ecx
sub eax, esi
xor ecx, ecx
mov cl, byte [eax + ebx]
mov eax, ebp
sub eax, esi
mov ebx, ecx
mov ecx, dword [0x538c1c]
movzx ax, byte [eax + edx + 1]
mov edx, dword [ecx]
add eax, 0x104
lea ecx, [esp + 0x14]
lea esi, [ebx + ebx*4]
movsx eax, ax
push ecx
mov ecx, dword [0x538c1c]
push 0x3f800000
push 0xf
push 0xa
push eax
mov eax, dword [esp + 0x3c]
shl esi, 1
push esi
push eax
push edi
push 5
push ecx
call dword [edx + 0x78]
test eax, eax
fnclex
jge 0x4ea4eb
mov edx, dword [0x538c1c]
push 0x78
push 0x420690
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
lea ecx, [esp + 0x14]
mov eax, dword [0x538c1c]
push ecx
mov ecx, dword [esp + 0x2c]
push 0x3f800000
mov edx, dword [eax]
push 0x11
push 0xa
push 0x1cb
dec ecx
push esi
push ecx
lea ecx, [edi - 1]
push ecx
push 5
push eax
call dword [edx + 0x78]
test eax, eax
fnclex
jge 0x4ea531
mov edx, dword [0x538c1c]
push 0x78
push 0x420690
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov edx, dword [0x5390a4]
mov ecx, dword [edx + 0x14]
mov eax, ecx
shl eax, 4
add eax, ecx
mov ecx, dword [edx + 0xc]
xor edx, edx
lea eax, [eax + eax*2]
shl eax, 1
sub ecx, eax
mov eax, dword [esp + 0x24]
mov dl, byte [ecx + ebx + 0x59a]
mov ecx, dword [esp + 0x10]
add edi, edx
cmp ecx, eax
jne 0x4ea46c
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0xc