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

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x88
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x94], ebx
mov dword [ebp + 0x58], esi
jne 0x59066a78
xor eax, eax
jmp 0x59066e62
mov ecx, dword [esi + 0x38]
cmp ecx, ebx
mov dword [ebp + 0x60], ebx
je 0x59066a92
mov eax, dword [ecx]
push 1
lea edx, [ebp + 0x60]
push edx
call dword [eax + 0x54]
cmp dword [ebp + 0x60], ebx
jne 0x59066a9c
mov esi, 0x8000ffff
jmp 0x59066e58
push edi
push 0x590b2530
lea ecx, [ebp + 0x74]
mov dword [ebp + 0x68], ebx
mov dword [ebp + 0x6c], ebx
mov dword [ebp + 0x50], ebx
mov dword [ebp + 0x5c], ebx
call fcn.5901e16a
xor eax, eax
push 0xc
mov dword [ebp - 0x10], ebx
pop ecx
lea edi, [ebp - 0xc]
rep stosd dword es:[edi], eax
mov dword [ebp + 0x40], ebx
lea edi, [ebp + 0x44]
stosd dword es:[edi], eax
lea eax, [esi + 0x1c]
mov ecx, dword [eax]
mov dword [ebp + 0x70], ebx
cmp dword [ecx - 0xc], ebx
mov dword [ebp + 0x48], ebx
mov dword [ebp + 0x54], ebx
mov dword [ebp + 0x64], eax
je 0x59066b04
lea edi, [esi + 0x20]
mov ecx, dword [edi]
cmp dword [ecx - 0xc], ebx
je 0x59066af4
mov ecx, esi
call fcn.59078d15
mov eax, dword [ebp + 0x64]
push eax
mov ecx, edi
call fcn.5906596b
mov ecx, dword [ebp + 0x64]
call fcn.5902daeb
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x48]
push eax
lea ecx, [ebp + 0x74]
call fcn.5906596b
mov eax, dword [ebp + 0x74]
cmp dword [eax - 0xc], ebx
jne 0x59066b26
mov esi, 0x8000ffff
jmp 0x59066e2c
push 0x5900ade4
lea ecx, [ebp + 0x74]
call fcn.5903f32a
lea eax, [ebp + 0x70]
push eax
lea eax, [ebp + 0x74]
push eax
call fcn.590629d1
mov esi, eax
cmp esi, ebx
jl 0x59066e2c
mov eax, dword [ebp + 0x60]
mov ecx, dword [eax]
lea edx, [ebp + 0x68]
push edx
push 4
pop edi
push edi
push dword [ebp + 0x70]
push eax
call dword [ecx + 0xc]
mov esi, eax
cmp esi, ebx
jge 0x59066b6c
mov ecx, dword [ebp + 0x64]
call fcn.5902daeb
cmp dword [ebp + 0x70], ebx
je 0x59066b7a
push dword [ebp + 0x70]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
cmp esi, ebx
mov dword [ebp + 0x70], ebx
jl 0x59066e2c
lea eax, [ebp + 0x24]
push eax
call dword [sym.imp.ole32.dll_CoCreateGuid]
mov eax, dword [ebp + 0x68]
mov ecx, dword [eax]
lea edx, [ebp + 0x24]
push edx
push eax
call dword [ecx + 0xc]
mov esi, eax
cmp esi, ebx
jl 0x59066e2c
mov eax, dword [ebp + 0x68]
mov ecx, dword [eax]
push ebx
push 1
push eax
call dword [ecx + 0x1c]
mov esi, eax
cmp esi, ebx
jl 0x59066e2c
or word [ebp + 0xe], 0xffff
push 2
pop eax
mov dword [ebp - 4], edi
mov dword [ebp], eax
mov dword [ebp + 4], edi
mov edi, dword [ebp + 0x58]
mov word [ebp + 0x20], ax
mov eax, dword [edi + 0x94]
neg eax
sbb eax, eax
cmp eax, ebx
lea ecx, [ebp + 0x40]
mov word [ebp + 0x14], 0x1a
mov dword [ebp + 0x10], ecx
mov word [ebp + 0x44], 0x1d
mov dword [ebp + 0x64], eax
je 0x59066d0e
jmp 0x59066c00
mov edi, dword [ebp + 0x58]
lea eax, [ebp + 0x48]
push eax
lea eax, [ebp + 0x34]
push eax
lea eax, [ebp + 0x64]
push eax
lea ecx, [edi + 0x8c]
call fcn.59064c01
mov edi, dword [ebp + 0x48]
cmp edi, ebx
je 0x59066d02
test byte [edi + 0xac], 1
je 0x59066d02
lea ecx, [ebp + 0x5c]
call fcn.59032065
lea edx, [ebp + 0x5c]
lea eax, [edi + 4]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0xc]
test eax, eax
jl 0x59066d02
mov eax, dword [ebp + 0x68]
mov ecx, dword [eax]
lea edx, [ebp + 0x40]
push edx
push dword [ebp + 0x5c]
push eax
call dword [ecx + 0x20]
mov esi, eax
cmp esi, ebx
jl 0x59066e2c
mov eax, dword [ebp + 0x34]
mov ecx, dword [ebp + 0x58]
cmp eax, dword [ecx + 0x54]
mov dword [ebp - 0x10], eax
jge 0x59066d0b
mov ecx, edi
call fcn.59064ab1
neg eax
sbb eax, eax
lea edx, [ebp - 0x10]
and eax, 2
push edx
push dword [ebp + 0x54]
mov word [ebp + 0x20], ax
mov eax, dword [ebp + 0x68]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x24]
mov esi, eax
cmp esi, ebx
jl 0x59066e2c
push 0x3ff
lea eax, [ebp + 0x38]
push eax
mov ecx, edi
call fcn.59078d15
mov ecx, eax
call fcn.59078d15
push eax
lea ecx, [ebp + 0x74]
call fcn.5906596b
mov ecx, dword [ebp + 0x38]
add ecx, 0xfffffff0
call fcn.5901e006
lea ecx, [ebp + 0x74]
call fcn.59036a1c
push 1
lea edx, [ebp + 0x4c]
push edx
push dword [ebp + 0x54]
mov dword [ebp + 0x4c], eax
mov eax, dword [ebp + 0x68]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x3c]
push dword [ebp + 0x4c]
mov esi, eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp esi, ebx
jl 0x59066e2c
inc dword [ebp + 0x54]
cmp dword [ebp + 0x64], ebx
jne 0x59066bfd
mov edi, dword [ebp + 0x58]
mov eax, dword [ebp + 0x68]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x64]
mov esi, eax
cmp esi, ebx
jl 0x59066e2c
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x48]
push eax
lea ecx, [ebp + 0x74]
call fcn.5906596b
push 0x5900add4
lea ecx, [ebp + 0x74]
call fcn.5903f32a
lea eax, [ebp + 0x70]
push eax
lea eax, [ebp + 0x74]
push eax
call fcn.590629d1
mov esi, eax
cmp esi, ebx
jl 0x59066e2c
mov eax, dword [ebp + 0x60]
mov ecx, dword [eax]
lea edx, [ebp + 0x6c]
push edx
push 5
push dword [ebp + 0x70]
push eax
call dword [ecx + 0xc]
cmp dword [ebp + 0x70], ebx
mov esi, eax
je 0x59066d77
push dword [ebp + 0x70]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
cmp esi, ebx
mov dword [ebp + 0x70], ebx
jl 0x59066e2c
lea eax, [ebp + 0x24]
push eax
call dword [sym.imp.ole32.dll_CoCreateGuid]
mov eax, dword [ebp + 0x6c]
mov ecx, dword [eax]
lea edx, [ebp + 0x24]
push edx
push eax
call dword [ecx + 0xc]
mov esi, eax
cmp esi, ebx
jl 0x59066e2c
mov eax, dword [ebp + 0x6c]
mov ecx, dword [eax]
push ebx
push 1
push eax
call dword [ecx + 0x1c]
mov esi, eax
cmp esi, ebx
jl 0x59066e2c
mov eax, dword [ebp + 0x68]
mov ecx, dword [eax]
lea edx, [ebp + 0x50]
push edx
push 0x59017aac
push eax
call dword [ecx]
mov esi, eax
cmp esi, ebx
jl 0x59066e2c
mov eax, dword [ebp + 0x6c]
mov ecx, dword [eax]
lea edx, [ebp + 0x3c]
push edx
push dword [ebp + 0x50]
push eax
call dword [ecx + 0x20]
mov esi, eax
cmp esi, ebx
jl 0x59066e2c
push dword [ebp + 0x3c]
mov eax, dword [ebp + 0x6c]
mov ecx, dword [eax]
push ebx
push eax
call dword [ecx + 0x28]
mov esi, eax
cmp esi, ebx
jl 0x59066e2c
mov eax, dword [ebp + 0x6c]
mov ecx, dword [eax]
push 1
push ebx
push eax
call dword [ecx + 0x2c]
mov esi, eax
cmp esi, ebx
jl 0x59066e2c
mov eax, dword [ebp + 0x6c]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x64]
mov esi, eax
cmp esi, ebx
jl 0x59066e2c
mov eax, dword [ebp + 0x6c]
mov ecx, dword [eax]
add edi, 0xa4
push edi
push 0x59017aac
push eax
call dword [ecx]
mov esi, eax
mov ecx, dword [ebp + 0x74]
add ecx, 0xfffffff0
call fcn.5901e006
lea ecx, [ebp + 0x5c]
call fcn.5906901e
lea ecx, [ebp + 0x50]
call fcn.5906901e
lea ecx, [ebp + 0x6c]
call fcn.5906901e
lea ecx, [ebp + 0x68]
call fcn.5906901e
pop edi
lea ecx, [ebp + 0x60]
call fcn.5906901e
mov eax, esi
pop esi
pop ebx
add ebp, 0x78
leave
ret