Function at 0x5269c4
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
mov dword [ebp - 4], eax
lea esi, [ebp - 4]
xor eax, eax
push ebp
push 0x526cab
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [esi]
call fcn.00526dd4
mov eax, dword [esi]
cmp byte [eax + 0x14], 0
jne 0x5269f9
mov eax, dword [esi]
call fcn.00525850
mov eax, dword [esi]
cmp byte [eax + 0x14], 0
je 0x526c88
mov eax, dword [esi]
cmp byte [eax + 0x17], 1
jne 0x526b5d
cmp dword [0x675fd4], 0
jne 0x526b00
lea edx, [ebp - 8]
mov eax, dword [esi]
mov eax, dword [eax + 0x10]
call fcn.0065885c
lea eax, [ebp - 8]
mov edx, 0x526cbc
call fcn.00403ac4
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_LoadLibraryW
mov dword [0x675fd4], eax
cmp dword [0x675fd4], 0
je 0x526c88
push 0x526cd8
mov eax, dword [0x675fd4]
push eax
call sub.kernel32.dll_GetProcAddress
mov dword [0x675fe0], eax
push 0x526cec
mov eax, dword [0x675fd4]
push eax
call sub.kernel32.dll_GetProcAddress
mov dword [0x675fe4], eax
push 0x526d04
mov eax, dword [0x675fd4]
push eax
call sub.kernel32.dll_GetProcAddress
mov dword [0x675fe8], eax
push 0x526d14
mov eax, dword [0x675fd4]
push eax
call sub.kernel32.dll_GetProcAddress
mov dword [0x675fec], eax
push 0x526d28
mov eax, dword [0x675fd4]
push eax
call sub.kernel32.dll_GetProcAddress
mov dword [0x675ff0], eax
cmp dword [0x675fe0], 0
je 0x526ae9
cmp dword [0x675fe4], 0
je 0x526ae9
cmp dword [0x675fe8], 0
je 0x526ae9
cmp dword [0x675fec], 0
je 0x526ae9
cmp dword [0x675ff0], 0
jne 0x526b00
mov eax, dword [0x675fd4]
push eax
call sub.kernel32.dll_FreeLibrary
xor eax, eax
mov dword [0x675fd4], eax
jmp 0x526c88
mov eax, dword [esi]
mov eax, dword [eax + 0x20]
cmp dword [eax + 0x24], 1
jne 0x526c88
mov ebx, eax
lea edx, [ebp - 0xc]
mov eax, dword [ebx + 0x18]
mov eax, dword [eax]
call fcn.00658170
mov eax, dword [ebp - 0xc]
push eax
lea ecx, [ebp - 8]
mov eax, dword [ebx + 0x18]
mov eax, dword [eax]
mov edx, 0x526d40
call fcn.00658754
mov eax, dword [ebp - 8]
lea edx, [ebp - 0x10]
call fcn.00658170
mov eax, dword [ebp - 0x10]
push eax
call dword [0x675fe0]
add esp, 8
mov edx, dword [esi]
mov dword [edx + 0x1c], eax
mov eax, dword [esi]
cmp dword [eax + 0x1c], 0
je 0x526c88
mov eax, dword [esi]
mov byte [eax + 0x15], 1
mov eax, dword [esi]
mov eax, dword [eax + 0x18]
and eax, 0x3ff
cmp eax, 9
jne 0x526b93
mov edx, 0x526d4c
mov eax, dword [esi]
mov eax, dword [eax + 0x460]
call fcn.00652a4c
mov eax, dword [esi]
mov eax, dword [eax + 0x460]
mov dl, 1
call fcn.0065379c
mov eax, dword [esi]
mov eax, dword [eax + 0x20]
mov ebx, dword [eax + 0x24]
dec ebx
cmp ebx, 0
jl 0x526bb7
push 0
mov eax, dword [esi]
mov edx, dword [eax + 0x20]
mov ecx, ebx
mov eax, dword [esi]
call fcn.00526e50
dec ebx
cmp ebx, 0xffffffff
jne 0x526ba1
mov eax, dword [esi]
mov eax, dword [eax + 0x24]
mov ebx, dword [eax + 0x24]
dec ebx
cmp ebx, 0
jl 0x526bdb
push 1
mov eax, dword [esi]
mov edx, dword [eax + 0x24]
mov ecx, ebx
mov eax, dword [esi]
call fcn.00526e50
dec ebx
cmp ebx, 0xffffffff
jne 0x526bc5
mov dl, 1
mov eax, dword [0x522a28]
call fcn.00402898
mov ebx, eax
mov eax, dword [esi]
mov dword [eax + 0x2c], ebx
mov byte [ebx + 8], 1
mov eax, dword [esi]
mov eax, dword [eax + 0x18]
call fcn.00650c74
mov ebx, eax
mov eax, dword [esi]
mov eax, dword [eax + 0x2c]
mov dword [eax + 0x824], ebx
mov eax, dword [esi]
mov eax, dword [eax + 0x2c]
mov byte [ebx + 0x28], 1
mov edx, eax
mov eax, dword [esi]
mov eax, dword [eax + 0x28]
call fcn.00652038
mov dl, 1
mov eax, dword [0x522a28]
call fcn.00402898
mov ebx, eax
mov eax, dword [esi]
mov dword [eax + 0x30], ebx
mov byte [ebx + 8], 1
mov eax, dword [esi]
mov eax, dword [eax + 0x18]
call fcn.00650c74
mov ebx, eax
mov eax, dword [esi]
mov eax, dword [eax + 0x30]
mov dword [eax + 0x824], ebx
mov eax, dword [esi]
mov eax, dword [eax + 0x30]
mov byte [ebx + 0x28], 1
mov edx, eax
mov eax, dword [esi]
mov eax, dword [eax + 0x28]
call fcn.00652038
mov eax, dword [esi]
mov edx, dword [eax + 0x18]
mov eax, dword [0x671908]
mov eax, dword [eax]
call fcn.00483d40
mov ebx, eax
push ebp
mov eax, dword [ebx + 0xc]
call fcn.0052692c
pop ecx
push ebp
mov eax, dword [ebx + 0x10]
call fcn.0052692c
pop ecx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x526cb2
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.00403298
lea eax, [ebp - 8]
call fcn.00403880
ret