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

Disassembly:
push 0xffffffffffffffff
push 0x86fab0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
mov eax, dword [esp + 0x74]
mov edx, dword [esp + 0x70]
push ebx
mov ebx, dword [esp + 0x68]
push ebp
mov ebp, dword [esp + 0x64]
push eax
mov eax, dword [esp + 0x78]
push edx
mov edx, dword [esp + 0x78]
push eax
mov eax, dword [esp + 0x74]
push edx
mov edx, dword [esp + 0x70]
push ebx
push eax
mov eax, dword [esp + 0x74]
push ebp
push edx
push eax
mov dword [esp + 0x2c], ecx
call fcn.00524db0
test eax, eax
jne 0x52533f
mov dword [esp + 0x6c], eax
mov eax, dword [ebp + 8]
push esi
push edi
test eax, eax
jle 0x525123
mov esi, dword [ebp + 4]
mov dword [esp + 0x6c], esi
mov edi, dword [esp + 0x7c]
mov ecx, 4
xor edx, edx
repe cmpsd dword [esi], dword es:[edi]
je 0x525123
mov ecx, dword [esp + 0x74]
mov esi, dword [esp + 0x6c]
inc ecx
add esi, 0x10
cmp ecx, eax
mov dword [esp + 0x74], ecx
mov dword [esp + 0x6c], esi
jl 0x5250fc
xor ecx, ecx
test eax, eax
sete cl
mov edi, ecx
mov ecx, dword [esp + 0x74]
cmp ecx, eax
jne 0x5251a2
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x78]
push edx
mov eax, dword [ecx + 4]
push eax
call fcn.0061f330
mov esi, dword [ebp + 8]
push 0xffffffffffffffff
mov ecx, ebp
lea eax, [esi + 1]
push eax
call fcn.00412650
mov eax, dword [ebp + 4]
mov ecx, dword [esp + 0x7c]
shl esi, 4
mov edx, dword [ecx]
add esi, eax
mov dword [esi], edx
mov eax, dword [ecx + 4]
mov dword [esi + 4], eax
mov edx, dword [ecx + 8]
mov dword [esi + 8], edx
mov eax, dword [ecx + 0xc]
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x80]
mov dword [esi + 0xc], eax
push edx
mov eax, dword [ecx + 4]
push eax
call fcn.0061f330
mov eax, dword [esp + 0x84]
mov ecx, dword [ebx + 8]
mov eax, dword [eax]
push eax
push ecx
mov ecx, ebx
call fcn.0082b269
mov ecx, dword [0x8ab26c]
mov dword [esp + 0x78], ecx
xor edx, edx
xor eax, eax
mov dword [esp + 0x18], edx
cmp edi, eax
mov dword [esp + 0x1c], edx
mov dword [esp + 0x5c], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], edx
je 0x52532a
mov esi, dword [esp + 0x7c]
mov ecx, 4
lea edi, [esp + 0x14]
xor eax, eax
repe cmpsd dword [esi], dword es:[edi]
je 0x52532a
xor edi, edi
mov dword [esp + 0x24], 0x893ff0
mov dword [esp + 0x28], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x38], 0x893fe4
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], 0x11
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], 0xa
lea ecx, [esp + 0x24]
lea edx, [esp + 0x38]
push ecx
push edx
mov ecx, 0x9d0828
mov byte [esp + 0x64], 2
call fcn.0059ea90
lea eax, [esp + 0x24]
lea ecx, [esp + 0x38]
push eax
lea edx, [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x84]
push edx
push eax
call fcn.00526170
push eax
lea ecx, [esp + 0x7c]
mov byte [esp + 0x60], 3
call fcn.00618070
lea ecx, [esp + 0x7c]
mov byte [esp + 0x5c], 2
call fcn.00617ec0
mov ecx, dword [esp + 0x68]
lea edx, [esp + 0x78]
push edx
mov eax, dword [ecx + 4]
push eax
call fcn.0061f330
mov esi, dword [ebp + 8]
push 0xffffffffffffffff
mov ecx, ebp
lea eax, [esi + 1]
push eax
call fcn.00412650
mov edx, dword [ebp + 4]
mov ecx, dword [esp + 0x14]
shl esi, 4
add esi, edx
push edi
push edi
mov dword [esi], ecx
mov edx, dword [esp + 0x20]
mov dword [esi + 4], edx
mov eax, dword [esp + 0x24]
mov dword [esi + 8], eax
mov ecx, dword [esp + 0x28]
mov dword [esi + 0xc], ecx
mov ecx, dword [esp + 0x18]
call fcn.00526120
push eax
lea ecx, [esp + 0x80]
call fcn.0061bfb0
mov ecx, dword [esp + 0x70]
lea edx, [esp + 0x78]
push edx
mov eax, dword [ecx + 4]
push eax
call fcn.0061f330
mov eax, dword [ebx + 8]
push edi
push eax
mov ecx, ebx
call fcn.0082b269
mov dword [esp + 0x38], 0x893fe4
lea ecx, [esp + 0x38]
mov byte [esp + 0x5c], 4
call fcn.0052aa40
mov dword [esp + 0x24], 0x893ff0
mov eax, dword [esp + 0x28]
mov byte [esp + 0x5c], 5
cmp eax, edi
je 0x52532a
push eax
call fcn.008325dd
add esp, 4
lea ecx, [esp + 0x78]
mov dword [esp + 0x5c], 0xffffffff
call fcn.00617ec0
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x4c]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x50
ret 0x24