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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x28
push esi
xor esi, esi
cmp dword [ebx + 0x12c], esi
push edi
je 0x569d50
lea edi, [ebx + 0x1f0]
call fcn.0052c9d0
test eax, eax
je 0x569d50
mov eax, dword [ebx + 0x12c]
cmp eax, esi
je 0x569c87
cmp dword [eax + 0x50], esi
je 0x569c87
mov eax, dword [ebx + 0x28c]
cmp eax, esi
je 0x569c87
add eax, 0x94
call fcn.00548180
test eax, eax
jbe 0x569c87
lea edi, [ebx + 0x1f0]
call fcn.0052c9d0
test eax, eax
je 0x569c87
mov ecx, dword [ebx + 0x12c]
mov edx, dword [ecx + 0x50]
mov ecx, dword [edx + 0x80]
mov eax, dword [ebx]
mov edx, dword [eax + 0x13c]
push ecx
mov ecx, ebx
call edx
mov eax, dword [ebx + 0x28c]
cmp dword [eax + 0x34], 1
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], esi
mov dword [esp + 8], esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
lea edi, [ebx + 0x218]
je 0x569ac9
call fcn.0052c9d0
push eax
lea edi, [ebx + 0x1f0]
call fcn.0052c9d0
push eax
push esi
push esi
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x40]
push edx
push ebx
call fcn.0053ae40
jmp 0x569b09
call fcn.0052c9d0
lea edi, [ebx + 0x1f0]
mov esi, eax
call fcn.0052c9d0
cmp dword [ebx + 0x12c], 0
je 0x569b07
push esi
push eax
push 0
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x3c]
push ecx
push ebx
call fcn.0053c730
xor esi, esi
mov eax, dword [ebx + 0x12c]
cmp eax, esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
je 0x569bef
mov esi, eax
call fcn.00529db0
cmp eax, 1
jne 0x569bed
mov eax, dword [ebx + 0x28c]
test eax, eax
je 0x569bed
add eax, 0x4c
call fcn.005524c0
test eax, eax
jne 0x569bed
lea edi, [ebx + 0x218]
call fcn.0052c9d0
test eax, eax
je 0x569bed
mov esi, dword [ebx + 0x12c]
call fcn.005299f0
lea edi, [ebx + 0x218]
mov esi, eax
call fcn.0052c9d0
mov edx, dword [ebx + 0x28c]
push eax
mov eax, dword [edx + 0x4c]
push eax
mov eax, esi
lea edi, [esp + 0x20]
call fcn.0052f490
add esp, 8
test eax, eax
je 0x569bed
mov eax, dword [ebx + 0x28c]
mov edx, dword [eax + 0x34]
mov ecx, dword [esp + 0xc]
mov esi, dword [esp + 0x18]
sub edx, 1
neg edx
sbb edx, edx
and edx, 0xfffffffd
add edx, 8
add ecx, edx
mov edx, dword [esp + 0x10]
mov dword [eax + 0x50], edx
add esi, edx
mov edx, dword [esp + 0x1c]
add edx, ecx
mov dword [eax + 0x54], ecx
mov dword [eax + 0x58], esi
mov dword [eax + 0x5c], edx
mov eax, dword [ebx + 0x28c]
mov ecx, dword [eax + 0x58]
cmp dword [esp + 0x28], ecx
jg 0x569be0
mov dword [esp + 0x28], ecx
mov eax, dword [eax + 0x5c]
cmp dword [esp + 0x2c], eax
jg 0x569bed
mov dword [esp + 0x2c], eax
xor esi, esi
mov eax, dword [esp + 0x28]
sub eax, dword [esp + 0x20]
mov ecx, dword [esp + 8]
mov dword [ebx + 0x388], eax
mov eax, dword [esp + 0x2c]
sub eax, dword [esp + 0x24]
cmp ecx, eax
jle 0x569c0f
mov eax, ecx
mov esi, dword [ebx + 0x12c]
mov dword [ebx + 0x38c], eax
xor edi, edi
call fcn.00529db0
mov ecx, 1
cmp eax, ecx
jne 0x569c5b
mov eax, dword [ebx + 0x12c]
mov edx, dword [eax + 0x50]
cmp dword [edx + 0xb4], edi
je 0x569c5b
mov edx, dword [ebx + 0x28c]
cmp dword [edx + 0x34], ecx
je 0x569c5b
mov edx, dword [esp + 8]
mov eax, dword [eax + 0x50]
lea edi, [edx + 5]
imul edi, dword [eax + 0xb4]
sub edi, 5
mov eax, dword [ebx + 0x38c]
cmp eax, edi
jle 0x569c67
mov edi, eax
mov edx, dword [ebx + 0x110]
add edx, dword [ebx + 0x108]
mov dword [ebx + 0x1c0], edi
add edx, dword [ebx + 0x388]
mov dword [ebx + 0x398], edx
jmp 0x569cf6
mov dword [esp + 0x18], esi
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], esi
mov esi, dword [ebx + 0x12c]
call fcn.005299f0
lea edi, [ebx + 0x1f0]
mov esi, eax
call fcn.0052c9d0
push eax
push 0x5ce664
mov eax, esi
lea edi, [esp + 0x18]
call fcn.0052f490
add esp, 8
test eax, eax
mov eax, dword [esp + 0x14]
jne 0x569ccb
mov eax, dword [esp + 0x18]
mov ecx, dword [ebx + 0x110]
mov edx, dword [ebx + 0x108]
lea ecx, [ecx + edx + 0x78]
mov dword [ebx + 0x398], ecx
mov dword [ebx + 0x388], 0x78
mov dword [ebx + 0x38c], eax
mov ecx, 1
mov edx, dword [ebx + 0x254]
add edx, dword [ebx + 0x114]
add edx, eax
mov eax, dword [ebx + 0x398]
cmp eax, 0x78
mov dword [ebx + 0x39c], edx
jg 0x569d1a
mov eax, 0x78
mov dword [ebx + 0x398], eax
and eax, 0x80000007
jns 0x569d2c
dec eax
or eax, 0xfffffff8
inc eax
je 0x569d5c
mov edi, edi
add dword [ebx + 0x398], ecx
mov eax, dword [ebx + 0x398]
and eax, 0x80000007
jns 0x569d48
dec eax
or eax, 0xfffffff8
inc eax
jne 0x569d30
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov dword [ebx + 0x398], esi
mov dword [ebx + 0x39c], esi
pop edi
pop esi
mov esp, ebp
pop ebp
ret