Function at 0x56a119
Capabilities:
Terminate process

Disassembly:
push ebp
lea ebp, [esp - 0x6c]
sub esp, 0x88
mov eax, dword [ebp + 0x74]
mov ecx, dword [eax]
and dword [ebp + 0x28], 0
and dword [ebp + 0x58], 0
push ebx
push esi
push edi
mov edi, dword [eax + 0xc]
mov eax, edi
mov dword [ebp + 0x50], ecx
mov dword [ebp + 0x24], edi
call fcn.0055c35f
mov dword [ebp + 0x3c], eax
mov eax, edi
call fcn.0055c35f
mov edi, dword [ebp + 0x78]
mov ebx, dword [edi + 0x18]
mov ecx, dword [edi + 0x1c]
mov esi, dword [ebx]
mov dword [ebp + 0x30], eax
movzx eax, byte [edi + 4]
mov dword [ebp + 0x54], eax
mov dword [ebp + 0x40], ecx
mov dword [ebp + 0x44], esi
cmp eax, 0x71
je 0x56a214
mov eax, dword [ebp + 0x50]
cmp byte [eax + 0x1e], 0
mov dword [ebp + 0x68], 1
jne 0x56a214
mov eax, esi
imul eax, eax, 0x14
mov dword [ebp + 0x5c], eax
mov eax, dword [edi]
mov ecx, dword [ebp + 0x68]
cmp ecx, dword [eax]
jg 0x56a214
mov eax, dword [ebx + 0xc]
xor ecx, ecx
test esi, esi
jle 0x56a1b3
add eax, 0xe
movzx edx, word [eax]
cmp edx, dword [ebp + 0x68]
je 0x56a1b3
inc ecx
add eax, 0x14
cmp ecx, esi
jl 0x56a1a3
cmp ecx, esi
jne 0x56a204
push 0x81
push dword [ebp + 0x50]
xor ecx, ecx
call fcn.00560f39
pop ecx
pop ecx
test eax, eax
je 0x56a2b7
mov ecx, 0x400
or word [eax + 2], cx
mov ecx, dword [ebp + 0x68]
mov dword [eax + 4], ecx
push eax
mov eax, dword [ebp + 0x74]
mov ecx, ebx
call fcn.00561291
mov edx, dword [ebp + 0x5c]
mov ebx, eax
mov eax, dword [ebx + 0xc]
pop ecx
mov cx, word [ebp + 0x68]
inc esi
add dword [ebp + 0x5c], 0x14
mov word [eax + edx + 0xe], cx
mov dword [ebp + 0x44], esi
mov eax, dword [ebp + 0x50]
inc dword [ebp + 0x68]
cmp byte [eax + 0x1e], 0
je 0x56a18e
mov eax, esi
mov esi, dword [ebp + 0x50]
shl eax, 2
push eax
call fcn.00559c83
pop ecx
xor ecx, ecx
mov dword [ebp + 0x1c], eax
cmp eax, ecx
je 0x56a317
cmp dword [ebp + 0x44], ecx
mov edx, dword [ebx + 0xc]
jle 0x56a24b
add edx, 0xe
movzx esi, word [edx]
dec esi
mov dword [eax + ecx*4], esi
inc ecx
add edx, 0x14
cmp ecx, dword [ebp + 0x44]
jl 0x56a23b
mov eax, dword [ebp + 0x44]
mov esi, dword [ebp + 0x50]
imul eax, eax, 5
add eax, 0x10
push eax
call fcn.00559c83
pop ecx
mov ecx, eax
xor eax, eax
mov dword [ebp + 0x20], ecx
cmp ecx, eax
je 0x56a31a
mov esi, dword [ebp + 0x44]
cmp esi, eax
lea edx, [ecx + esi*4 + 0xc]
mov dword [ecx + 8], edx
mov edx, dword [ebp + 0x50]
mov word [ecx + 6], si
mov edx, dword [edx + 8]
mov edx, dword [edx + 0xc]
mov dl, byte [edx + 0x4d]
mov byte [ecx + 4], dl
mov dword [ebp + 0x68], eax
jle 0x56a31a
lea edx, [ecx + 0xc]
mov dword [ebp + 0x64], eax
mov dword [ebp + 0x5c], edx
mov edx, dword [ebx + 0xc]
mov esi, dword [ebp + 0x64]
mov esi, dword [esi + edx]
mov edx, 0x100
test word [esi + 2], dx
je 0x56a2bf
mov eax, dword [esi + 0x14]
jmp 0x56a2e0
push 7
pop eax
jmp 0x56a8b7
mov ecx, dword [ebp + 0x1c]
push dword [ecx + eax*4]
push edi
push dword [ebp + 0x74]
call fcn.0056a0d8
mov ecx, 0x100
add esp, 0xc
or word [esi + 2], cx
mov ecx, dword [ebp + 0x20]
mov dword [esi + 0x14], eax
mov edx, dword [ebp + 0x5c]
mov esi, dword [ebp + 0x64]
add dword [ebp + 0x5c], 4
add dword [ebp + 0x64], 0x14
mov dword [edx], eax
mov eax, dword [ebx + 0xc]
mov al, byte [eax + esi + 0xc]
mov edx, dword [ecx + 8]
mov byte [ebp + 0x3b], al
mov eax, dword [ebp + 0x68]
mov dword [ebp + 0x4c], ecx
mov cl, byte [ebp + 0x3b]
mov byte [eax + edx], cl
mov ecx, dword [ebp + 0x4c]
inc eax
cmp eax, dword [ebp + 0x44]
mov dword [ebp + 0x68], eax
jl 0x56a29e
jmp 0x56a31a
mov dword [ebp + 0x20], ecx
mov eax, dword [ebp + 0x74]
mov dword [edi + 0x18], ebx
push 0
push dword [eax]
call fcn.0055d458
cmp dword [ebp + 0x54], 0x71
mov ebx, dword [ebp + 0x74]
pop ecx
pop ecx
mov ecx, dword [ebp + 0x40]
mov dword [ecx + 0x18], eax
jne 0x56a346
and dword [ebp + 0x5c], 0
mov esi, dword [ebp + 0x24]
jmp 0x56a3dd
mov eax, dword [edi]
mov eax, dword [eax]
lea esi, [eax + 1]
mov ecx, ebx
mov dword [ebp + 0x64], eax
call fcn.00556b18
mov esi, dword [ebp + 0x24]
push eax
push 0
mov dword [ebp + 0x5c], eax
push 7
pop eax
mov ecx, esi
call fcn.0055c34c
mov eax, dword [ebp + 0x64]
imul eax, eax, 5
add eax, 0x10
push eax
mov eax, dword [ebp + 0x50]
call fcn.005601cb
add esp, 0xc
mov dword [ebp + 0x58], eax
test eax, eax
je 0x56a3dd
mov ecx, dword [ebp + 0x64]
and dword [ebp + 0x68], 0
lea edx, [eax + ecx*4 + 0xc]
mov dword [eax + 8], edx
mov edx, dword [ebp + 0x50]
mov word [eax + 6], cx
mov edx, dword [edx + 8]
mov edx, dword [edx + 0xc]
mov dl, byte [edx + 0x4d]
mov byte [eax + 4], dl
test ecx, ecx
jle 0x56a3dd
add eax, 0xc
mov dword [ebp + 0x60], eax
push dword [ebp + 0x68]
push edi
push ebx
call fcn.0056a0d8
mov ecx, dword [ebp + 0x60]
add dword [ebp + 0x60], 4
mov dword [ecx], eax
mov eax, dword [ebp + 0x58]
mov ecx, dword [eax + 8]
mov eax, dword [ebp + 0x68]
add esp, 0xc
mov byte [eax + ecx], 0
inc eax
cmp eax, dword [ebp + 0x64]
mov dword [ebp + 0x68], eax
jl 0x56a3b1
mov eax, dword [edi + 0x18]
and dword [edi + 0x1c], 0
push str.ORDER
push edi
push ebx
call fcn.00568158
mov eax, dword [ebp + 0x40]
add esp, 0xc
cmp dword [eax + 0x1c], 0
jne 0x56a40e
push str.ORDER
push eax
mov eax, dword [eax + 0x18]
push ebx
call fcn.00568158
add esp, 0xc
push dword [ebp + 0x3c]
mov eax, edi
mov ecx, ebx
call fcn.005628a5
xor edx, edx
pop ecx
cmp dword [edi + 0x30], edx
je 0x56a468
cmp dword [ebp + 0x54], 0x71
jne 0x56a468
mov eax, dword [ebx + 0x48]
lea ecx, [eax + 1]
lea eax, [ecx + 1]
mov dword [ebx + 0x48], eax
mov dword [ebp + 0x64], eax
mov eax, dword [edi + 0x34]
mov dword [ebp + 0x60], ecx
cmp eax, edx
je 0x56a444
inc eax
jmp 0x56a447
mov eax, dword [edi + 0x30]
push ecx
push eax
push 0xe
pop eax
mov ecx, esi
call fcn.0055c34c
push dword [ebp + 0x64]
mov ecx, esi
push dword [ebp + 0x60]
push 0xe
pop eax
call fcn.0055c34c
add esp, 0x10
jmp 0x56a46e
mov dword [ebp + 0x64], edx
mov dword [ebp + 0x60], edx
push dword [edi + 0x28]
push dword [ebp + 0x50]
call fcn.0055d3b7
push dword [edi + 0x2c]
and dword [edi + 0x28], 0
push dword [ebp + 0x50]
call fcn.0055d3b7
and dword [edi + 0x2c], 0
mov eax, dword [ebx + 0x48]
inc eax
lea ecx, [eax + 1]
lea edx, [ecx + 1]
mov dword [ebp + 0x68], ecx
lea ecx, [edx + 1]
mov dword [ebp + 0x48], ecx
inc ecx
inc ecx
push eax
mov dword [ebp + 0x34], eax
push 0xa
lea eax, [ebp - 0x1c]
mov dword [ebp + 0x2c], ecx
mov dword [ebx + 0x48], ecx
call fcn.0055787e
push edx
push 0xa
lea eax, [ebp - 0xc]
call fcn.0055787e
push 1
mov ecx, esi
call fcn.0055c329
mov dword [ebp + 0x10], eax
mov eax, esi
call fcn.00555a93
mov ecx, dword [ebp + 0x60]
mov dword [ebp + 0x18], eax
mov eax, dword [ebp + 0x40]
mov dword [eax + 0x30], ecx
mov ecx, dword [ebx + 0x230]
mov dword [ebp + 0xc], ecx
lea ecx, [ebp - 0x1c]
push ecx
push eax
push ebx
call fcn.005851de
push dword [ebp + 0x68]
mov ecx, esi
push 1
push 7
pop eax
call fcn.0055c34c
push dword [ebp + 0x34]
mov ecx, esi
push 4
pop eax
call fcn.0055c33b
mov eax, esi
call fcn.00555a93
mov dword [ebp + 4], eax
mov eax, dword [edi + 0x30]
mov dword [ebp + 0x4c], eax
mov eax, dword [edi + 0x34]
and dword [edi + 0x34], 0
mov dword [ebp + 0x60], eax
mov eax, dword [ebp + 0x64]
mov dword [edi + 0x30], eax
mov eax, dword [ebx + 0x230]
mov dword [ebp + 0x14], eax
lea eax, [ebp - 0xc]
push eax
push edi
push ebx
call fcn.005851de
mov eax, dword [ebp + 0x4c]
add esp, 0x48
push dword [ebp + 0x48]
mov dword [edi + 0x30], eax
mov eax, dword [ebp + 0x60]
push 1
mov dword [edi + 0x34], eax
push 7
pop eax
mov ecx, esi
call fcn.0055c34c
mov eax, dword [ebp + 0x68]
inc eax
push eax
push 4
pop eax
mov ecx, esi
call fcn.0055c33b
push dword [ebp + 0x3c]
mov eax, dword [ebp + 0x48]
push 0xfffffffffffffff0
push dword [ebp + 0x58]
inc eax
push eax
push dword [ebp + 0x7c]
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp + 0x5c]
push edi
push ebx
call fcn.005629f3
add esp, 0x2c
cmp dword [ebp + 0x54], 0x71
mov dword [ebp + 0x4c], eax
je 0x56a5a0
cmp dword [ebp + 0x54], 0x70
jne 0x56a5c2
push dword [ebp + 0x3c]
lea eax, [ebp - 0xc]
push 0xffffffffffffffef
push dword [ebp + 0x58]
push dword [ebp + 0x2c]
push dword [ebp + 0x7c]
push eax
mov eax, dword [ebp + 0x5c]
push edi
push ebx
call fcn.005629f3
add esp, 0x20
mov dword [ebp + 0x28], eax
cmp dword [ebp + 0x54], 0x72
je 0x56a620
cmp dword [ebp + 0x54], 0x73
je 0x56a620
push dword [ebp + 0x3c]
mov ecx, esi
push dword [ebp + 0x48]
push 0x1a
pop eax
call fcn.0055c34c
push dword [ebp + 0x28]
mov dword [ebp + 0x58], eax
push dword [ebp + 0x2c]
mov ecx, esi
push 2
pop eax
call fcn.0055c34c
mov eax, dword [ebp + 0x68]
inc eax
push eax
push 4
pop eax
mov ecx, esi
call fcn.0055c33b
push dword [ebp + 0x58]
xor eax, eax
push 0
inc eax
mov ecx, esi
call fcn.0055c34c
mov ecx, dword [ebp + 0x40]
fld qword [ecx + 0x48]
add esp, 0x1c
fadd qword [edi + 0x48]
fstp qword [edi + 0x48]
jmp 0x56a637
push dword [ebp + 0x3c]
xor eax, eax
push 0
inc eax
mov ecx, esi
call fcn.0055c34c
pop ecx
pop ecx
mov ecx, dword [ebp + 0x40]
mov dword [ebp + 0x58], eax
cmp dword [ebp + 0x54], 0x73
jne 0x56a658
fld qword [ecx + 0x48]
mov eax, dword [ebp + 0x58]
fcomp qword [edi + 0x48]
mov dword [ebp + 0x60], eax
fnstsw ax
test ah, 5
jp 0x56a69c
fld qword [ecx + 0x48]
fstp qword [edi + 0x48]
jmp 0x56a69c
push dword [ebp + 0x3c]
mov ecx, esi
push dword [ebp + 0x68]
push 0x1a
pop eax
call fcn.0055c34c
push dword [ebp + 0x4c]
mov dword [ebp + 0x60], eax
mov eax, dword [ebp + 0x48]
inc eax
push eax
push 2
pop eax
mov ecx, esi
call fcn.0055c34c
push dword [ebp + 0x34]
mov ecx, esi
push 4
pop eax
call fcn.0055c33b
push dword [ebp + 0x60]
xor eax, eax
push 0
inc eax
mov ecx, esi
call fcn.0055c34c
add esp, 0x1c
push dword [ebp + 0x4c]
mov eax, dword [ebp + 0x48]
inc eax
push eax
push 2
pop eax
mov ecx, esi
call fcn.0055c34c
push dword [ebp + 0x34]
mov dword [ebp + 0x64], eax
push 4
pop eax
mov ecx, esi
call fcn.0055c33b
push dword [ebp + 0x58]
mov ecx, esi
push dword [ebp + 0x68]
push 0x1a
pop eax
call fcn.0055c34c
push dword [ebp + 0x30]
xor eax, eax
push 0
inc eax
mov ecx, esi
call fcn.0055c34c
add esp, 0x1c
cmp dword [ebp + 0x54], 0x71
jne 0x56a6ee
mov eax, dword [ebp + 0x64]
mov dword [ebp + 0x4c], eax
jmp 0x56a731
cmp dword [ebp + 0x54], 0x73
jne 0x56a6ff
mov eax, dword [ebp + 0x64]
inc dword [ebp + 0x64]
mov dword [ebp + 0x4c], eax
jmp 0x56a731
push dword [ebp + 0x34]
mov ecx, esi
push 4
pop eax
call fcn.0055c33b
push dword [ebp + 0x58]
mov dword [ebp + 0x4c], eax
push dword [ebp + 0x68]
mov ecx, esi
push 0x1a
pop eax
call fcn.0055c34c
push dword [ebp + 0x30]
xor eax, eax
push 0
inc eax
mov ecx, esi
call fcn.0055c34c
add esp, 0x14
mov eax, esi
call fcn.00555a93
cmp dword [ebp + 0x54], 0x71
mov dword [ebp + 8], eax
je 0x56a747
cmp dword [ebp + 0x54], 0x70
jne 0x56a759
push dword [ebp + 0x28]
mov ecx, esi
push dword [ebp + 0x2c]
push 2
pop eax
call fcn.0055c34c
pop ecx
pop ecx
mov eax, dword [ebp + 0x68]
inc eax
push eax
push 4
pop eax
mov ecx, esi
call fcn.0055c33b
push dword [ebp + 0x60]
mov ecx, esi
push dword [ebp + 0x48]
push 0x1a
pop eax
call fcn.0055c34c
push dword [ebp + 0x30]
xor eax, eax
push 0
inc eax
mov ecx, esi
call fcn.0055c34c
mov eax, dword [ebp + 0x10]
mov ecx, esi
call fcn.00555afc
push dword [ebp + 0x68]
mov ecx, esi
push 0
push 7
pop eax
call fcn.0055c34c
push dword [ebp + 0x48]
mov ecx, esi
push 0
push 7
pop eax
call fcn.0055c34c
push dword [ebp + 0x18]
mov ecx, esi
push dword [ebp + 0x34]
push 2
pop eax
call fcn.0055c34c
push dword [ebp + 4]
mov eax, dword [ebp + 0x68]
inc eax
push eax
push 2
pop eax
mov ecx, esi
call fcn.0055c34c
push dword [ebp + 0x58]
mov ecx, esi
push dword [ebp + 0x68]
push 0x1a
pop eax
call fcn.0055c34c
push dword [ebp + 0x60]
mov ecx, esi
push dword [ebp + 0x48]
push 0x1a
pop eax
call fcn.0055c34c
mov edx, dword [ebp + 0x30]
add esp, 0x44
mov ecx, esi
call fcn.005559cf
push 0xfffffffffffffff1
push dword [ebp + 0x1c]
xor eax, eax
push eax
push eax
push eax
push esi
push 0x17
pop eax
call fcn.00560b2c
push 0xfffffffffffffff0
push dword [ebp + 0x20]
push dword [ebp + 0x44]
push dword [ebp - 4]
push dword [ebp - 0x14]
push esi
push 0x18
pop eax
call fcn.00560b2c
push dword [ebp + 8]
mov ecx, esi
push dword [ebp + 0x4c]
push dword [ebp + 0x64]
push 0x19
pop eax
call fcn.0055c2b7
mov ecx, dword [ebp + 0x5c]
add esp, 0x3c
test ecx, ecx
je 0x56a859
mov edi, dword [ebp + 0x44]
mov eax, dword [ebp + 0x74]
inc edi
call fcn.00556b3c
mov edi, dword [ebp + 0x78]
mov esi, dword [ebp + 0x24]
mov ebx, eax
mov edx, dword [ebp + 0x3c]
mov ecx, esi
call fcn.005559cf
mov eax, dword [ebp + 0x7c]
cmp byte [eax], 5
mov esi, dword [ebp + 0x40]
jne 0x56a88a
mov ecx, dword [esi + 0x1c]
mov eax, esi
jmp 0x56a87a
mov eax, ecx
mov ecx, dword [eax + 0x1c]
test ecx, ecx
jne 0x56a875
push dword [eax]
push ecx
push ebx
call fcn.00566470
add esp, 0xc
mov eax, dword [edi + 0x1c]
test eax, eax
je 0x56a89c
push eax
push dword [ebp + 0x50]
call fcn.00557897
pop ecx
pop ecx
movzx eax, byte [edi + 4]
push 0
push dword [ebp + 0x14]
mov dword [edi + 0x1c], esi
push dword [ebp + 0xc]
mov edi, ebx
call fcn.00562461
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
add ebp, 0x6c
leave
ret