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

Disassembly:
sub esp, 8
mov eax, dword [esp + 0xc]
push ebx
push ebp
push esi
mov esi, dword [eax]
push edi
push esi
mov dword [esp + 0x14], 0
mov edi, 5
call dword [sym.imp.MSVBVM60.DLL___vbaLenBstr]
push esi
mov dword [0x538c30], eax
call dword [sym.imp.MSVBVM60.DLL_VarPtr]
mov ecx, dword [0x538c30]
mov dword [0x538c2c], eax
lea ebx, [ecx - 1]
test ebx, ebx
jl 0x43bfce
mov edx, dword [0x538c38]
mov esi, dword [0x5390a4]
mov eax, dword [edx + 0xc]
mov ecx, dword [esi + 0x14]
mov dword [esp + 0x14], eax
mov edx, dword [edx + 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 + 0x1c], ebx
mov ebx, dword [esp + 0x14]
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 + 0x19e]
mov eax, dword [esp + 0x1c]
add edi, ebx
dec eax
mov dword [esp + 0x1c], eax
jne 0x43bfa0
mov ebx, dword [esp + 0x20]
lea edx, [esp + 0x10]
mov eax, dword [0x538c1c]
push edx
mov esi, ebx
push 0x3f800000
push 0xd
sub esi, edi
mov ecx, dword [eax]
push edi
mov edi, dword [esp + 0x34]
push 0x40
push 0x36c
lea edx, [edi - 2]
push edx
push esi
push 5
push eax
call dword [ecx + 0x78]
test eax, eax
fnclex
jge 0x43c01b
mov ecx, dword [0x538c1c]
push 0x78
push 0x420690
push ecx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [0x538c1c]
lea ecx, [esp + 0x10]
push ecx
push 0x3f800000
mov edx, dword [eax]
push 0xb
push 1
push 0x41
dec edi
push 0x36c
push edi
push ebx
push 5
push eax
call dword [edx + 0x78]
test eax, eax
fnclex
jge 0x43c05b
mov edx, dword [0x538c1c]
push 0x78
push 0x420690
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [0x538c30]
add esi, 3
dec eax
xor ebp, ebp
test eax, eax
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], eax
jl 0x43c14c
mov eax, dword [0x5390a4]
mov ecx, dword [0x538c38]
mov edx, ebp
mov edi, dword [eax + 0xc]
mov ebx, dword [ecx + 0x14]
mov ecx, dword [ecx + 0xc]
sub edx, ebx
mov esi, edi
mov dx, word [ecx + edx*2]
mov ecx, 4
sub dx, 0x20
movsx ebx, dx
mov edx, dword [eax + 0x14]
mov eax, edx
sub ecx, edx
shl eax, 4
add eax, edx
lea eax, [eax + eax*2]
shl eax, 1
sub esi, eax
mov eax, ecx
shl eax, 4
add eax, ecx
lea ecx, [eax + eax*2]
movsx eax, word [edi + ecx*2]
lea edi, [esp + 0x10]
mov ecx, dword [0x538c1c]
push edi
push 0x3f800000
movsx edi, word [esi + 0x19a]
push edi
push eax
movsx esi, word [esi + 0x19c]
imul eax, ebx
mov edx, dword [ecx]
push esi
push eax
mov eax, dword [esp + 0x3c]
push eax
mov eax, dword [esp + 0x3c]
push eax
push 5
push ecx
call dword [edx + 0x78]
test eax, eax
fnclex
jge 0x43c113
mov ecx, dword [0x538c1c]
push 0x78
push 0x420690
push ecx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [0x5390a4]
mov esi, dword [esp + 0x20]
mov edx, dword [eax + 0x14]
mov ecx, edx
shl ecx, 4
add ecx, edx
lea edx, [ecx + ecx*2]
mov ecx, dword [eax + 0xc]
shl edx, 1
sub ecx, edx
xor edx, edx
mov dl, byte [ecx + ebx + 0x19e]
mov ecx, dword [esp + 0x1c]
add esi, edx
inc ebp
cmp ebp, ecx
mov dword [esp + 0x20], esi
jle 0x43c07b
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0xc