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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x653e52
push eax
mov dword fs:[0], esp
sub esp, 0x5c
push ebx
push ebp
push esi
mov esi, ecx
push edi
xor edi, edi
mov ecx, dword [esi + 0x44]
cmp ecx, edi
jne 0x52610b
xor eax, eax
jmp 0x526113
mov eax, dword [esi + 0x48]
sub eax, ecx
sar eax, 2
xor ecx, ecx
cmp eax, edi
jle 0x526133
mov edx, dword [esi + 0x44]
mov ebx, dword [edx + ecx*4]
mov ebp, dword [esp + 0x7c]
mov ebx, dword [ebx + 0x14]
cmp ebx, ebp
je 0x5263e6
inc ecx
cmp ecx, eax
jl 0x52611c
push 0x158
call fcn.00643b70
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, edi
mov dword [esp + 0x74], edi
je 0x52616f
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x7c]
push 0xff00
push 1
push 5
push 2
push ecx
push edx
mov ecx, eax
call fcn.0050a8e0
mov ebx, eax
jmp 0x526171
xor ebx, ebx
cmp ebx, edi
mov dword [esp + 0x74], 0xffffffff
mov dword [esp + 0x10], ebx
jne 0x526188
xor eax, eax
jmp 0x5263ee
lea eax, [esi + 0x58]
mov ecx, ebx
push eax
call fcn.0050bba0
mov eax, dword [esp + 0x84]
mov ecx, ebx
push eax
call fcn.0050bed0
mov ecx, dword [esi + 0x3a0]
mov edx, dword [esi + 0x39c]
mov eax, dword [esi + 0x398]
push ecx
push edx
push eax
mov ecx, ebx
call fcn.0050bca0
mov ecx, dword [esi + 0x3b8]
mov edx, dword [esi + 0x3b4]
mov eax, dword [esi + 0x3b0]
push ecx
push edx
push eax
mov ecx, ebx
call fcn.0050bd40
mov ecx, dword [esi + 0x3d0]
mov edx, dword [esi + 0x3cc]
mov eax, dword [esi + 0x3c8]
push ecx
mov ecx, dword [esi + 0x3c4]
push edx
mov edx, dword [esi + 0x3c0]
push eax
mov eax, dword [esi + 0x3bc]
push ecx
push edx
push eax
mov ecx, ebx
call fcn.0050bf20
mov ecx, dword [esi + 0x3ac]
mov edx, dword [esi + 0x3a8]
mov eax, dword [esi + 0x3a4]
push ecx
push edx
push eax
mov ecx, ebx
call fcn.0050bcc0
mov ecx, dword [esi + 0x380]
push ecx
mov ecx, ebx
call fcn.00466470
mov eax, dword [esi + 0x20]
lea edx, [esp + 0x4c]
push edx
push eax
call dword [fcn.0065f4d0]
mov eax, dword [esi + 0x50]
cmp eax, 3
ja case.default.0x526250
jmp dword [eax*4 + 0x526404]
mov ebp, dword [esp + 0x54]
mov eax, dword [esi + 0x3dc]
mov ecx, dword [esi + 0x60]
mov edi, dword [esp + 0x4c]
lea edx, [esp + 0x24]
sub ebp, eax
push ecx
push edx
mov ecx, 0x898828
sub ebp, edi
call fcn.00511ab0
mov edi, dword [eax + 4]
jmp 0x5263a8
lea ecx, [esp + 0x3c]
call fcn.0064414c
push edi
push edi
push edi
push 0x6baa5c
mov dword [esp + 0x84], 1
call dword [0x65e0e4]
push eax
lea ecx, [esp + 0x40]
call fcn.00644146
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], 0x661a2c
lea eax, [esp + 0x14]
mov ecx, ebx
push eax
mov byte [esp + 0x78], 2
call fcn.0050b450
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x40]
call fcn.00644128
mov edi, dword [esp + 0x80]
mov ebp, eax
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0x80]
lea edx, [esp + 0x1c]
not ecx
dec ecx
push edx
push ecx
mov ecx, dword [esp + 0x4c]
push eax
push ecx
call dword [fcn.0065e0bc]
push ebp
lea ecx, [esp + 0x40]
call fcn.00644128
lea ecx, [esp + 0x14]
call fcn.0064406e
lea ecx, [esp + 0x3c]
call fcn.00644134
mov edx, dword [esi + 0x58]
lea eax, [esp + 0x2c]
push edx
push eax
mov ecx, 0x898828
call fcn.00511ab0
mov ecx, dword [eax]
mov edx, dword [esp + 0x1c]
mov eax, dword [esi + 0x5c]
lea ebp, [ecx + edx + 4]
lea ecx, [esp + 0x34]
push eax
push ecx
mov ecx, 0x898828
call fcn.00511ab0
mov edi, dword [esp + 0x58]
mov ecx, dword [esi + 0x3e0]
mov edx, dword [eax]
mov eax, dword [esp + 0x50]
sub edi, ecx
add ebp, edx
sub edi, eax
mov dword [esp + 0x14], 0x661578
lea ecx, [esp + 0x14]
mov byte [esp + 0x74], 3
call fcn.0064406e
lea ecx, [esp + 0x3c]
mov dword [esp + 0x14], 0x6602dc
mov dword [esp + 0x74], 0xffffffff
call fcn.0064411c
jmp 0x5263a8
mov ebp, dword [esp + 0x80]
mov edi, dword [esp + 0x80]
push edi
push ebp
push 0
lea edx, [esp + 0x68]
push 0
push edx
call dword [fcn.0065f4dc]
mov ecx, dword [esp + 0x7c]
mov eax, dword [ebx]
push 0
push ecx
lea edx, [esp + 0x64]
push esi
push edx
push 0x50010000
push 0x6c7010
push 0
mov ecx, ebx
call dword [eax + 0x5c]
test eax, eax
jne 0x5263ea
mov eax, dword [ebx]
push 1
mov ecx, ebx
call dword [eax + 4]
xor eax, eax
jmp 0x5263ee
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x6c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x68
ret 0xc