Function at 0x46401a
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.00456260
mov dword [ebp + 0x3c], eax
mov eax, edi
call fcn.00456260
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 0x464115
mov eax, dword [ebp + 0x50]
cmp byte [eax + 0x1e], 0
mov dword [ebp + 0x68], 1
jne 0x464115
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 0x464115
mov eax, dword [ebx + 0xc]
xor ecx, ecx
test esi, esi
jle 0x4640b4
add eax, 0xe
movzx edx, word [eax]
cmp edx, dword [ebp + 0x68]
je 0x4640b4
inc ecx
add eax, 0x14
cmp ecx, esi
jl 0x4640a4
cmp ecx, esi
jne 0x464105
push 0x81
push dword [ebp + 0x50]
xor ecx, ecx
call fcn.0045ae3a
pop ecx
pop ecx
test eax, eax
je 0x4641b8
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.0045b192
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 0x46408f
mov eax, esi
mov esi, dword [ebp + 0x50]
shl eax, 2
push eax
call fcn.00453b84
pop ecx
xor ecx, ecx
mov dword [ebp + 0x1c], eax
cmp eax, ecx
je 0x464218
cmp dword [ebp + 0x44], ecx
mov edx, dword [ebx + 0xc]
jle 0x46414c
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 0x46413c
mov eax, dword [ebp + 0x44]
mov esi, dword [ebp + 0x50]
imul eax, eax, 5
add eax, 0x10
push eax
call fcn.00453b84
pop ecx
mov ecx, eax
xor eax, eax
mov dword [ebp + 0x20], ecx
cmp ecx, eax
je 0x46421b
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 0x46421b
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 0x4641c0
mov eax, dword [esi + 0x14]
jmp 0x4641e1
push 7
pop eax
jmp 0x4647b8
mov ecx, dword [ebp + 0x1c]
push dword [ecx + eax*4]
push edi
push dword [ebp + 0x74]
call fcn.00463fd9
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 0x46419f
jmp 0x46421b
mov dword [ebp + 0x20], ecx
mov eax, dword [ebp + 0x74]
mov dword [edi + 0x18], ebx
push 0
push dword [eax]
call fcn.00457359
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 0x464247
and dword [ebp + 0x5c], 0
mov esi, dword [ebp + 0x24]
jmp 0x4642de
mov eax, dword [edi]
mov eax, dword [eax]
lea esi, [eax + 1]
mov ecx, ebx
mov dword [ebp + 0x64], eax
call fcn.00450a1a
mov esi, dword [ebp + 0x24]
push eax
push 0
mov dword [ebp + 0x5c], eax
push 7
pop eax
mov ecx, esi
call fcn.0045624d
mov eax, dword [ebp + 0x64]
imul eax, eax, 5
add eax, 0x10
push eax
mov eax, dword [ebp + 0x50]
call fcn.0045a0cc
add esp, 0xc
mov dword [ebp + 0x58], eax
test eax, eax
je 0x4642de
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 0x4642de
add eax, 0xc
mov dword [ebp + 0x60], eax
push dword [ebp + 0x68]
push edi
push ebx
call fcn.00463fd9
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 0x4642b2
mov eax, dword [edi + 0x18]
and dword [edi + 0x1c], 0
push str.ORDER
push edi
push ebx
call fcn.00462059
mov eax, dword [ebp + 0x40]
add esp, 0xc
cmp dword [eax + 0x1c], 0
jne 0x46430f
push str.ORDER
push eax
mov eax, dword [eax + 0x18]
push ebx
call fcn.00462059
add esp, 0xc
push dword [ebp + 0x3c]
mov eax, edi
mov ecx, ebx
call fcn.0045c7a6
xor edx, edx
pop ecx
cmp dword [edi + 0x30], edx
je 0x464369
cmp dword [ebp + 0x54], 0x71
jne 0x464369
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 0x464345
inc eax
jmp 0x464348
mov eax, dword [edi + 0x30]
push ecx
push eax
push 0xe
pop eax
mov ecx, esi
call fcn.0045624d
push dword [ebp + 0x64]
mov ecx, esi
push dword [ebp + 0x60]
push 0xe
pop eax
call fcn.0045624d
add esp, 0x10
jmp 0x46436f
mov dword [ebp + 0x64], edx
mov dword [ebp + 0x60], edx
push dword [edi + 0x28]
push dword [ebp + 0x50]
call fcn.004572b8
push dword [edi + 0x2c]
and dword [edi + 0x28], 0
push dword [ebp + 0x50]
call fcn.004572b8
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.00451780
push edx
push 0xa
lea eax, [ebp - 0xc]
call fcn.00451780
push 1
mov ecx, esi
call fcn.0045622a
mov dword [ebp + 0x10], eax
mov eax, esi
call fcn.0044f992
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.0047f0e0
push dword [ebp + 0x68]
mov ecx, esi
push 1
push 7
pop eax
call fcn.0045624d
push dword [ebp + 0x34]
mov ecx, esi
push 4
pop eax
call fcn.0045623c
mov eax, esi
call fcn.0044f992
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.0047f0e0
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.0045624d
mov eax, dword [ebp + 0x68]
inc eax
push eax
push 4
pop eax
mov ecx, esi
call fcn.0045623c
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.0045c8f4
add esp, 0x2c
cmp dword [ebp + 0x54], 0x71
mov dword [ebp + 0x4c], eax
je 0x4644a1
cmp dword [ebp + 0x54], 0x70
jne 0x4644c3
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.0045c8f4
add esp, 0x20
mov dword [ebp + 0x28], eax
cmp dword [ebp + 0x54], 0x72
je 0x464521
cmp dword [ebp + 0x54], 0x73
je 0x464521
push dword [ebp + 0x3c]
mov ecx, esi
push dword [ebp + 0x48]
push 0x1a
pop eax
call fcn.0045624d
push dword [ebp + 0x28]
mov dword [ebp + 0x58], eax
push dword [ebp + 0x2c]
mov ecx, esi
push 2
pop eax
call fcn.0045624d
mov eax, dword [ebp + 0x68]
inc eax
push eax
push 4
pop eax
mov ecx, esi
call fcn.0045623c
push dword [ebp + 0x58]
xor eax, eax
push 0
inc eax
mov ecx, esi
call fcn.0045624d
mov ecx, dword [ebp + 0x40]
fld qword [ecx + 0x48]
add esp, 0x1c
fadd qword [edi + 0x48]
fstp qword [edi + 0x48]
jmp 0x464538
push dword [ebp + 0x3c]
xor eax, eax
push 0
inc eax
mov ecx, esi
call fcn.0045624d
pop ecx
pop ecx
mov ecx, dword [ebp + 0x40]
mov dword [ebp + 0x58], eax
cmp dword [ebp + 0x54], 0x73
jne 0x464559
fld qword [ecx + 0x48]
mov eax, dword [ebp + 0x58]
fcomp qword [edi + 0x48]
mov dword [ebp + 0x60], eax
fnstsw ax
test ah, 5
jp 0x46459d
fld qword [ecx + 0x48]
fstp qword [edi + 0x48]
jmp 0x46459d
push dword [ebp + 0x3c]
mov ecx, esi
push dword [ebp + 0x68]
push 0x1a
pop eax
call fcn.0045624d
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.0045624d
push dword [ebp + 0x34]
mov ecx, esi
push 4
pop eax
call fcn.0045623c
push dword [ebp + 0x60]
xor eax, eax
push 0
inc eax
mov ecx, esi
call fcn.0045624d
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.0045624d
push dword [ebp + 0x34]
mov dword [ebp + 0x64], eax
push 4
pop eax
mov ecx, esi
call fcn.0045623c
push dword [ebp + 0x58]
mov ecx, esi
push dword [ebp + 0x68]
push 0x1a
pop eax
call fcn.0045624d
push dword [ebp + 0x30]
xor eax, eax
push 0
inc eax
mov ecx, esi
call fcn.0045624d
add esp, 0x1c
cmp dword [ebp + 0x54], 0x71
jne 0x4645ef
mov eax, dword [ebp + 0x64]
mov dword [ebp + 0x4c], eax
jmp 0x464632
cmp dword [ebp + 0x54], 0x73
jne 0x464600
mov eax, dword [ebp + 0x64]
inc dword [ebp + 0x64]
mov dword [ebp + 0x4c], eax
jmp 0x464632
push dword [ebp + 0x34]
mov ecx, esi
push 4
pop eax
call fcn.0045623c
push dword [ebp + 0x58]
mov dword [ebp + 0x4c], eax
push dword [ebp + 0x68]
mov ecx, esi
push 0x1a
pop eax
call fcn.0045624d
push dword [ebp + 0x30]
xor eax, eax
push 0
inc eax
mov ecx, esi
call fcn.0045624d
add esp, 0x14
mov eax, esi
call fcn.0044f992
cmp dword [ebp + 0x54], 0x71
mov dword [ebp + 8], eax
je 0x464648
cmp dword [ebp + 0x54], 0x70
jne 0x46465a
push dword [ebp + 0x28]
mov ecx, esi
push dword [ebp + 0x2c]
push 2
pop eax
call fcn.0045624d
pop ecx
pop ecx
mov eax, dword [ebp + 0x68]
inc eax
push eax
push 4
pop eax
mov ecx, esi
call fcn.0045623c
push dword [ebp + 0x60]
mov ecx, esi
push dword [ebp + 0x48]
push 0x1a
pop eax
call fcn.0045624d
push dword [ebp + 0x30]
xor eax, eax
push 0
inc eax
mov ecx, esi
call fcn.0045624d
mov eax, dword [ebp + 0x10]
mov ecx, esi
call fcn.0044f9fb
push dword [ebp + 0x68]
mov ecx, esi
push 0
push 7
pop eax
call fcn.0045624d
push dword [ebp + 0x48]
mov ecx, esi
push 0
push 7
pop eax
call fcn.0045624d
push dword [ebp + 0x18]
mov ecx, esi
push dword [ebp + 0x34]
push 2
pop eax
call fcn.0045624d
push dword [ebp + 4]
mov eax, dword [ebp + 0x68]
inc eax
push eax
push 2
pop eax
mov ecx, esi
call fcn.0045624d
push dword [ebp + 0x58]
mov ecx, esi
push dword [ebp + 0x68]
push 0x1a
pop eax
call fcn.0045624d
push dword [ebp + 0x60]
mov ecx, esi
push dword [ebp + 0x48]
push 0x1a
pop eax
call fcn.0045624d
mov edx, dword [ebp + 0x30]
add esp, 0x44
mov ecx, esi
call fcn.0044f8ce
push 0xfffffffffffffff1
push dword [ebp + 0x1c]
xor eax, eax
push eax
push eax
push eax
push esi
push 0x17
pop eax
call fcn.0045aa2d
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.0045aa2d
push dword [ebp + 8]
mov ecx, esi
push dword [ebp + 0x4c]
push dword [ebp + 0x64]
push 0x19
pop eax
call fcn.004561b8
mov ecx, dword [ebp + 0x5c]
add esp, 0x3c
test ecx, ecx
je 0x46475a
mov edi, dword [ebp + 0x44]
mov eax, dword [ebp + 0x74]
inc edi
call fcn.00450a3e
mov edi, dword [ebp + 0x78]
mov esi, dword [ebp + 0x24]
mov ebx, eax
mov edx, dword [ebp + 0x3c]
mov ecx, esi
call fcn.0044f8ce
mov eax, dword [ebp + 0x7c]
cmp byte [eax], 5
mov esi, dword [ebp + 0x40]
jne 0x46478b
mov ecx, dword [esi + 0x1c]
mov eax, esi
jmp 0x46477b
mov eax, ecx
mov ecx, dword [eax + 0x1c]
test ecx, ecx
jne 0x464776
push dword [eax]
push ecx
push ebx
call fcn.00460371
add esp, 0xc
mov eax, dword [edi + 0x1c]
test eax, eax
je 0x46479d
push eax
push dword [ebp + 0x50]
call fcn.00451799
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.0045c362
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
add ebp, 0x6c
leave
ret