Function at 0x5584cb
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.0054a711
mov dword [ebp + 0x3c], eax
mov eax, edi
call fcn.0054a711
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 0x5585c6
mov eax, dword [ebp + 0x50]
cmp byte [eax + 0x1e], 0
mov dword [ebp + 0x68], 1
jne 0x5585c6
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 0x5585c6
mov eax, dword [ebx + 0xc]
xor ecx, ecx
test esi, esi
jle 0x558565
add eax, 0xe
movzx edx, word [eax]
cmp edx, dword [ebp + 0x68]
je 0x558565
inc ecx
add eax, 0x14
cmp ecx, esi
jl 0x558555
cmp ecx, esi
jne 0x5585b6
push 0x81
push dword [ebp + 0x50]
xor ecx, ecx
call fcn.0054f2eb
pop ecx
pop ecx
test eax, eax
je 0x558669
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.0054f643
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 0x558540
mov eax, esi
mov esi, dword [ebp + 0x50]
shl eax, 2
push eax
call fcn.00548035
pop ecx
xor ecx, ecx
mov dword [ebp + 0x1c], eax
cmp eax, ecx
je 0x5586c9
cmp dword [ebp + 0x44], ecx
mov edx, dword [ebx + 0xc]
jle 0x5585fd
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 0x5585ed
mov eax, dword [ebp + 0x44]
mov esi, dword [ebp + 0x50]
imul eax, eax, 5
add eax, 0x10
push eax
call fcn.00548035
pop ecx
mov ecx, eax
xor eax, eax
mov dword [ebp + 0x20], ecx
cmp ecx, eax
je 0x5586cc
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 0x5586cc
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 0x558671
mov eax, dword [esi + 0x14]
jmp 0x558692
push 7
pop eax
jmp 0x558c69
mov ecx, dword [ebp + 0x1c]
push dword [ecx + eax*4]
push edi
push dword [ebp + 0x74]
call fcn.0055848a
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 0x558650
jmp 0x5586cc
mov dword [ebp + 0x20], ecx
mov eax, dword [ebp + 0x74]
mov dword [edi + 0x18], ebx
push 0
push dword [eax]
call fcn.0054b80a
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 0x5586f8
and dword [ebp + 0x5c], 0
mov esi, dword [ebp + 0x24]
jmp 0x55878f
mov eax, dword [edi]
mov eax, dword [eax]
lea esi, [eax + 1]
mov ecx, ebx
mov dword [ebp + 0x64], eax
call fcn.00544ecb
mov esi, dword [ebp + 0x24]
push eax
push 0
mov dword [ebp + 0x5c], eax
push 7
pop eax
mov ecx, esi
call fcn.0054a6fe
mov eax, dword [ebp + 0x64]
imul eax, eax, 5
add eax, 0x10
push eax
mov eax, dword [ebp + 0x50]
call fcn.0054e57d
add esp, 0xc
mov dword [ebp + 0x58], eax
test eax, eax
je 0x55878f
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 0x55878f
add eax, 0xc
mov dword [ebp + 0x60], eax
push dword [ebp + 0x68]
push edi
push ebx
call fcn.0055848a
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 0x558763
mov eax, dword [edi + 0x18]
and dword [edi + 0x1c], 0
push str.ORDER
push edi
push ebx
call fcn.0055650a
mov eax, dword [ebp + 0x40]
add esp, 0xc
cmp dword [eax + 0x1c], 0
jne 0x5587c0
push str.ORDER
push eax
mov eax, dword [eax + 0x18]
push ebx
call fcn.0055650a
add esp, 0xc
push dword [ebp + 0x3c]
mov eax, edi
mov ecx, ebx
call fcn.00550c57
xor edx, edx
pop ecx
cmp dword [edi + 0x30], edx
je 0x55881a
cmp dword [ebp + 0x54], 0x71
jne 0x55881a
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 0x5587f6
inc eax
jmp 0x5587f9
mov eax, dword [edi + 0x30]
push ecx
push eax
push 0xe
pop eax
mov ecx, esi
call fcn.0054a6fe
push dword [ebp + 0x64]
mov ecx, esi
push dword [ebp + 0x60]
push 0xe
pop eax
call fcn.0054a6fe
add esp, 0x10
jmp 0x558820
mov dword [ebp + 0x64], edx
mov dword [ebp + 0x60], edx
push dword [edi + 0x28]
push dword [ebp + 0x50]
call fcn.0054b769
push dword [edi + 0x2c]
and dword [edi + 0x28], 0
push dword [ebp + 0x50]
call fcn.0054b769
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.00545c31
push edx
push 0xa
lea eax, [ebp - 0xc]
call fcn.00545c31
push 1
mov ecx, esi
call fcn.0054a6db
mov dword [ebp + 0x10], eax
mov eax, esi
call fcn.00543e46
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.00573593
push dword [ebp + 0x68]
mov ecx, esi
push 1
push 7
pop eax
call fcn.0054a6fe
push dword [ebp + 0x34]
mov ecx, esi
push 4
pop eax
call fcn.0054a6ed
mov eax, esi
call fcn.00543e46
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.00573593
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.0054a6fe
mov eax, dword [ebp + 0x68]
inc eax
push eax
push 4
pop eax
mov ecx, esi
call fcn.0054a6ed
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.00550da5
add esp, 0x2c
cmp dword [ebp + 0x54], 0x71
mov dword [ebp + 0x4c], eax
je 0x558952
cmp dword [ebp + 0x54], 0x70
jne 0x558974
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.00550da5
add esp, 0x20
mov dword [ebp + 0x28], eax
cmp dword [ebp + 0x54], 0x72
je 0x5589d2
cmp dword [ebp + 0x54], 0x73
je 0x5589d2
push dword [ebp + 0x3c]
mov ecx, esi
push dword [ebp + 0x48]
push 0x1a
pop eax
call fcn.0054a6fe
push dword [ebp + 0x28]
mov dword [ebp + 0x58], eax
push dword [ebp + 0x2c]
mov ecx, esi
push 2
pop eax
call fcn.0054a6fe
mov eax, dword [ebp + 0x68]
inc eax
push eax
push 4
pop eax
mov ecx, esi
call fcn.0054a6ed
push dword [ebp + 0x58]
xor eax, eax
push 0
inc eax
mov ecx, esi
call fcn.0054a6fe
mov ecx, dword [ebp + 0x40]
fld qword [ecx + 0x48]
add esp, 0x1c
fadd qword [edi + 0x48]
fstp qword [edi + 0x48]
jmp 0x5589e9
push dword [ebp + 0x3c]
xor eax, eax
push 0
inc eax
mov ecx, esi
call fcn.0054a6fe
pop ecx
pop ecx
mov ecx, dword [ebp + 0x40]
mov dword [ebp + 0x58], eax
cmp dword [ebp + 0x54], 0x73
jne 0x558a0a
fld qword [ecx + 0x48]
mov eax, dword [ebp + 0x58]
fcomp qword [edi + 0x48]
mov dword [ebp + 0x60], eax
fnstsw ax
test ah, 5
jp 0x558a4e
fld qword [ecx + 0x48]
fstp qword [edi + 0x48]
jmp 0x558a4e
push dword [ebp + 0x3c]
mov ecx, esi
push dword [ebp + 0x68]
push 0x1a
pop eax
call fcn.0054a6fe
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.0054a6fe
push dword [ebp + 0x34]
mov ecx, esi
push 4
pop eax
call fcn.0054a6ed
push dword [ebp + 0x60]
xor eax, eax
push 0
inc eax
mov ecx, esi
call fcn.0054a6fe
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.0054a6fe
push dword [ebp + 0x34]
mov dword [ebp + 0x64], eax
push 4
pop eax
mov ecx, esi
call fcn.0054a6ed
push dword [ebp + 0x58]
mov ecx, esi
push dword [ebp + 0x68]
push 0x1a
pop eax
call fcn.0054a6fe
push dword [ebp + 0x30]
xor eax, eax
push 0
inc eax
mov ecx, esi
call fcn.0054a6fe
add esp, 0x1c
cmp dword [ebp + 0x54], 0x71
jne 0x558aa0
mov eax, dword [ebp + 0x64]
mov dword [ebp + 0x4c], eax
jmp 0x558ae3
cmp dword [ebp + 0x54], 0x73
jne 0x558ab1
mov eax, dword [ebp + 0x64]
inc dword [ebp + 0x64]
mov dword [ebp + 0x4c], eax
jmp 0x558ae3
push dword [ebp + 0x34]
mov ecx, esi
push 4
pop eax
call fcn.0054a6ed
push dword [ebp + 0x58]
mov dword [ebp + 0x4c], eax
push dword [ebp + 0x68]
mov ecx, esi
push 0x1a
pop eax
call fcn.0054a6fe
push dword [ebp + 0x30]
xor eax, eax
push 0
inc eax
mov ecx, esi
call fcn.0054a6fe
add esp, 0x14
mov eax, esi
call fcn.00543e46
cmp dword [ebp + 0x54], 0x71
mov dword [ebp + 8], eax
je 0x558af9
cmp dword [ebp + 0x54], 0x70
jne 0x558b0b
push dword [ebp + 0x28]
mov ecx, esi
push dword [ebp + 0x2c]
push 2
pop eax
call fcn.0054a6fe
pop ecx
pop ecx
mov eax, dword [ebp + 0x68]
inc eax
push eax
push 4
pop eax
mov ecx, esi
call fcn.0054a6ed
push dword [ebp + 0x60]
mov ecx, esi
push dword [ebp + 0x48]
push 0x1a
pop eax
call fcn.0054a6fe
push dword [ebp + 0x30]
xor eax, eax
push 0
inc eax
mov ecx, esi
call fcn.0054a6fe
mov eax, dword [ebp + 0x10]
mov ecx, esi
call fcn.00543eaf
push dword [ebp + 0x68]
mov ecx, esi
push 0
push 7
pop eax
call fcn.0054a6fe
push dword [ebp + 0x48]
mov ecx, esi
push 0
push 7
pop eax
call fcn.0054a6fe
push dword [ebp + 0x18]
mov ecx, esi
push dword [ebp + 0x34]
push 2
pop eax
call fcn.0054a6fe
push dword [ebp + 4]
mov eax, dword [ebp + 0x68]
inc eax
push eax
push 2
pop eax
mov ecx, esi
call fcn.0054a6fe
push dword [ebp + 0x58]
mov ecx, esi
push dword [ebp + 0x68]
push 0x1a
pop eax
call fcn.0054a6fe
push dword [ebp + 0x60]
mov ecx, esi
push dword [ebp + 0x48]
push 0x1a
pop eax
call fcn.0054a6fe
mov edx, dword [ebp + 0x30]
add esp, 0x44
mov ecx, esi
call fcn.00543d82
push 0xfffffffffffffff1
push dword [ebp + 0x1c]
xor eax, eax
push eax
push eax
push eax
push esi
push 0x17
pop eax
call fcn.0054eede
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.0054eede
push dword [ebp + 8]
mov ecx, esi
push dword [ebp + 0x4c]
push dword [ebp + 0x64]
push 0x19
pop eax
call fcn.0054a669
mov ecx, dword [ebp + 0x5c]
add esp, 0x3c
test ecx, ecx
je 0x558c0b
mov edi, dword [ebp + 0x44]
mov eax, dword [ebp + 0x74]
inc edi
call fcn.00544eef
mov edi, dword [ebp + 0x78]
mov esi, dword [ebp + 0x24]
mov ebx, eax
mov edx, dword [ebp + 0x3c]
mov ecx, esi
call fcn.00543d82
mov eax, dword [ebp + 0x7c]
cmp byte [eax], 5
mov esi, dword [ebp + 0x40]
jne 0x558c3c
mov ecx, dword [esi + 0x1c]
mov eax, esi
jmp 0x558c2c
mov eax, ecx
mov ecx, dword [eax + 0x1c]
test ecx, ecx
jne 0x558c27
push dword [eax]
push ecx
push ebx
call fcn.00554822
add esp, 0xc
mov eax, dword [edi + 0x1c]
test eax, eax
je 0x558c4e
push eax
push dword [ebp + 0x50]
call fcn.00545c4a
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.00550813
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
add ebp, 0x6c
leave
ret