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

Disassembly:
sub esp, 0x14
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x18]
and eax, 0xff
push ebx
mov ebx, dword [edx]
push ebp
lea eax, [eax + eax*2]
push esi
push edi
xor ebp, ebp
movsx ecx, word [eax*4 + 0x538f3a]
movsx edi, word [eax*4 + 0x538f3c]
lea esi, [eax*4 + 0x538f38]
push ebx
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x18], ebp
mov dword [esp + 0x14], ebp
mov dword [esp + 0x24], esi
mov dword [esp + 0x38], ecx
call dword [sym.imp.MSVBVM60.DLL___vbaLenBstr]
push ebx
mov dword [0x538c30], eax
call dword [sym.imp.MSVBVM60.DLL_VarPtr]
mov dword [0x538c2c], eax
mov eax, dword [0x538c30]
lea ebx, [eax - 1]
cmp ebx, ebp
jl 0x43d9df
mov edx, dword [0x538c38]
mov esi, dword [0x5390a4]
mov ecx, dword [edx + 0xc]
mov edx, dword [edx + 0x14]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esi + 0x14]
mov eax, ecx
mov ebp, dword [esi + 0xc]
shl eax, 4
add eax, ecx
xor esi, esi
shl edx, 1
lea ecx, [eax + eax*2]
shl ecx, 1
inc ebx
mov dword [esp + 0x28], ebx
mov ebx, dword [esp + 0x1c]
mov eax, esi
sub eax, edx
add esi, 2
mov ax, word [eax + ebx]
xor ebx, ebx
sub ax, 0x20
movsx eax, ax
sub eax, ecx
mov bl, byte [eax + ebp + 0x534]
mov eax, dword [esp + 0x28]
add edi, ebx
dec eax
mov dword [esp + 0x28], eax
jne 0x43d9ab
mov esi, dword [esp + 0x20]
xor ebp, ebp
cmp word [esp + 0x3c], bp
je 0x43d9ef
mov ebp, dword [esp + 0x2c]
add ebp, 2
jmp 0x43d9fc
mov ebp, dword [esp + 0x2c]
mov ecx, 0xfffffff9
sub ecx, edi
add ebp, ecx
mov eax, dword [0x538ae4]
mov ebx, dword [esp + 0x30]
cmp eax, ebp
jle 0x43da39
lea edx, [edi + ebp + 7]
cmp eax, edx
jge 0x43da39
mov eax, dword [0x538ae8]
cmp eax, ebx
jle 0x43da39
lea ecx, [ebx + 0x10]
cmp eax, ecx
jge 0x43da39
mov dword [esp + 0x14], 0x132
mov dword [esp + 0x34], 0x9c
mov dword [esp + 0x18], 0xffffffff
lea ecx, [esp + 0x10]
mov eax, dword [0x538c1c]
push ecx
mov ecx, dword [esp + 0x3c]
mov edx, dword [eax]
mov ecx, dword [ecx]
push ecx
push 0x11
movsx ecx, word [esi]
push edi
push ecx
mov ecx, dword [esp + 0x28]
add ecx, 0x3c8
push ecx
push ebx
push ebp
push 5
push eax
call dword [edx + 0x78]
test eax, eax
fnclex
jge 0x43da81
mov edx, dword [0x538c1c]
push 0x78
push 0x420690
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
lea edx, [esp + 0x10]
mov eax, dword [0x538c1c]
push edx
mov edx, dword [esp + 0x3c]
mov ecx, dword [eax]
add edi, ebp
mov edx, dword [edx]
push edx
push 0x11
movsx edx, word [esi]
push 9
push edx
mov edx, dword [esp + 0x28]
add edx, 0x4eb
push edx
push ebx
push edi
push 5
push eax
call dword [ecx + 0x78]
test eax, eax
fnclex
jge 0x43dacc
mov ecx, dword [0x538c1c]
push 0x78
push 0x420690
push ecx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
lea ecx, [esp + 0x10]
mov eax, dword [0x538c1c]
push ecx
mov ecx, dword [esp + 0x3c]
mov edx, dword [eax]
mov ecx, dword [ecx]
push ecx
mov ecx, dword [esi + 8]
push 0xe
push 0x13
push 0x1f8
push ecx
lea ecx, [ebx + 1]
push ecx
lea ecx, [ebp + 3]
push ecx
push 5
push eax
call dword [edx + 0x78]
test eax, eax
fnclex
jge 0x43db15
mov edx, dword [0x538c1c]
push 0x78
push 0x420690
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
movsx eax, word [esi + 4]
mov ecx, dword [0x538c30]
add ebx, 3
lea ebp, [eax + ebp + 3]
mov dword [esp + 0x3c], 0
lea eax, [ecx - 1]
test eax, eax
mov dword [esp + 0x2c], eax
jl 0x43dc23
mov eax, dword [0x538c38]
mov edx, dword [esp + 0x3c]
mov esi, dword [eax + 0x14]
mov eax, dword [eax + 0xc]
sub edx, esi
mov cx, word [eax + edx*2]
mov eax, dword [0x538c1c]
sub cx, 0x20
movsx esi, cx
lea ecx, [esp + 0x10]
mov edx, dword [eax]
push ecx
mov ecx, dword [esp + 0x3c]
lea edi, [esi + esi*8]
mov ecx, dword [ecx]
push ecx
mov ecx, dword [esp + 0x3c]
push 9
push 9
push ecx
push edi
push ebx
push ebp
push 5
push eax
call dword [edx + 0x78]
test eax, eax
fnclex
jge 0x43db9c
mov edx, dword [0x538c1c]
push 0x78
push 0x420690
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
cmp dword [esp + 0x34], 0xe9
je 0x43dbe9
lea edx, [esp + 0x10]
mov eax, dword [0x538c1c]
push edx
mov edx, dword [esp + 0x3c]
mov ecx, dword [eax]
mov edx, dword [edx]
push edx
push 0xb
push 9
push 0x90
lea edx, [ebx - 1]
push edi
push edx
push ebp
push 5
push eax
call dword [ecx + 0x78]
test eax, eax
fnclex
jge 0x43dbe9
mov ecx, dword [0x538c1c]
push 0x78
push 0x420690
push ecx
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 + 0x3c]
mov dl, byte [ecx + esi + 0x534]
mov ecx, dword [esp + 0x2c]
add ebp, edx
inc eax
cmp eax, ecx
mov dword [esp + 0x3c], eax
jle 0x43db3d
mov ax, word [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 0x18