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

Disassembly:
push 0xffffffffffffffff
push 0x7518a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54
mov al, byte [esp + 0x64]
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x34]
mov byte [esp + 0x30], al
call fcn.00565a90
lea ecx, [esp + 0x44]
call fcn.00565a90
xor ebx, ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov cl, byte [esp + 0x74]
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x60], cl
mov eax, dword [esi + 0x30]
mov dword [esp + 0x6c], 1
cmp eax, ebx
jbe 0x5bb082
mov edi, dword [esp + 0x74]
lea ebp, [esi + 8]
push ebp
lea ecx, [esp + 0x24]
call fcn.005be000
lea edx, [esp + 0x10]
push ebx
push edx
lea ecx, [esp + 0x28]
call fcn.005bdf30
mov eax, dword [eax + 8]
mov eax, dword [eax]
test eax, eax
mov dword [esp + 0x74], eax
je 0x5bb074
cmp dword [eax + 4], edi
jne 0x5bb017
mov ecx, dword [esi + 0x44]
cmp eax, ecx
je 0x5bafec
mov edx, dword [eax]
mov ecx, eax
call dword [edx]
mov eax, dword [esp + 0x74]
test eax, eax
je 0x5bafdf
push eax
mov dword [eax], 0x76bde0
call fcn.00726ea6
add esp, 4
mov dword [esp + 0x74], 0
jmp 0x5bb074
test ecx, ecx
je 0x5bb074
mov eax, dword [ecx]
call dword [eax]
mov eax, dword [esi + 0x44]
test eax, eax
je 0x5bb00e
push eax
mov dword [eax], 0x76bde0
call fcn.00726ea6
add esp, 4
mov dword [esi + 0x44], 0
jmp 0x5bb074
lea ecx, [esp + 0x74]
push ecx
lea ecx, [esp + 0x34]
call fcn.005bd440
mov edx, dword [esp + 0x60]
mov ecx, dword [esp + 0x44]
push 0
push edx
mov edx, dword [esp + 0x50]
sub esp, 0x10
mov eax, esp
sub esp, 0x10
mov dword [eax], ecx
mov ecx, dword [esp + 0x74]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x78]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x5c]
mov dword [eax + 0xc], edx
mov edx, dword [esp + 0x60]
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x64]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x68]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
call fcn.005be060
add esp, 0x28
mov eax, dword [esi + 0x30]
inc ebx
cmp ebx, eax
jb 0x5baf8c
xor ebx, ebx
add esi, 4
sub esp, 0x10
mov ecx, esp
sub esp, 0x10
lea eax, [esi + 0x14]
mov edx, dword [esi + 0x14]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov edx, esp
mov eax, dword [eax + 0xc]
mov dword [ecx + 0xc], eax
lea ecx, [esi + 4]
mov eax, dword [esi + 4]
mov dword [edx], eax
mov eax, dword [ecx + 4]
mov dword [edx + 4], eax
mov eax, dword [ecx + 8]
mov dword [edx + 8], eax
mov ecx, dword [ecx + 0xc]
mov dword [edx + 0xc], ecx
lea edx, [esp + 0x40]
push edx
mov ecx, esi
call fcn.005bdbf0
mov eax, dword [esp + 0x5c]
cmp eax, ebx
jbe 0x5bb1cd
lea eax, [esp + 0x34]
lea ecx, [esp + 0x20]
push eax
call fcn.005be000
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x2c]
push ebx
mov dword [esp + 0x20], ecx
lea ecx, [esp + 0x14]
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], eax
call fcn.00514770
mov eax, dword [esi + 0x2c]
mov edx, dword [esp + 0x18]
test eax, eax
mov ebp, edx
je 0x5bb147
mov eax, dword [esi + 0x1c]
mov edi, dword [esi + 0x18]
cmp eax, edi
je 0x5bb147
lea ecx, [eax + 4]
push edx
cmp ecx, edi
mov dword [esi + 0x1c], ecx
push eax
jne 0x5bb159
call fcn.00630500
add esp, 8
mov ecx, esi
call fcn.0045cf00
jmp 0x5bb161
mov ecx, esi
call fcn.0045cf00
mov eax, dword [esi + 0x1c]
push ebp
push eax
lea edx, [eax + 4]
mov dword [esi + 0x1c], edx
call fcn.00630500
add esp, 8
mov al, byte [esi + 0x30]
push 0
mov byte [esp + 0x78], al
mov ecx, dword [esp + 0x78]
push ecx
lea edx, [esi + 0x14]
sub esp, 0x10
mov ebp, dword [esi + 0x2c]
mov ecx, dword [edx]
mov eax, esp
sub esp, 0x10
inc ebp
mov dword [eax], ecx
mov ecx, dword [edx + 4]
mov dword [esi + 0x2c], ebp
mov dword [eax + 4], ecx
mov ecx, dword [edx + 8]
mov edx, dword [edx + 0xc]
mov dword [eax + 8], ecx
mov ecx, esp
mov dword [eax + 0xc], edx
lea eax, [esi + 4]
mov edx, dword [esi + 4]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov eax, dword [eax + 0xc]
mov dword [ecx + 0xc], eax
call fcn.005be060
mov eax, dword [esp + 0x84]
add esp, 0x28
inc ebx
cmp ebx, eax
jb 0x5bb0db
xor ebx, ebx
cmp eax, ebx
mov dword [esp + 0x6c], 0xffffffff
je 0x5bb2a5
mov edi, 4
mov edx, dword [esp + 0x3c]
add edx, edi
dec eax
mov dword [esp + 0x3c], edx
mov dword [esp + 0x5c], eax
je 0x5bb201
mov eax, dword [esp + 0x38]
mov ecx, edx
cmp ecx, eax
jne 0x5bb299
mov ecx, dword [esp + 0x40]
mov eax, ecx
add ecx, edi
mov dword [esp + 0x40], ecx
mov edx, dword [eax]
push edx
call fcn.00726ea6
mov eax, dword [esp + 0x60]
add esp, 4
cmp eax, ebx
jne 0x5bb268
lea ecx, [esp + 0x20]
call fcn.00565a90
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x34], eax
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x38], ecx
push eax
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], esi
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], edx
mov dword [esp + 0x54], esi
call fcn.00726ea6
add esp, 4
jmp 0x5bb299
mov eax, dword [esp + 0x40]
push eax
mov ecx, dword [eax]
push ecx
lea ecx, [esp + 0x18]
call fcn.006fd650
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x34], edx
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], edx
mov eax, dword [esp + 0x5c]
cmp eax, ebx
jne 0x5bb1e2
mov ecx, dword [esp + 0x64]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x60
ret 4