Function at 0x43d600
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 esi, word [eax*4 + 0x538f3c]
lea edi, [eax*4 + 0x538f38]
push ebx
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x18], ebp
mov dword [esp + 0x14], ebp
mov dword [esp + 0x24], edi
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 0x43d6cd
mov edx, dword [0x538c38]
mov edi, dword [0x5390a4]
mov ecx, dword [edx + 0xc]
mov edx, dword [edx + 0x14]
mov dword [esp + 0x1c], ecx
mov ecx, dword [edi + 0x14]
mov eax, ecx
mov ebp, dword [edi + 0xc]
shl eax, 4
add eax, ecx
xor edi, edi
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, edi
sub eax, edx
add edi, 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 esi, ebx
dec eax
mov dword [esp + 0x28], eax
jne 0x43d69b
mov edi, dword [esp + 0x20]
lea eax, [esi + 6]
mov ebp, dword [esp + 0x2c]
cdq
sub eax, edx
mov ebx, dword [esp + 0x30]
sar eax, 1
neg eax
add ebp, eax
mov eax, dword [0x538ae4]
cmp eax, ebp
jle 0x43d71a
lea ecx, [esi + ebp + 7]
cmp eax, ecx
jge 0x43d71a
mov eax, dword [0x538ae8]
cmp eax, ebx
jle 0x43d71a
lea edx, [ebx + 0x10]
cmp eax, edx
jge 0x43d71a
mov dword [esp + 0x14], 0x132
mov dword [esp + 0x34], 0x9c
mov dword [esp + 0x18], 0xffffffff
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 0x11
movsx edx, word [edi]
push esi
push edx
mov edx, dword [esp + 0x28]
add edx, 0x3c8
push edx
push ebx
push ebp
push 5
push eax
call dword [ecx + 0x78]
test eax, eax
fnclex
jge 0x43d762
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]
add esi, ebp
mov ecx, dword [ecx]
push ecx
push 0x11
movsx ecx, word [edi]
push 9
push ecx
mov ecx, dword [esp + 0x28]
add ecx, 0x4eb
push ecx
push ebx
push esi
push 5
push eax
call dword [edx + 0x78]
test eax, eax
fnclex
jge 0x43d7ad
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]
mov edx, dword [edx]
push edx
mov edx, dword [edi + 8]
push 0xe
push 0x13
push 0x1f8
push edx
lea edx, [ebx + 1]
push edx
lea edx, [ebp + 3]
push edx
push 5
push eax
call dword [ecx + 0x78]
test eax, eax
fnclex
jge 0x43d7f6
mov ecx, dword [0x538c1c]
push 0x78
push 0x420690
push ecx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
movsx edx, word [edi + 4]
mov eax, dword [0x538c30]
add ebx, 3
dec eax
lea ebp, [edx + ebp + 3]
test eax, eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], 0
jl 0x43d901
mov eax, dword [0x538c38]
mov ecx, dword [esp + 0x28]
mov edi, dword [eax + 0x14]
mov edx, dword [eax + 0xc]
sub ecx, edi
mov ax, word [edx + ecx*2]
lea edx, [esp + 0x10]
push edx
mov edx, dword [esp + 0x3c]
sub ax, 0x20
mov edx, dword [edx]
movsx esi, ax
mov eax, dword [0x538c1c]
push edx
mov edx, dword [esp + 0x3c]
push 9
mov ecx, dword [eax]
lea edi, [esi + esi*8]
push 9
push edx
push edi
push ebx
push ebp
push 5
push eax
call dword [ecx + 0x78]
test eax, eax
fnclex
jge 0x43d87a
mov ecx, dword [0x538c1c]
push 0x78
push 0x420690
push ecx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
cmp dword [esp + 0x34], 0xe9
je 0x43d8c7
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 0xb
push 9
push 0x90
lea ecx, [ebx - 1]
push edi
push ecx
push ebp
push 5
push eax
call dword [edx + 0x78]
test eax, eax
fnclex
jge 0x43d8c7
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 + 0x28]
mov dl, byte [ecx + esi + 0x534]
mov ecx, dword [esp + 0x2c]
add ebp, edx
inc eax
cmp eax, ecx
mov dword [esp + 0x28], eax
jle 0x43d81b
mov ax, word [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 0x14