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

Disassembly:
push 0xffffffffffffffff
push 0x5f6a8c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
push ebx
push ebp
push esi
push edi
mov ebp, ecx
mov eax, dword [0x1a73e58]
xor esi, esi
mov dword [esp + 0x5c], esi
mov dword [esp + 0x18], eax
mov edi, dword [esp + 0x64]
mov byte [esp + 0x5c], 1
cmp dword [edi + 0xd4], esi
jne 0x525c70
mov dword [esp + 0x64], eax
push 0xa206
lea ecx, [esp + 0x68]
mov byte [esp + 0x60], 2
call fcn.005cb96c
cmp dword [esp + 0x74], esi
je 0x525c62
mov esi, dword [esp + 0x64]
push 0x2040
call fcn.00490960
push eax
push esi
mov ecx, ebp
call fcn.005c872b
mov byte [esp + 0x5c], 1
lea ecx, [esp + 0x64]
jmp 0x5261d5
mov eax, dword [ebp]
mov ecx, ebp
call dword [eax + 0x108]
push 0xb0
mov ebx, eax
call fcn.005c4bb5
add esp, 4
mov dword [esp + 0x64], eax
cmp eax, esi
mov byte [esp + 0x5c], 3
je 0x525cd5
mov esi, dword [edi + 0x18]
mov edx, dword [edi + 0x14]
push 0
lea eax, [esi + 0x226]
sub esp, 0x10
mov dword [esp + 0x64], eax
mov eax, esp
lea ecx, [edx + 0x3e8]
push ebx
mov dword [eax], edx
mov dword [eax + 4], esi
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x68]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x7c]
call fcn.00548030
mov esi, eax
mov dword [esp + 0x10], esi
jmp 0x525cd9
mov dword [esp + 0x10], esi
push 0x108
mov byte [esp + 0x60], 1
call fcn.005c4bb5
add esp, 4
mov dword [esp + 0x20], eax
test eax, eax
mov byte [esp + 0x5c], 4
je 0x525d34
push 0
mov edx, 0x32
sub esp, 0x10
mov ecx, 0x2ee
mov eax, esp
mov dword [eax], edx
mov edx, esp
mov dword [esp + 0x78], eax
mov eax, 0x96
mov dword [edx + 4], eax
mov eax, 0x1f4
push ebx
mov dword [edx + 8], ecx
mov ecx, dword [esp + 0x38]
mov dword [edx + 0xc], eax
call fcn.005510d0
mov dword [esp + 0x64], eax
jmp 0x525d40
mov dword [esp + 0x64], 0
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x68]
push 0
mov dword [eax + 0x98], ecx
mov edx, dword [esi]
push eax
mov ecx, esi
mov byte [esp + 0x64], 1
call dword [edx + 0x2dc]
lea eax, [esp + 0x34]
mov ecx, edi
push eax
call fcn.004d47f0
mov ecx, dword [eax]
lea edx, [esp + 0x2c]
mov dword [esp + 0x3c], ecx
push edx
mov esi, dword [eax + 4]
mov ecx, edi
mov dword [esp + 0x44], esi
call fcn.004d4860
mov ecx, dword [eax]
mov edx, dword [0x1a73e58]
mov dword [esp + 0x34], ecx
mov eax, dword [eax + 4]
mov dword [esp + 0x14], edx
mov dword [esp + 0x38], eax
mov ecx, esi
xor ebx, ebx
cmp ecx, eax
mov byte [esp + 0x5c], 5
jg 0x525e09
mov eax, dword [esp + 0x3c]
push esi
push eax
mov ecx, edi
call fcn.004c34f0
test eax, eax
je 0x525e00
lea ecx, [esp + 0x68]
push ecx
mov ecx, eax
call fcn.0054e3d0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x60], 6
call fcn.005c4fad
lea ecx, [esp + 0x68]
mov byte [esp + 0x5c], 5
call fcn.005c4e74
push ecx
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
call fcn.005c4be9
call fcn.0053c690
add esp, 4
test eax, eax
je 0x525ec9
mov eax, dword [esp + 0x38]
inc esi
cmp esi, eax
jle 0x525da5
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x34]
cmp eax, ecx
mov dword [esp + 0x74], eax
jg 0x525fb4
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x38]
cmp eax, ecx
mov dword [esp + 0x68], eax
jg 0x525f9f
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x74]
push eax
push ecx
mov ecx, edi
call fcn.004c34f0
mov esi, eax
test esi, esi
je 0x525f8a
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x74]
cmp eax, edx
jne 0x525f15
test ebx, ebx
je 0x525f15
lea eax, [esp + 0x20]
mov ecx, esi
push eax
call fcn.0054e3d0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x60], 7
call fcn.005c4fad
lea ecx, [esp + 0x20]
mov byte [esp + 0x5c], 5
call fcn.005c4e74
lea ecx, [esp + 0x14]
push 0x1a77e94
lea edx, [esp + 0x28]
push ecx
push edx
call fcn.005c5109
push eax
mov eax, dword [esp + 0x68]
mov byte [esp + 0x60], 8
lea ecx, [eax + 0x9c]
call fcn.005c528c
lea ecx, [esp + 0x24]
mov byte [esp + 0x5c], 5
call fcn.005c4e74
jmp 0x525f8a
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x3c]
sub eax, ecx
mov ebx, 1
jne 0x525e09
mov eax, dword [esp + 0x74]
test eax, eax
je 0x525efd
push 0x2040
call fcn.00490960
push eax
push 0x1a79214
mov ecx, ebp
call fcn.005c872b
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x5261cc
mov edx, dword [ecx]
push 1
call dword [edx + 4]
jmp 0x5261cc
push 1
push 2
lea ecx, [esp + 0x30]
push ebp
push ecx
mov ecx, esi
call fcn.0054eec0
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x60], 9
call fcn.005c4fad
lea ecx, [esp + 0x28]
mov byte [esp + 0x5c], 5
call fcn.005c4e74
push 0
lea edx, [esp + 0x48]
push esi
push edx
mov ecx, edi
call fcn.004c3410
mov ecx, eax
mov eax, dword [ecx]
mov edx, dword [ecx + 4]
mov ecx, dword [esp + 0x3c]
sub eax, ecx
mov dword [esp + 0x30], edx
test ebx, ebx
mov esi, eax
je 0x525f6a
dec esi
push 0
push 0
push ecx
lea eax, [esp + 0x24]
mov ecx, esp
mov dword [esp + 0x38], esp
push eax
call fcn.005c4be9
mov ecx, dword [esp + 0x70]
push esi
push ebp
call fcn.00553290
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x38]
inc eax
cmp eax, ecx
mov dword [esp + 0x68], eax
jle 0x525e31
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x34]
inc eax
cmp eax, ecx
mov dword [esp + 0x74], eax
jle 0x525e1d
mov ecx, dword [esp + 0x64]
push ebp
call fcn.00552e10
push ecx
lea edx, [esp + 0x70]
mov ecx, esp
mov dword [esp + 0x78], esp
push edx
call fcn.005c4be9
mov esi, dword [esp + 0x14]
push ebp
mov ecx, esi
call fcn.00549240
mov eax, dword [0x1a73e58]
mov dword [esp + 0x1c], eax
push 0xa271
lea ecx, [esp + 0x20]
mov byte [esp + 0x60], 0xa
call fcn.005cb96c
test ebx, ebx
jne 0x52615c
mov ecx, dword [0x1a73e58]
mov dword [esp + 0x74], ecx
mov eax, dword [esp + 0x70]
mov byte [esp + 0x5c], 0xb
test eax, eax
je 0x5260c1
mov esi, dword [esp + 0x40]
mov eax, dword [esp + 0x38]
cmp esi, eax
jg 0x526124
mov edx, dword [esp + 0x64]
lea ebx, [edx + 0x9c]
push esi
push 0
mov ecx, edi
call fcn.004c34f0
test eax, eax
jne 0x52605a
lea eax, [esi + 1]
lea ecx, [esp + 0x74]
push eax
push 0x1a129fc
push ecx
call fcn.005c1133
add esp, 0xc
jmp 0x526083
lea edx, [esp + 0x64]
mov ecx, eax
push edx
call fcn.0054e3d0
push eax
lea ecx, [esp + 0x78]
mov byte [esp + 0x60], 0xc
call fcn.005c4fad
lea ecx, [esp + 0x64]
mov byte [esp + 0x5c], 0xb
call fcn.005c4e74
lea eax, [esp + 0x74]
push 0x1a77e94
lea ecx, [esp + 0x6c]
push eax
push ecx
call fcn.005c5109
push eax
mov ecx, ebx
mov byte [esp + 0x60], 0xd
call fcn.005c528c
lea ecx, [esp + 0x68]
mov byte [esp + 0x5c], 0xb
call fcn.005c4e74
mov eax, dword [esp + 0x38]
inc esi
cmp esi, eax
jle 0x526034
jmp 0x526124
mov edi, dword [esp + 0x38]
mov ecx, dword [esp + 0x40]
xor eax, eax
sub edi, ecx
js 0x526128
mov edx, dword [esp + 0x64]
lea ebx, [edx + 0x9c]
lea esi, [eax + 1]
lea eax, [esp + 0x74]
push esi
push 0x1a129fc
push eax
call fcn.005c1133
add esp, 0xc
lea ecx, [esp + 0x74]
lea edx, [esp + 0x68]
push 0x1a77e94
push ecx
push edx
call fcn.005c5109
push eax
mov ecx, ebx
mov byte [esp + 0x60], 0xe
call fcn.005c528c
lea ecx, [esp + 0x68]
mov byte [esp + 0x5c], 0xb
call fcn.005c4e74
mov eax, esi
cmp eax, edi
jle 0x5260d9
mov esi, dword [esp + 0x10]
push ecx
lea eax, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x68], esp
push eax
call fcn.005c4be9
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x40]
sub eax, edx
mov ecx, esi
push eax
push ebp
call fcn.005493c0
lea ecx, [esp + 0x74]
mov byte [esp + 0x5c], 0xa
call fcn.005c4e74
jmp 0x526181
push ecx
lea edx, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x78], esp
push edx
call fcn.005c4be9
mov eax, dword [esp + 0x38]
mov edi, dword [esp + 0x40]
sub eax, edi
mov ecx, esi
dec eax
push eax
push ebp
call fcn.005493c0
mov ecx, dword [ebp + 0x1f4]
push 0
push esi
push ebp
mov eax, dword [ecx]
call dword [eax + 0x2f0]
push 0
push 0
mov ecx, ebp
call fcn.004bedd0
push 0
push esi
mov ecx, ebp
call fcn.004bedd0
lea ecx, [ebp + 0x17c]
push 1
push ecx
push 2
lea ecx, [ebp + 0xb8]
call fcn.00520b70
lea ecx, [esp + 0x1c]
mov byte [esp + 0x5c], 5
call fcn.005c4e74
mov byte [esp + 0x5c], 1
lea ecx, [esp + 0x14]
call fcn.005c4e74
lea ecx, [esp + 0x18]
mov byte [esp + 0x5c], 0
call fcn.005c4e74
lea ecx, [esp + 0x6c]
mov dword [esp + 0x5c], 0xffffffff
call fcn.005c4e74
mov ecx, dword [esp + 0x54]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x50
ret 0x14