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

Disassembly:
sub esp, 0x84
push ebx
mov ebx, dword [esp + 0x90]
push ebp
push esi
mov eax, dword [ebx]
push edi
xor edi, edi
mov dword [esp + 0x50], eax
mov ebp, dword [eax + 0xc]
push edi
lea eax, [esp + 0x18]
push 4
push eax
push ebx
mov dword [esp + 0x40], edi
mov dword [esp + 0x48], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], edi
mov dword [esp + 0x20], ebp
call ebp
mov esi, eax
cmp esi, edi
je 0x65380261
jl 0x653805a1
push edi
lea ecx, [esp + 0x1c]
push 0x14
push ecx
push ebx
call ebp
mov esi, eax
cmp esi, edi
je 0x65380278
jl 0x653805a1
push edi
lea edx, [esp + 0x58]
push 0x10
push edx
push ebx
call ebp
mov esi, eax
cmp esi, edi
je 0x6538028f
jl 0x653805a1
mov edx, dword [esp + 0x20]
cmp edx, edi
jbe 0x65380385
mov ecx, dword [esp + 0x24]
lea edx, [edx + edx*4]
lea eax, [edx + edx*4]
shl eax, 1
lea edx, [eax + ecx*4]
push edx
call fcn.65343284
mov edi, eax
xor ebp, ebp
add esp, 4
cmp edi, ebp
mov dword [esp + 0x30], edi
jne 0x653802d1
mov esi, 0x8007000e
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x84
ret
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov eax, edx
mov esi, edx
shl eax, 5
add eax, edi
mov dword [esp + 0x2c], edi
shl esi, 4
mov dword [esp + 0x3c], eax
add eax, esi
mov dword [esp + 0x40], eax
lea eax, [eax + ecx*4]
mov ecx, edi
mov dword [esp + 0x38], eax
lea eax, [edi + esi]
cmp edi, eax
jae 0x65380324
mov word [ecx], bp
mov dword [ecx + 8], eax
mov word [eax], bp
mov dword [eax + 8], ebp
mov edx, dword [esp + 0x20]
add ecx, 0x10
mov esi, edx
add eax, 0x10
shl esi, 4
add esi, edi
cmp ecx, esi
jb 0x65380303
test edx, edx
jbe 0x6538037f
mov ebx, dword [esp + 0x38]
xor edi, edi
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x3c]
add edx, edi
push ecx
mov ecx, dword [esp + 0xa0]
add eax, edi
push edx
push eax
push ecx
call fcn.6537da4b
mov esi, eax
add esp, 0x10
test esi, esi
je 0x6538035d
jl 0x65380517
mov edx, dword [esp + 0x3c]
inc ebp
add ebx, 2
mov ax, word [edx + edi]
add edi, 0x10
mov word [ebx - 2], ax
mov edx, dword [esp + 0x20]
cmp ebp, edx
jb 0x6538032e
mov ebx, dword [esp + 0x9c]
mov ebp, dword [esp + 0x10]
xor edi, edi
mov eax, dword [esp + 0x24]
cmp eax, edi
jbe 0x65380637
mov edx, dword [esp + 0x40]
lea ecx, [eax*4]
push edi
push ecx
push edx
push ebx
call ebp
mov esi, eax
cmp esi, edi
je 0x653803ae
jl 0x65380517
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], eax
mov al, byte [esp + 0x2a]
test al, 2
jne 0x653804eb
mov dword [esp + 0x34], edi
test byte [esp + 0x2a], 4
jne 0x6538051d
mov dword [esp + 0x10], edi
test byte [esp + 0x2a], 8
je 0x65380400
push 0
lea ecx, [esp + 0x50]
push 4
push ecx
push ebx
lea edi, [esp + 0x5c]
call ebp
mov esi, eax
test esi, esi
je 0x65380400
jl 0x65380517
mov ecx, dword [esp + 0x10]
push edi
push ecx
mov ecx, dword [esp + 0x3c]
push ecx
lea ecx, [esp + 0x48]
push ecx
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0xa8]
push ecx
mov ecx, dword [esp + 0x30]
mov edx, dword [eax]
push ecx
lea ecx, [esp + 0x6c]
push ecx
mov ecx, dword [esp + 0x34]
push ecx
push eax
call dword [edx + 0x18]
mov ebp, dword [esp + 0x20]
mov edi, eax
xor eax, eax
test ebp, ebp
jbe 0x6538045c
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov si, word [ecx]
cmp si, word [edx]
jne 0x6538054a
inc eax
add ecx, 0x10
add edx, 2
cmp eax, ebp
jb 0x65380445
mov ebp, dword [esp + 0x50]
push ebx
call dword [ebp + 0x44]
mov esi, eax
test esi, esi
je 0x65380470
jl 0x65380517
push edi
push ebx
call fcn.6537d6ec
mov esi, eax
test esi, esi
je 0x65380483
jl 0x65380517
mov edx, dword [esp + 0x20]
mov edi, dword [esp + 0x3c]
shl edx, 4
add edx, edi
cmp edi, edx
jae 0x653804cb
test byte [edi + 1], 0x40
je 0x653804b1
mov eax, dword [esp + 0x14]
push eax
push edi
push ebx
call fcn.6537d72c
mov esi, eax
add esp, 0xc
test esi, esi
je 0x653804b1
jl 0x65380517
push edi
call sym.OLEAUT32.dll_VariantClear
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x3c]
shl ecx, 4
add edi, 0x10
add ecx, edx
cmp edi, ecx
jb 0x65380494
test byte [esp + 0x2a], 2
je 0x653805cf
mov edi, dword [esp + 0x34]
test byte [edi + 1], 0x40
je 0x653805ae
mov esi, 0x80020010
jmp 0x65380517
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x64]
push edx
push edi
lea ecx, [esp + 0x6c]
push eax
push ebx
mov dword [esp + 0x44], ecx
call fcn.6537da4b
mov esi, eax
add esp, 0x10
cmp esi, edi
je 0x653803ce
jge 0x653803ce
mov ebp, dword [esp + 0x20]
jmp 0x6538054f
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x74]
push edx
lea ecx, [esp + 0x78]
push eax
push ebx
mov dword [esp + 0x1c], ecx
call fcn.6537e187
mov esi, eax
add esp, 0xc
cmp esi, edi
je 0x653803dd
jge 0x653803dd
jmp 0x65380517
mov esi, 0x80020010
mov edi, dword [esp + 0x2c]
test edi, edi
je 0x65380590
mov edx, ebp
mov ebp, edi
shl edx, 4
lea ebx, [edx + ebp]
cmp ebp, ebx
jae 0x65380590
cmp word [edi], 0
je 0x65380571
push edi
call sym.OLEAUT32.dll_VariantClear
cmp word [ebx], 0
je 0x6538057d
push ebx
call sym.OLEAUT32.dll_VariantClear
mov eax, dword [esp + 0x20]
add edi, 0x10
shl eax, 4
add eax, ebp
add ebx, 0x10
cmp edi, eax
jb 0x65380565
mov eax, dword [esp + 0x30]
test eax, eax
je 0x653805a1
push eax
call fcn.6534328f
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x84
ret
mov edx, dword [esp + 0x14]
push edx
push edi
push ebx
call fcn.6537d72c
mov esi, eax
add esp, 0xc
test esi, esi
je 0x653805c9
jl 0x65380517
push edi
call sym.OLEAUT32.dll_VariantClear
test byte [esp + 0x2a], 4
je 0x65380610
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
push eax
push edi
push ebx
call fcn.6537e200
mov esi, eax
add esp, 0xc
test esi, esi
je 0x653805f5
jl 0x65380517
mov ecx, dword [edi + 4]
push ecx
call sym.OLEAUT32.dll_SysFreeString
mov edx, dword [edi + 8]
push edx
call sym.OLEAUT32.dll_SysFreeString
mov eax, dword [edi + 0xc]
push eax
call sym.OLEAUT32.dll_SysFreeString
test byte [esp + 0x2a], 8
je 0x65380630
push 0
lea ecx, [esp + 0x50]
push 4
push ecx
push ebx
call dword [ebp + 0x10]
mov esi, eax
test esi, esi
je 0x65380630
jl 0x65380517
xor esi, esi
jmp 0x65380517
mov dword [esp + 0x40], edi
jmp 0x653803b2