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

Disassembly:
sub esp, 0x104
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x11c]
mov edx, dword [edi + 0x48]
mov esi, dword [edi + 0x14]
mov ecx, dword [edi + 0x1c]
mov eax, dword [edi + 0x10]
mov ebx, dword [edi + 8]
mov dword [esp + 0x58], edx
mov edx, dword [edi + 0x44]
mov ebp, dword [edi + 0x3c]
mov dword [esp + 0x38], edx
mov edx, dword [edi + 0x38]
push esi
mov dword [esp + 0x2c], edx
mov edx, dword [edi + 0x5c]
push ecx
push eax
push ebx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x74], ecx
mov dword [esp + 0x2c], edx
call fcn.005b0550
mov ecx, dword [esp + 0x128]
add esp, 0x10
mov dword [esp + 0x70], eax
push eax
lea eax, [esp + 0xc0]
push ebx
push eax
push ecx
call fcn.005b28c0
mov edx, dword [esp + 0x80]
mov ecx, dword [esp + 0x128]
add esp, 0x10
lea eax, [esp + 0xe8]
push edx
push ebx
push eax
push ecx
call fcn.005b28c0
mov edx, dword [esp + 0x128]
add esp, 0x10
push ebx
push edx
call fcn.005aa5d0
add esp, 8
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x118]
push ebx
push eax
call fcn.005aa5d0
mov ecx, dword [esp + 0x120]
add esp, 8
mov dword [esp + 0x88], eax
lea eax, [ebx + 1]
push eax
push ecx
mov dword [esp + 0xc0], eax
call fcn.005aa5d0
mov edx, dword [esp + 0x120]
add esp, 8
mov dword [esp + 0x90], eax
push ebx
push edx
call fcn.005aa5d0
add esp, 8
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x118]
push ebx
push eax
call fcn.005aa5d0
mov ecx, dword [esp + 0x120]
mov dword [esp + 0xa4], eax
add esp, 8
test byte [ecx + 4], 8
je 0x5ae21d
mov edx, dword [edi + 0x30]
mov eax, dword [edi + 0x40]
mov ecx, dword [edi + 8]
push edx
mov edx, dword [ebp + 4]
push eax
mov eax, dword [ebp]
push ecx
push edx
push eax
push str.Partitions:___6d__6d__Nv_Nb__6d__6d_._ISep:__6d_n
call fcn.0059aef1
add esp, 0x18
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 4]
mov edx, dword [ebp]
add ecx, eax
add ecx, edx
mov dword [esp + 0x3c], ecx
fild dword [esp + 0x3c]
fmul dword [esp + 0x120]
fmul dword [0x5d3bb0]
call fcn.005b4da0
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x124]
test eax, eax
mov dword [esp + 0x84], 0
jle 0x5aebe8
jmp 0x5ae268
mov ebx, dword [esp + 0x60]
mov edx, dword [esp + 0x44]
push edx
push 0xffffffffffffffff
push ebx
call fcn.005aaa70
add esp, 0xc
lea eax, [esp + 0xbc]
push eax
call fcn.005b2a10
add esp, 4
lea ecx, [esp + 0xe8]
push ecx
call fcn.005b2a10
mov edx, dword [esp + 0xa0]
mov ebx, dword [edi + 0x40]
mov eax, dword [edi + 0x30]
add esp, 4
mov dword [esp + 0x54], 0xffffffff
mov dword [esp + 0x6c], eax
push 1
push edx
push ebx
mov dword [esp + 0xb8], eax
mov dword [esp + 0x20], ebx
call fcn.005aab60
add esp, 0xc
test ebx, ebx
jle 0x5ae342
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x58]
mov edx, dword [ecx]
mov edi, dword [eax + edx*4]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esi + edi*4]
mov eax, dword [edx + edi*8 + 4]
sub ecx, eax
lea eax, [esp + 0xbc]
push ecx
push edi
push eax
call fcn.005b2b30
mov edx, dword [esp + 0x28]
mov ecx, dword [esi + edi*4]
add esp, 0xc
mov eax, dword [edx + edi*8]
sub ecx, eax
lea eax, [esp + 0xe8]
push ecx
push edi
push eax
call fcn.005b2b30
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x30]
add esp, 0xc
add ecx, 4
dec eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x24], eax
jne 0x5ae2db
mov edi, dword [esp + 0x11c]
mov ecx, dword [esp + 0x118]
test byte [ecx + 0x28], 1
je 0x5ae363
lea eax, [ebx + ebx*4]
cmp eax, 0x190
jl 0x5ae377
mov dword [esp + 0x5c], 0x190
jmp 0x5ae37b
lea eax, [ebx + ebx]
cmp eax, 0x12c
jl 0x5ae377
mov dword [esp + 0x5c], 0x12c
jmp 0x5ae37b
mov dword [esp + 0x5c], eax
mov ecx, dword [esp + 0x90]
mov dword [esp + 0x18], 0
mov dword [ecx], 0
mov eax, dword [ebp]
sub eax, dword [ebp + 4]
cdq
xor eax, edx
sub eax, edx
mov edx, dword [esp + 0x60]
mov dword [esp + 0x94], eax
xor eax, eax
test edx, edx
mov dword [esp + 0x30], eax
jle 0x5ae950
mov edx, dword [esp + 0x88]
add ecx, 4
mov dword [esp + 0x48], edx
mov dword [esp + 0x24], ecx
lea eax, [esp + 0xbc]
push eax
call fcn.005b3080
add esp, 4
lea ecx, [esp + 0xe8]
mov edi, eax
push ecx
mov dword [esp + 0xa4], edi
call fcn.005b3080
add esp, 4
cmp edi, 0xffffffff
mov dword [esp + 0xa4], eax
je 0x5ae490
cmp eax, 0xffffffff
je 0x5ae48b
mov ebx, dword [esp + 0x1c]
mov ecx, dword [esi + edi*4]
mov edx, dword [ebx + edi*8 + 4]
mov edi, dword [ebx + eax*8]
sub ecx, edx
mov edx, dword [esi + eax*4]
sub edx, edi
mov dword [esp + 0xb0], ecx
cmp ecx, edx
mov dword [esp + 0xb4], edx
jle 0x5ae437
xor ebx, ebx
mov dword [esp + 0x10], ebx
jmp 0x5ae45e
jge 0x5ae443
mov dword [esp + 0x10], 1
jmp 0x5ae45a
mov eax, dword [esp + 0x84]
cdq
xor eax, edx
sub eax, edx
and eax, 1
xor eax, edx
sub eax, edx
mov dword [esp + 0x10], eax
mov ebx, dword [esp + 0x10]
mov edx, dword [esp + ebx*4 + 0xa0]
mov ecx, dword [esp + 0x78]
mov eax, dword [esi + edx*4]
mov edx, dword [ebp + ebx*4]
add eax, edx
cmp eax, ecx
jle 0x5ae4e1
lea eax, [ebx + 1]
cdq
xor eax, edx
sub eax, edx
and eax, 1
xor eax, edx
sub eax, edx
mov dword [esp + 0x10], eax
jmp 0x5ae4dd
cmp edi, 0xffffffff
jne 0x5ae49e
cmp eax, 0xffffffff
je 0x5ae945
cmp edi, 0xffffffff
je 0x5ae4b8
mov ecx, dword [esi + edi*4]
mov edi, dword [ebp]
mov edx, dword [esp + 0x78]
add ecx, edi
cmp ecx, edx
jg 0x5ae4b8
mov dword [esp + 0x10], 0
jmp 0x5ae4dd
cmp eax, 0xffffffff
je 0x5ae945
mov edx, dword [esi + eax*4]
mov ecx, dword [ebp + 4]
mov eax, dword [esp + 0x78]
add edx, ecx
cmp edx, eax
jg 0x5ae945
mov dword [esp + 0x10], 1
mov ebx, dword [esp + 0x10]
lea eax, [ebx + 1]
cdq
xor eax, edx
sub eax, edx
and eax, 1
xor eax, edx
sub eax, edx
mov dword [esp + 0x50], eax
lea eax, [ebx + ebx*4]
lea ecx, [ebx + eax*2]
lea eax, [esp + ecx*4 + 0xbc]
push eax
mov dword [esp + 0x40], eax
call fcn.005b2f30
mov edx, dword [esp + 0x48]
mov edi, eax
add esp, 4
mov dword [esp + 0x68], edi
cmp dword [edx + edi*4], 0xffffffff
jne 0x5ae547
mov edx, dword [esp + 0x1c]
mov ecx, dword [esi + edi*4]
lea eax, [ebx + edi*2]
sub ecx, dword [edx + eax*4]
mov eax, dword [esp + 0x50]
push ecx
lea ecx, [eax + eax*4]
push edi
lea edx, [eax + ecx*2]
lea eax, [esp + edx*4 + 0xc4]
push eax
call fcn.005b2bd0
add esp, 0xc
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x1c]
lea ecx, [edx + edi*2]
shl edx, 2
lea eax, [eax + ecx*4]
mov dword [esp + 0x40], edx
mov ecx, dword [eax]
sub ecx, dword [esi + edi*4]
add dword [ebp + 8], ecx
mov eax, dword [eax]
add eax, dword [esi + edi*4]
mov ecx, dword [ebp + 8]
sub eax, dword [edx + ebp]
mov edx, dword [ebp + ebx*4]
add eax, edx
cdq
xor eax, edx
sub eax, edx
mov edx, dword [esp + 0x6c]
cmp ecx, edx
jl 0x5ae5a5
jne 0x5ae58d
cmp eax, dword [esp + 0x94]
jl 0x5ae5a5
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x54]
sub edx, eax
mov eax, dword [esp + 0x5c]
cmp edx, eax
jg 0x5ae929
jmp 0x5ae5b8
mov dword [esp + 0x6c], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x38]
dec eax
mov dword [esp + 0x14], eax
mov edx, dword [edx + edi*4]
lea eax, [ecx + eax*4]
mov dword [esp + 0x20], eax
mov eax, dword [eax]
mov dword [ecx + edx*4], eax
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x38]
mov edx, dword [ecx]
mov ecx, dword [eax + edi*4]
mov dword [eax + edx*4], ecx
mov dword [eax + edi*4], 0xffffffff
mov edx, dword [esi + edi*4]
mov eax, dword [ebp + ebx*4]
mov ecx, dword [esp + 0x44]
add eax, edx
mov edx, dword [esp + 0x30]
mov dword [ebp + ebx*4], eax
mov eax, dword [esp + 0x28]
mov dword [eax + edi*4], ebx
mov eax, dword [esp + 0x48]
mov dword [ecx + edi*4], edx
mov dword [eax], edi
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + edi*4]
mov edx, dword [eax + edi*4 + 4]
cmp ecx, edx
mov dword [esp + 0x34], ecx
jge 0x5ae899
mov edx, dword [esp + 0x70]
mov eax, dword [esp + 0x18]
lea edx, [edx + eax*4]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x8c], edx
mov edx, dword [esp + 0x64]
mov dword [esp + 0x80], eax
lea eax, [edx + ecx*4]
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x20]
mov ebx, dword [ecx]
mov ecx, dword [esp + 0x28]
lea edi, [ebx*4]
mov eax, dword [edi + ecx]
cmp eax, 2
jne 0x5ae6e0
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
lea eax, [edx + ebx*2]
mov edx, dword [esp + 0x68]
mov edx, dword [esi + edx*4]
lea eax, [ecx + eax*4]
mov dword [esp + 0x4c], eax
mov ecx, dword [eax]
mov eax, dword [edi + esi]
sub eax, ecx
add edx, ecx
mov ecx, dword [esp + 0x4c]
mov dword [ecx], edx
mov edx, dword [esp + 0x44]
mov edi, dword [edi + edx]
cmp edi, 0xffffffff
je 0x5ae6b5
mov ecx, dword [esp + 0x50]
mov edx, 0xfffffffe
sub edx, ecx
cmp edi, edx
jne 0x5ae86b
jmp 0x5ae6b9
mov ecx, dword [esp + 0x50]
mov edi, dword [esp + 0x68]
mov edx, eax
sub edx, dword [esi + edi*4]
push edx
push eax
lea eax, [ecx + ecx*4]
push ebx
lea ecx, [ecx + eax*2]
lea edx, [esp + ecx*4 + 0xc8]
push edx
call fcn.005b2d60
add esp, 0x10
jmp 0x5ae86b
cmp eax, dword [esp + 0x50]
jne 0x5ae86b
mov eax, dword [esp + 0x80]
mov edx, dword [esp + 0x38]
mov dword [eax], ebx
mov eax, dword [esp + 0x14]
mov dword [edi + edx], eax
inc eax
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x80]
add eax, 4
mov edx, dword [esp + 0x18]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x8c]
inc edx
mov dword [eax], ebx
add eax, 4
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x18], edx
mov dword [edi + ecx], 2
mov ecx, dword [edi + esi]
mov edx, dword [eax + ebp]
sub edx, ecx
mov dword [eax + ebp], edx
mov edx, dword [esp + 0x1c]
lea eax, [edx + ebx*8]
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x98], eax
mov dword [eax + 4], 0
mov dword [eax], 0
mov ecx, dword [edi + edx]
cmp ecx, dword [edx + ebx*4 + 4]
mov dword [esp + 0x4c], ecx
jge 0x5ae836
mov edx, dword [esp + 0x64]
lea ecx, [edx + ecx*4]
mov dword [esp + 0x7c], ecx
mov edx, dword [esp + 0x7c]
mov ecx, dword [edx]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x74], ecx
shl ecx, 2
mov edx, dword [ecx + edx]
cmp edx, 2
je 0x5ae7a2
mov ecx, dword [ecx + esi]
add dword [eax + edx*4], ecx
jmp 0x5ae814
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x74]
mov ecx, dword [ecx + esi]
lea edx, [edx + eax*2]
mov eax, dword [esp + 0x1c]
lea edx, [eax + edx*4]
mov eax, dword [edx]
sub ecx, eax
sub eax, dword [edi + esi]
mov dword [edx], eax
mov edx, dword [esp + 0x74]
lea eax, [edx*4]
mov edx, dword [esp + 0x44]
mov eax, dword [eax + edx]
cmp eax, 0xffffffff
mov dword [esp + 0xa8], eax
je 0x5ae7f4
mov edx, dword [esp + 0x10]
mov eax, 0xfffffffe
sub eax, edx
mov edx, dword [esp + 0xa8]
cmp edx, eax
jne 0x5ae80d
mov edx, dword [edi + esi]
mov eax, dword [esp + 0x74]
add edx, ecx
push edx
push ecx
mov ecx, dword [esp + 0x44]
push eax
push ecx
call fcn.005b2d60
add esp, 0x10
mov eax, dword [esp + 0x98]
mov edx, dword [esp + 0x7c]
mov ecx, dword [esp + 0x4c]
add edx, 4
inc ecx
mov dword [esp + 0x7c], edx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x4c], ecx
cmp ecx, dword [edx + ebx*4 + 4]
jl 0x5ae781
mov ecx, dword [esp + 0x44]
cmp dword [edi + ecx], 0xffffffff
jne 0x5ae86b
mov ecx, dword [esp + 0x40]
mov edx, dword [edi + esi]
sub edx, dword [ecx + eax]
push edx
mov edx, dword [esp + 0x40]
push ebx
push edx
call fcn.005b2b30
mov ecx, dword [esp + 0x1c]
mov eax, 0xfffffffe
add esp, 0xc
sub eax, ecx
mov ecx, dword [esp + 0x44]
mov dword [edi + ecx], eax
mov edx, dword [esp + 0x68]
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x34]
mov ebx, dword [esp + 0x20]
mov edi, dword [ecx + edx*4 + 4]
inc eax
add ebx, 4
cmp eax, edi
mov dword [esp + 0x34], eax
mov dword [esp + 0x20], ebx
jl 0x5ae653
mov ebx, dword [esp + 0x10]
mov edi, edx
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x118]
mov dword [eax], edx
test byte [ecx + 4], 0x20
je 0x5ae8f5
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 4]
mov ecx, dword [ebp]
push edx
push eax
mov eax, dword [esp + 0x48]
push ecx
mov edx, dword [esp + eax + 0xac]
mov ecx, dword [esi + edx*4]
mov edx, dword [esp + ebx*4 + 0xac]
push ecx
mov ecx, dword [esi + edx*4]
mov edx, dword [esp + eax + 0xc0]
mov eax, dword [esp + ebx*4 + 0xc0]
push ecx
push edx
push eax
push ebx
push edi
push str.Moved__6d_to__3d__Gain:__5d___5d____4d__4d___t__5d__5d__5d__n
call fcn.0059aef1
add esp, 0x28
mov edi, dword [esp + 0x48]
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x30]
mov ebx, dword [esp + 0x14]
mov ecx, 4
inc eax
add edi, ecx
add edx, ecx
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x30], eax
cmp eax, ecx
mov dword [esp + 0x48], edi
mov dword [esp + 0x24], edx
jl 0x5ae3c6
jmp 0x5ae945
mov edx, dword [esp + 0x50]
lea eax, [edx + edi*2]
mov edx, dword [esi + edi*4]
mov edi, dword [esp + 0x1c]
mov ebx, dword [edi + eax*4]
sub edx, ebx
mov ebx, dword [esp + 0x14]
add edx, ecx
mov dword [ebp + 8], edx
mov edi, dword [esp + 0x11c]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x54]
dec eax
cmp eax, ecx
jle 0x5aeb81
mov edx, dword [esp + 0x88]
lea edx, [edx + eax*4]
mov dword [esp + 0x40], edx
mov edx, dword [esp + 0x90]
lea edx, [edx + eax*4 + 4]
sub eax, ecx
mov dword [esp + 0x20], edx
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x28]
mov ecx, dword [eax]
mov edi, dword [edx + ecx*4]
mov dword [esp + 0x10], edi
lea eax, [edi + 1]
cdq
xor eax, edx
sub eax, edx
and eax, 1
xor eax, edx
sub eax, edx
mov edx, dword [esi + ecx*4]
add dword [ebp + 8], edx
mov edx, dword [esi + ecx*4]
sub dword [ebp + edi*4], edx
mov edx, dword [esp + 0x28]
mov dword [edx + ecx*4], 2
mov edx, dword [esp + 0x58]
mov dword [edx + ebx*4], ecx
mov edx, dword [esp + 0x38]
mov dword [edx + ecx*4], ebx
mov edx, dword [esp + 0x1c]
inc ebx
mov dword [esp + 0x14], ebx
mov ebx, dword [esp + 0x2c]
lea edx, [edx + ecx*8]
mov dword [edx + 4], 0
mov dword [edx], 0
mov edi, dword [ebx + ecx*4]
cmp edi, dword [ebx + ecx*4 + 4]
mov dword [esp + 0x34], edi
jge 0x5aea53
mov ebx, dword [esp + 0x64]
lea edi, [ebx + edi*4]
mov dword [esp + 0x18], edi
mov edi, dword [esp + 0x18]
mov edi, dword [edi]
lea ebx, [edi*4]
mov edi, dword [esp + 0x28]
mov edi, dword [ebx + edi]
cmp edi, 2
jne 0x5aea2f
mov edi, dword [esp + 0x18]
mov ebx, dword [esp + 0x10]
mov edi, dword [edi]
lea edi, [ebx + edi*2]
mov ebx, dword [esp + 0x1c]
lea edi, [ebx + edi*4]
mov ebx, dword [esi + ecx*4]
sub dword [edi], ebx
jmp 0x5aea35
mov ebx, dword [ebx + esi]
add dword [edx + edi*4], ebx
mov ebx, dword [esp + 0x18]
mov edi, dword [esp + 0x34]
add ebx, 4
inc edi
mov dword [esp + 0x18], ebx
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0x34], edi
cmp edi, dword [ebx + ecx*4 + 4]
jl 0x5ae9fb
mov edx, dword [esp + 0x20]
mov ecx, dword [edx - 4]
mov edi, dword [edx]
cmp ecx, edi
mov dword [esp + 0x34], ecx
jge 0x5aeb51
mov edx, dword [esp + 0x14]
mov edi, dword [esp + 0x58]
lea edx, [edi + edx*4]
mov edi, dword [esp + 0x70]
lea ecx, [edi + ecx*4]
mov dword [esp + 0x48], ecx
jmp 0x5aea84
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x48]
mov edi, dword [esp + 0x28]
sub edx, 4
mov ecx, dword [ecx]
mov dword [esp + 0x3c], edx
mov dword [edi + ecx*4], eax
mov edi, dword [esi + ecx*4]
mov ebx, dword [ebp + eax*4]
add ebx, edi
mov dword [ebp + eax*4], ebx
mov edi, dword [esi + ecx*4]
mov ebx, dword [ebp + 8]
sub ebx, edi
mov edi, dword [esp + 0x38]
mov dword [ebp + 8], ebx
mov ebx, dword [esp + 0x14]
mov edi, dword [edi + ecx*4]
mov edx, dword [edx]
dec ebx
mov dword [esp + 0x14], ebx
mov ebx, dword [esp + 0x58]
mov dword [ebx + edi*4], edx
mov edx, dword [esp + 0x3c]
mov edi, dword [edx]
mov edx, dword [esp + 0x38]
mov ebx, dword [edx + ecx*4]
mov dword [edx + edi*4], ebx
mov edi, dword [esp + 0x2c]
mov dword [edx + ecx*4], 0xffffffff
mov edx, dword [edi + ecx*4]
mov ebx, dword [edi + ecx*4 + 4]
cmp edx, ebx
jge 0x5aeb2f
mov edi, dword [esp + 0x64]
lea edi, [edi + edx*4]
mov dword [esp + 0x24], edi
mov edi, dword [esp + 0x24]
mov ebx, dword [esp + 0x28]
mov edi, dword [edi]
cmp dword [ebx + edi*4], 2
jne 0x5aeb19
mov ebx, dword [esp + 0x1c]
lea edi, [eax + edi*2]
lea edi, [ebx + edi*4]
mov ebx, dword [esi + ecx*4]
add dword [edi], ebx
mov edi, dword [esp + 0x24]
inc edx
add edi, 4
mov dword [esp + 0x24], edi
mov edi, dword [esp + 0x2c]
cmp edx, dword [edi + ecx*4 + 4]
jl 0x5aeafa
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x34]
mov ebx, dword [esp + 0x48]
inc ecx
mov edi, dword [edx]
add ebx, 4
cmp ecx, edi
mov dword [esp + 0x34], ecx
mov dword [esp + 0x48], ebx
jl 0x5aea80
mov edi, dword [esp + 0x40]
mov eax, dword [esp + 0x4c]
mov ebx, dword [esp + 0x14]
sub edi, 4
sub edx, 4
dec eax
mov dword [esp + 0x40], edi
mov dword [esp + 0x20], edx
mov dword [esp + 0x4c], eax
jne 0x5ae980
mov edi, dword [esp + 0x11c]
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x118]
test byte [eax + 4], 8
je 0x5aebae
mov edx, dword [ebp + 4]
mov eax, dword [ebp]
push ebx
push edx
push eax
push ecx
mov ecx, dword [esp + 0x7c]
push ecx
push str._tMinimum_sep:__6d_at__5d__PWGTS:___6d__6d___NBND:__6d_n
call fcn.0059aef1
mov ecx, dword [esp + 0x6c]
add esp, 0x18
mov eax, dword [esp + 0x6c]
cmp ecx, 0xffffffff
mov dword [edi + 0x30], eax
mov dword [edi + 0x40], ebx
je 0x5aebe4
cmp eax, dword [esp + 0xac]
jge 0x5aebe4
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x124]
inc eax
cmp eax, ecx
mov dword [esp + 0x84], eax
jl 0x5ae264
mov ebx, dword [esp + 0x60]
mov esi, dword [esp + 0x118]
lea edx, [esp + 0xbc]
push edx
push esi
call fcn.005b2a80
add esp, 8
lea eax, [esp + 0xe8]
push eax
push esi
call fcn.005b2a80
mov ecx, dword [esp + 0xc0]
add esp, 8
push ecx
push esi
call fcn.005aa600
add esp, 8
push ebx
push esi
call fcn.005aa600
add esp, 8
push ebx
push esi
call fcn.005aa600
add esp, 8
push ebx
push esi
call fcn.005aa600
add esp, 8
push ebx
push esi
call fcn.005aa600
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x104
ret