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

Disassembly:
sub esp, 0x1c
mov edx, dword [0x5390a4]
push ebx
push ebp
mov ebp, dword [esp + 0x28]
xor ebx, ebx
push esi
push edi
mov dword [esp + 0x24], ebx
mov edi, dword [edx + 0x14]
mov ecx, ebp
sub ecx, edi
lea edi, [esp + 0x24]
mov eax, ecx
push edi
shl eax, 4
add eax, ecx
mov ecx, dword [edx + 0xc]
mov edx, dword [esp + 0x44]
push 0x3f800000
lea eax, [eax + eax*2]
mov esi, dword [0x538c1c]
mov dword [esp + 0x20], ebx
lea ecx, [ecx + eax*2]
mov esi, dword [esi]
movsx eax, word [ecx + 4]
add edx, eax
mov ax, word [ecx]
movsx ecx, word [ecx + 2]
push ecx
mov dword [esp + 0x4c], edx
movsx ecx, ax
push ecx
mov ecx, dword [esp + 0x48]
shl eax, 5
push edx
movsx edx, ax
mov eax, dword [esp + 0x50]
push edx
mov edx, dword [0x538c1c]
push eax
push ecx
push 5
push edx
call dword [esi + 0x78]
test eax, eax
fnclex
jge 0x43a5d7
mov ecx, dword [0x538c1c]
push 0x78
push 0x420690
push ecx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov edx, dword [esp + 0x34]
mov edi, dword [esp + 0x38]
add edi, 8
mov ecx, 1
mov eax, dword [edx]
mov dword [esp + 0x38], edi
mov dword [esp + 0x20], ecx
mov edx, dword [eax + 0xc]
mov esi, dword [eax + 0x14]
sub edx, esi
mov dword [esp + 0x14], edx
mov edx, dword [0x5390a4]
mov edi, dword [esp + 0x14]
xor eax, eax
mov esi, ecx
mov dword [esp + 0x10], ebx
mov al, byte [edi + ecx]
mov dword [esp + 0x1c], esi
mov edi, eax
test edi, edi
je 0x43a678
mov eax, dword [edx + 0x14]
mov ecx, ebp
sub ecx, eax
mov eax, ecx
shl eax, 4
add eax, ecx
lea ecx, [eax + eax*2]
mov eax, dword [edx + 0xc]
lea ecx, [eax + ecx*2]
xor eax, eax
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x34]
mov al, byte [ecx + 4]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x1c]
xor ecx, ecx
mov cl, byte [eax + edi + 6]
mov edi, dword [esp + 0x10]
add edi, ecx
mov ecx, dword [esp + 0x28]
cmp esi, ecx
mov dword [esp + 0x10], edi
je 0x43a670
mov edi, dword [esp + 0x14]
inc esi
xor ecx, ecx
mov cl, byte [edi + esi]
mov edi, ecx
test edi, edi
jne 0x43a648
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x1c], esi
cmp dword [esp + 0x10], 0xd8
jle 0x43a6ab
mov eax, dword [edx + 0x14]
mov edi, ebp
sub edi, eax
mov eax, edi
shl eax, 4
add eax, edi
mov edi, dword [edx + 0xc]
lea eax, [eax + eax*2]
movsx eax, word [edi + eax*2 + 2]
mov edi, dword [esp + 0x3c]
add edi, eax
xor ebx, ebx
mov dword [esp + 0x3c], edi
mov dword [esp + 0x18], ebx
cmp ecx, esi
mov edi, ecx
jg 0x43a766
mov eax, dword [esp + 0x14]
xor ecx, ecx
lea ebx, [esp + 0x24]
mov cl, byte [eax + edi]
push ebx
mov esi, ecx
mov ecx, ebp
mov ebp, dword [edx + 0x14]
mov edx, dword [edx + 0xc]
sub ecx, ebp
push 0x3f800000
mov eax, ecx
mov ebx, dword [esp + 0x20]
shl eax, 4
add eax, ecx
lea ecx, [eax + eax*2]
movsx eax, word [edx + ecx*2]
lea ecx, [edx + ecx*2]
mov edx, dword [0x538c1c]
movsx ecx, word [ecx + 2]
push ecx
push eax
mov ecx, dword [esp + 0x50]
imul eax, esi
mov ebp, dword [edx]
push ecx
mov ecx, dword [esp + 0x4c]
push eax
mov eax, dword [esp + 0x54]
push eax
lea eax, [ebx + ecx]
push eax
push 5
push edx
call dword [ebp + 0x78]
test eax, eax
fnclex
jge 0x43a72e
mov ecx, dword [0x538c1c]
push 0x78
push 0x420690
push ecx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov edx, dword [0x5390a4]
mov ebp, dword [esp + 0x30]
mov ecx, ebp
sub ecx, dword [edx + 0x14]
mov eax, ecx
shl eax, 4
add eax, ecx
mov ecx, dword [edx + 0xc]
lea eax, [eax + eax*2]
lea eax, [ecx + eax*2]
xor ecx, ecx
mov cl, byte [eax + esi + 6]
mov esi, dword [esp + 0x1c]
add ebx, ecx
inc edi
cmp edi, esi
mov dword [esp + 0x18], ebx
jle 0x43a6b5
lea ecx, [esi + 1]
mov esi, dword [esp + 0x34]
xor eax, eax
mov dword [esp + 0x20], ecx
mov al, byte [esi + 4]
cmp ecx, eax
jle 0x43a603
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret 0x14