Function at 0x54a270
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.0054c6e0
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.0054ea50
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.0054ea50
mov edx, dword [esp + 0x128]
add esp, 0x10
push ebx
push edx
call fcn.00546760
add esp, 8
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x118]
push ebx
push eax
call fcn.00546760
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.00546760
mov edx, dword [esp + 0x120]
add esp, 8
mov dword [esp + 0x90], eax
push ebx
push edx
call fcn.00546760
add esp, 8
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x118]
push ebx
push eax
call fcn.00546760
mov ecx, dword [esp + 0x120]
mov dword [esp + 0xa4], eax
add esp, 8
test byte [ecx + 4], 8
je 0x54a3ad
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.005370e7
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 [0x56f490]
call fcn.00550f30
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x124]
test eax, eax
mov dword [esp + 0x84], 0
jle 0x54ad78
jmp 0x54a3f8
mov ebx, dword [esp + 0x60]
mov edx, dword [esp + 0x44]
push edx
push 0xffffffffffffffff
push ebx
call fcn.00546c00
add esp, 0xc
lea eax, [esp + 0xbc]
push eax
call fcn.0054eba0
add esp, 4
lea ecx, [esp + 0xe8]
push ecx
call fcn.0054eba0
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.00546cf0
add esp, 0xc
test ebx, ebx
jle 0x54a4d2
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.0054ecc0
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.0054ecc0
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 0x54a46b
mov edi, dword [esp + 0x11c]
mov ecx, dword [esp + 0x118]
test byte [ecx + 0x28], 1
je 0x54a4f3
lea eax, [ebx + ebx*4]
cmp eax, 0x190
jl 0x54a507
mov dword [esp + 0x5c], 0x190
jmp 0x54a50b
lea eax, [ebx + ebx]
cmp eax, 0x12c
jl 0x54a507
mov dword [esp + 0x5c], 0x12c
jmp 0x54a50b
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 0x54aae0
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.0054f210
add esp, 4
lea ecx, [esp + 0xe8]
mov edi, eax
push ecx
mov dword [esp + 0xa4], edi
call fcn.0054f210
add esp, 4
cmp edi, 0xffffffff
mov dword [esp + 0xa4], eax
je 0x54a620
cmp eax, 0xffffffff
je 0x54a61b
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 0x54a5c7
xor ebx, ebx
mov dword [esp + 0x10], ebx
jmp 0x54a5ee
jge 0x54a5d3
mov dword [esp + 0x10], 1
jmp 0x54a5ea
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 0x54a671
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 0x54a66d
cmp edi, 0xffffffff
jne 0x54a62e
cmp eax, 0xffffffff
je 0x54aad5
cmp edi, 0xffffffff
je 0x54a648
mov ecx, dword [esi + edi*4]
mov edi, dword [ebp]
mov edx, dword [esp + 0x78]
add ecx, edi
cmp ecx, edx
jg 0x54a648
mov dword [esp + 0x10], 0
jmp 0x54a66d
cmp eax, 0xffffffff
je 0x54aad5
mov edx, dword [esi + eax*4]
mov ecx, dword [ebp + 4]
mov eax, dword [esp + 0x78]
add edx, ecx
cmp edx, eax
jg 0x54aad5
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.0054f0c0
mov edx, dword [esp + 0x48]
mov edi, eax
add esp, 4
mov dword [esp + 0x68], edi
cmp dword [edx + edi*4], 0xffffffff
jne 0x54a6d7
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.0054ed60
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 0x54a735
jne 0x54a71d
cmp eax, dword [esp + 0x94]
jl 0x54a735
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x54]
sub edx, eax
mov eax, dword [esp + 0x5c]
cmp edx, eax
jg 0x54aab9
jmp 0x54a748
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 0x54aa29
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 0x54a870
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 0x54a845
mov ecx, dword [esp + 0x50]
mov edx, 0xfffffffe
sub edx, ecx
cmp edi, edx
jne 0x54a9fb
jmp 0x54a849
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.0054eef0
add esp, 0x10
jmp 0x54a9fb
cmp eax, dword [esp + 0x50]
jne 0x54a9fb
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 0x54a9c6
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 0x54a932
mov ecx, dword [ecx + esi]
add dword [eax + edx*4], ecx
jmp 0x54a9a4
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 0x54a984
mov edx, dword [esp + 0x10]
mov eax, 0xfffffffe
sub eax, edx
mov edx, dword [esp + 0xa8]
cmp edx, eax
jne 0x54a99d
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.0054eef0
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 0x54a911
mov ecx, dword [esp + 0x44]
cmp dword [edi + ecx], 0xffffffff
jne 0x54a9fb
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.0054ecc0
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 0x54a7e3
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 0x54aa85
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.005370e7
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 0x54a556
jmp 0x54aad5
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 0x54ad11
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 0x54abe3
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 0x54abbf
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 0x54abc5
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 0x54ab8b
mov edx, dword [esp + 0x20]
mov ecx, dword [edx - 4]
mov edi, dword [edx]
cmp ecx, edi
mov dword [esp + 0x34], ecx
jge 0x54ace1
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 0x54ac14
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 0x54acbf
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 0x54aca9
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 0x54ac8a
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 0x54ac10
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 0x54ab10
mov edi, dword [esp + 0x11c]
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x118]
test byte [eax + 4], 8
je 0x54ad3e
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.005370e7
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 0x54ad74
cmp eax, dword [esp + 0xac]
jge 0x54ad74
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x124]
inc eax
cmp eax, ecx
mov dword [esp + 0x84], eax
jl 0x54a3f4
mov ebx, dword [esp + 0x60]
mov esi, dword [esp + 0x118]
lea edx, [esp + 0xbc]
push edx
push esi
call fcn.0054ec10
add esp, 8
lea eax, [esp + 0xe8]
push eax
push esi
call fcn.0054ec10
mov ecx, dword [esp + 0xc0]
add esp, 8
push ecx
push esi
call fcn.00546790
add esp, 8
push ebx
push esi
call fcn.00546790
add esp, 8
push ebx
push esi
call fcn.00546790
add esp, 8
push ebx
push esi
call fcn.00546790
add esp, 8
push ebx
push esi
call fcn.00546790
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x104
ret