Function at 0x28c65c4
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc4
xor eax, eax
mov dword [ebp - 0x38], ecx
push ebx
mov dword [ebp - 0x80], eax
lea ebx, [ecx + 0x2f0]
mov dword [ebp - 0x5c], eax
lea eax, [ecx + 0x50]
push esi
mov dword [ebp - 0x6c], eax
push edi
mov edi, dword [ecx]
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x78], edi
mov eax, dword [edi]
mov dword [ebp - 0x64], eax
mov esi, dword [edi + 8]
imul eax, edx, 0x50
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x1c], esi
add ebx, eax
mov dword [ebp - 0x3c], ebx
mov eax, dword [ebx + 0x40]
mov dword [ebp - 0x2c], eax
movzx eax, byte [ebx + 0x2c]
imul ecx, eax, 0x50
mov eax, dword [edx + 4]
add eax, 8
add eax, ecx
lea ecx, [edx + 0x1e8]
mov dword [ebp - 0x10], eax
mov eax, dword [eax + 0x30]
mov edx, eax
mov dword [ebp - 0x28], eax
call fcn.028c93b0
mov ecx, dword [ebp - 0x38]
not eax
and eax, dword [ebp + 8]
not edx
and edx, dword [ebp + 0xc]
mov dword [ebx + 0x48], eax
mov dword [ebx + 0x4c], edx
mov eax, dword [ecx + 0x40]
mov edx, dword [ecx + 0x44]
mov ecx, dword [ebp - 0x4c]
call fcn.028f4b50
mov ecx, dword [ebp - 0x2c]
xor edx, edx
inc edx
and eax, edx
mov dword [ebp - 0x30], eax
test byte [ecx + 0x24], 0x40
je 0x28c6672
mov eax, dword [ebp - 0x38]
push 0x20
pop ecx
test byte [eax + 0x2c], cl
jne 0x28c6672
mov dword [ebp - 4], edx
jmp 0x28c6676
and dword [ebp - 4], 0
mov ecx, esi
call fcn.0289935e
mov ecx, esi
mov dword [ebp - 0x58], eax
mov dword [ebx + 0x10], eax
mov dword [ebx + 0xc], eax
call fcn.0289935e
cmp byte [ebx + 0x2c], 0
mov dword [ebp - 0x7c], eax
mov dword [ebx + 0x18], eax
jbe 0x28c66ba
mov ecx, dword [ebp - 0x10]
test byte [ecx + 0x24], 8
je 0x28c66ba
mov eax, dword [edi + 0x2c]
mov ecx, esi
inc eax
push eax
push 0
push 0x38
mov dword [edi + 0x2c], eax
pop edx
mov dword [ebx], eax
call fcn.02899192
pop ecx
pop ecx
mov ecx, dword [ebp - 0x4c]
mov eax, ecx
test ecx, ecx
jle 0x28c66d5
mov edx, ebx
xor ecx, ecx
cmp dword [edx], ecx
jne 0x28c66d7
dec eax
sub edx, 0x50
test eax, eax
jg 0x28c66c7
jmp 0x28c66d7
xor ecx, ecx
mov edx, dword [ebp - 0x38]
imul eax, eax, 0x50
mov eax, dword [eax + edx + 0x2fc]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x10]
mov edx, dword [eax + 0x28]
mov dword [ebp - 0x70], edx
test dl, 0x10
je 0x28c6726
push dword [eax + 0x18]
mov esi, dword [eax + 0x1c]
push ecx
mov ecx, dword [ebp - 0x1c]
push esi
push 0xf
pop edx
call fcn.0289910e
mov ecx, dword [ebp - 0x1c]
add esp, 0xc
push dword [ebp - 0x58]
push esi
push 0x10
pop edx
call fcn.02899192
mov dword [ebx + 0x34], eax
mov byte [ebx + 0x2d], 0xd
jmp 0x28c771d
mov eax, dword [ebp - 0x2c]
mov edx, dword [eax + 0x24]
test edx, 0x400
je 0x28c692c
movzx eax, word [eax + 0x28]
mov ecx, edi
mov dword [ebp - 0x20], eax
call fcn.028a949e
lea edx, [eax + 2]
call fcn.028ab45d
mov ecx, eax
xor esi, esi
mov eax, dword [ebx + 0xc]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
cmp dword [ebp - 0x20], esi
jle 0x28c67b0
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 0x30]
mov edx, dword [eax + esi*4]
test edx, edx
je 0x28c67aa
xor eax, eax
inc eax
test byte [edx + 0xc], al
je 0x28c6792
lea eax, [ecx + 2]
mov ecx, edi
add eax, esi
push eax
push dword [ebp - 0x30]
push esi
push ebx
call fcn.028c5d87
mov eax, dword [ebx + 0x10]
add esp, 0x10
mov dword [ebp - 4], eax
jmp 0x28c67a7
mov edx, dword [edx]
push eax
lea eax, [ecx + 2]
mov ecx, edi
add eax, esi
mov edx, dword [edx + 0x10]
push eax
call fcn.028c6475
pop ecx
pop ecx
mov ecx, dword [ebp - 8]
inc esi
cmp esi, dword [ebp - 0x20]
jl 0x28c6760
mov eax, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x1c]
push ecx
mov ecx, esi
push dword [eax + 0x18]
push 0x38
pop edx
call fcn.02899192
mov eax, dword [ebp - 8]
mov ecx, esi
inc eax
push eax
push dword [ebp - 0x20]
push 0x38
pop edx
call fcn.02899192
mov ecx, dword [ebp - 0x2c]
or eax, 0xffffffff
push 0xfffffffffffffff9
pop edx
cmp byte [ecx + 0x1c], 0
cmovne eax, edx
push eax
push dword [ecx + 0x20]
mov ecx, esi
push dword [ebp - 8]
push dword [ebp - 4]
push dword [ebp - 0x28]
push 0xb
pop edx
call fcn.02899258
mov edx, dword [ebp - 0x2c]
add esp, 0x24
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x38]
mov byte [edx + 0x1c], 0
mov dword [ebx + 0x30], eax
cmp byte [ecx + 0x31], 0
push 0x32
pop eax
lea ecx, [eax + 0x74]
cmovne eax, ecx
mov ecx, esi
mov byte [ebx + 0x2d], al
call fcn.0289950e
mov ecx, dword [ebp - 0x20]
dec ecx
mov dword [ebx + 0x34], eax
mov dword [ebp - 0x18], ecx
js 0x28c6920
imul eax, dword [ebx + 0x38], 0xc
mov dword [ebp - 4], eax
mov eax, dword [edx + 0x30]
mov edx, dword [eax + ecx*4]
mov dword [ebp - 0xc], edx
cmp ecx, 0x10
jge 0x28c686c
mov eax, dword [ebp - 0x2c]
mov ax, word [eax + 0x1e]
shr ax, cl
xor ecx, ecx
inc ecx
test cl, al
je 0x28c6869
mov ecx, ebx
call fcn.028c5c70
jmp 0x28c6910
mov ecx, dword [ebp - 0x18]
xor eax, eax
inc eax
test byte [edx + 0xc], al
je 0x28c6913
mov eax, dword [ebp - 0x64]
cmp byte [eax + 0x45], 0
jne 0x28c68ac
mov eax, dword [ebp - 4]
mov ecx, esi
mov edx, dword [ebx + 0x3c]
sub eax, 0xc
mov dword [ebp - 4], eax
mov edx, dword [edx + eax + 4]
call fcn.02899912
push dword [eax + 0xc]
movzx edx, byte [eax]
push dword [eax + 8]
push dword [eax + 4]
call fcn.0289910e
add esp, 0xc
xor eax, eax
mov ecx, edi
push eax
push eax
push 0x4e
pop edx
call fcn.028a7154
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x28c690d
mov ecx, dword [ebp - 0xc]
mov edx, 0x9d
push 0
mov ecx, dword [ecx]
mov ecx, dword [ecx + 0xc]
mov dword [esi + 0xc], ecx
mov ecx, dword [ebp - 0x64]
call fcn.028a70c9
mov dword [esi + 0x10], eax
pop ecx
test eax, eax
je 0x28c68ff
mov ecx, dword [ebp - 0x18]
add ecx, 2
add ecx, dword [ebp - 8]
push 0
mov dword [eax + 0x1c], ecx
push dword [ebx + 0x18]
push esi
push edi
call fcn.028aa9f2
add esp, 0x10
mov ecx, dword [ebp - 0x64]
mov edx, esi
and dword [esi + 0xc], 0
call fcn.028a74e2
mov esi, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x2c]
dec ecx
mov dword [ebp - 0x18], ecx
jns 0x28c683e
mov ecx, edi
call fcn.028a94a2
jmp 0x28c771f
mov eax, edx
and eax, 0x100
je 0x28c69a9
test dl, 5
je 0x28c69a9
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 0x30]
mov edx, dword [eax]
inc dword [edi + 0x2c]
mov eax, dword [edi + 0x2c]
push eax
push dword [ebp - 0x30]
mov dword [ebp - 0xc], eax
push ecx
push ebx
mov ecx, edi
call fcn.028c5d87
mov edx, dword [ebp - 0xc]
add esp, 0x10
mov dword [ebp - 4], eax
cmp eax, edx
je 0x28c696f
mov ecx, edi
call fcn.028ab41a
mov eax, dword [ebp - 4]
push eax
push dword [ebx + 0x10]
mov ecx, esi
push dword [ebp - 0x28]
push 0x1f
pop edx
call fcn.0289910e
mov esi, dword [ebp - 4]
add esp, 0xc
xor eax, eax
mov edx, esi
inc eax
mov ecx, edi
push eax
call fcn.028a96ff
mov edx, dword [ebp - 0x28]
pop ecx
push esi
push 0xffffffffffffffff
mov ecx, edi
call fcn.028a93d8
add esp, 8
jmp 0x28c76e9
test eax, eax
je 0x28c6bbd
test dl, 2
je 0x28c6bbd
push 0x20
pop eax
mov dword [ebp - 0x20], 0xa6
mov esi, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 0x18], ecx
test al, dl
je 0x28c69e2
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 0x30]
mov esi, dword [eax]
xor eax, eax
lea ecx, [eax + 1]
jmp 0x28c69e5
mov ecx, dword [ebp - 4]
test dl, 0x10
je 0x28c69f8
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 0x30]
mov ecx, dword [eax + ecx*4]
mov dword [ebp - 0x18], ecx
jmp 0x28c69fb
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x28c6a07
mov dword [ebp - 0x18], esi
mov esi, ecx
test esi, esi
je 0x28c6ab5
mov edx, dword [esi]
mov dword [ebp - 8], 0x1a18191b
mov dword [ebp - 4], edx
mov ecx, dword [edx + 0x10]
call fcn.028a6c26
mov ecx, edi
test eax, eax
je 0x28c6a5a
call fcn.028ab3fb
mov edx, dword [edx + 0x10]
xor ecx, ecx
inc ecx
mov dword [ebp - 0xc], eax
push ecx
push eax
mov ecx, edi
mov dword [ebp - 0x3c], eax
call fcn.028c6475
mov edx, dword [ebp - 4]
xor eax, eax
pop ecx
pop ecx
inc eax
movzx ecx, byte [edx]
sub ecx, 0x4f
or ecx, eax
movzx edx, byte [ebp + ecx - 8]
jmp 0x28c6a84
mov edx, dword [edx + 0x10]
lea eax, [ebp - 0x4c]
push eax
call fcn.028aa42e
pop ecx
mov edx, esi
mov dword [ebp - 0x3c], eax
mov ecx, ebx
call fcn.028c5c70
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0xc], eax
movzx ecx, byte [edx]
movzx edx, byte [ebp + ecx - 0x57]
push dword [ebp - 0x3c]
mov esi, dword [ebp - 0x1c]
mov ecx, esi
push dword [ebp - 0x58]
push dword [ebp - 0x28]
call fcn.0289910e
mov edx, dword [ebp - 0x3c]
add esp, 0xc
xor eax, eax
mov ecx, edi
inc eax
push eax
call fcn.028a96ff
mov edx, dword [ebp - 0xc]
pop ecx
mov ecx, edi
call fcn.028ab41a
jmp 0x28c6ad2
push dword [ebp - 0xc]
mov esi, dword [ebp - 0x1c]
test eax, eax
push dword [ebp - 0x28]
push 0x25
pop edx
push 0x21
pop ecx
cmovne edx, ecx
mov ecx, esi
call fcn.02899192
pop ecx
pop ecx
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x28c6b4e
mov eax, dword [eax]
xor edx, edx
inc dword [edi + 0x2c]
inc edx
mov ecx, dword [edi + 0x2c]
push edx
mov edx, dword [eax + 0x10]
mov dword [ebp - 0x10], ecx
push ecx
mov ecx, edi
mov dword [ebp - 4], eax
call fcn.028c6475
mov edx, dword [ebp - 4]
pop ecx
pop ecx
mov eax, dword [edx + 0x10]
mov ecx, eax
mov dword [ebp - 4], eax
call fcn.028a6c26
test eax, eax
jne 0x28c6b28
mov al, byte [edx]
cmp al, 0x51
je 0x28c6b16
cmp al, 0x4f
jne 0x28c6b28
cmp dword [ebp - 0x30], 0
push 0x52
pop edx
push 0x50
pop eax
cmovne edx, eax
mov dword [ebp - 0x20], edx
jmp 0x28c6b38
cmp dword [ebp - 0x30], 0
push 0x4f
pop eax
push 0x51
pop ecx
cmovne eax, ecx
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 4]
call fcn.028a6c26
test eax, eax
jne 0x28c6b4e
mov edx, dword [ebp - 0x18]
mov ecx, ebx
call fcn.028c5c70
mov ecx, esi
call fcn.0289950e
cmp dword [ebp - 0x30], 0
mov dword [ebx + 0x34], eax
sete cl
add cl, 6
cmp dword [ebp - 0x20], 0xa6
mov byte [ebx + 0x2d], cl
mov ecx, dword [ebp - 0x28]
mov dword [ebx + 0x30], ecx
je 0x28c771f
inc dword [edi + 0x2c]
mov esi, dword [edi + 0x2c]
push esi
push ecx
mov ecx, dword [ebp - 0x1c]
push 0x7b
pop edx
call fcn.02899192
mov edx, dword [ebp - 0x28]
mov ecx, edi
push esi
push 0xffffffffffffffff
call fcn.028a93d8
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
push esi
push dword [ebp - 0x58]
push dword [ebp - 0x10]
call fcn.0289910e
mov ecx, dword [ebp - 0x1c]
add esp, 0x1c
push 0x53
pop edx
call fcn.0289962b
jmp 0x28c771f
test edx, 0x200
je 0x28c71bc
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x24], ecx
movzx esi, word [eax + 0x18]
mov dword [ebp - 8], esi
movzx esi, word [eax + 0x1a]
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x58], ecx
mov byte [ebp - 0x11], cl
mov byte [ebp - 0x5d], cl
mov ecx, dword [eax + 0x20]
movzx esi, si
mov dword [ebp - 0x5c], ecx
mov ecx, dword [ebx + 8]
mov dword [ebp - 0x20], esi
movzx esi, word [eax + 0x1c]
mov dword [ebp - 0x40], ecx
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x4c], esi
movzx esi, si
mov dword [ebp - 0x54], esi
test byte [ecx + 0x2c], 1
mov esi, dword [ebp - 0x1c]
je 0x28c6c39
cmp byte [ecx + 0x2f], 0
mov ecx, dword [ebp - 8]
jle 0x28c6c3c
mov esi, dword [ebp - 0x5c]
cmp word [esi + 0x32], cx
mov esi, dword [ebp - 0x1c]
jbe 0x28c6c3c
mov byte [ebp - 0x11], 1
mov dword [ebp - 0x24], 1
jmp 0x28c6c3c
mov ecx, dword [ebp - 8]
movzx ecx, cx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x10], ecx
test dl, 0x20
je 0x28c6c75
mov eax, dword [eax + 0x30]
mov edi, ecx
mov eax, dword [eax + edi*4]
inc edi
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0xc]
movzx eax, ax
mov dword [ebp - 0x10], edi
mov edi, dword [ebp - 0x24]
cmp edi, eax
cmovle edi, eax
mov eax, edi
mov dword [ebp - 0x24], edi
mov edi, dword [ebp - 0x78]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x2c]
test dl, 0x10
je 0x28c6d1e
mov eax, dword [eax + 0x30]
mov edx, dword [ebp - 0x10]
mov eax, dword [eax + edx*4]
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x4c]
movzx eax, ax
cmp edx, eax
cmovle edx, eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x24], edx
mov edx, 0x100
test word [eax + 0xa], dx
je 0x28c6ceb
mov eax, dword [edi + 0x2c]
mov ecx, esi
inc eax
push eax
mov dword [edi + 0x2c], eax
mov dword [ebx + 0x24], eax
xor eax, eax
inc eax
push eax
push 0x38
pop edx
call fcn.02899192
pop ecx
pop ecx
mov ecx, esi
call fcn.0289950e
shl dword [ebx + 0x24], 1
xor ecx, ecx
mov edx, dword [ebp - 0x34]
mov dword [ebx + 0x28], eax
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x1c]
cmp byte [edx + eax], 1
sete cl
xor ecx, dword [ebp - 0x30]
or dword [ebx + 0x24], ecx
mov ecx, edx
cmp dword [ebp - 0x48], 0
jne 0x28c6d1e
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 4]
movsx edx, word [eax + ecx*2]
test edx, edx
js 0x28c6d13
mov eax, dword [ebp - 0x5c]
mov ecx, edx
add ecx, ecx
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 4]
cmp byte [eax + ecx*8 + 0xc], 0
je 0x28c6d18
cmp edx, 0xfffffffe
jne 0x28c6d1e
xor eax, eax
inc eax
mov byte [ebp - 0x11], al
mov edx, dword [ebp - 0x5c]
mov ecx, dword [ebp - 8]
movzx eax, word [edx + 0x32]
mov dword [ebp - 0xc], eax
cmp cx, ax
jae 0x28c6d4d
mov eax, dword [edx + 0x1c]
xor ecx, ecx
mov edx, dword [ebp - 0x34]
cmp byte [edx + eax], cl
mov edx, dword [ebp - 0x30]
sete cl
cmp edx, ecx
je 0x28c6d59
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
jmp 0x28c6d50
mov edx, dword [ebp - 0x30]
test edx, edx
je 0x28c6d84
cmp ax, cx
jne 0x28c6d84
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x48]
mov esi, dword [ebp - 0x54]
mov dword [ebp - 0x48], eax
mov al, byte [ebp - 0x11]
mov byte [ebp - 0x5d], al
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x50], ecx
movzx ecx, si
mov esi, dword [ebp - 0x1c]
movzx eax, al
mov byte [ebp - 0x11], 0
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x68]
mov ecx, edi
push eax
push dword [ebp - 0x24]
push edx
mov edx, ebx
call fcn.028c61a2
mov ecx, dword [ebp - 0x68]
add esp, 0xc
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x28c6dba
cmp word [ebp - 0x54], 0
je 0x28c6dba
mov edx, dword [ebp - 0x34]
lea edx, [edx + ecx]
mov ecx, dword [ebp - 0x64]
call fcn.02882789
mov dword [ebp - 0x58], eax
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x48]
test eax, eax
je 0x28c6dd4
test byte [eax + 0xc], 0x28
jne 0x28c6dd4
xor ecx, ecx
mov dword [ebp - 0x44], ecx
jmp 0x28c6ddc
xor ecx, ecx
inc ecx
mov dword [ebp - 0x44], ecx
xor ecx, ecx
mov edx, dword [ebp - 0x50]
test edx, edx
je 0x28c6df1
test byte [edx + 0xc], 0x28
jne 0x28c6df1
xor edx, edx
mov dword [ebp - 0x10], ecx
inc edx
jmp 0x28c6df7
xor edx, edx
inc edx
mov dword [ebp - 0x10], edx
test eax, eax
jne 0x28c6e04
mov dword [ebp - 0xc], ecx
cmp word [ebp - 8], ax
jbe 0x28c6e07
mov dword [ebp - 0xc], edx
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x24], edx
test eax, eax
je 0x28c6eab
mov eax, dword [eax]
mov ecx, dword [ebp - 0x20]
add edx, dword [ebp - 0x18]
movzx ecx, cx
mov eax, dword [eax + 0x10]
push ecx
mov dword [ebp - 0x74], edx
mov ecx, edi
push edx
mov edx, eax
mov dword [ebp - 8], eax
call fcn.028c6475
push dword [ebp - 0x48]
mov esi, dword [ebp - 0x1c]
mov edx, ebx
mov ecx, esi
call fcn.028c6393
mov ecx, dword [ebp - 8]
add esp, 0xc
call fcn.028a813b
test eax, eax
je 0x28c6e64
push dword [ebp - 0x4c]
mov ecx, esi
push dword [ebp - 0x74]
push 0x4b
pop edx
call fcn.02899192
pop ecx
pop ecx
mov ecx, dword [ebp - 0x68]
test ecx, ecx
je 0x28c6e80
mov eax, dword [ebp - 0x34]
add eax, ecx
mov ecx, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0x20]
movzx edx, ax
call fcn.028c5d33
pop ecx
mov ecx, dword [ebp - 0x20]
movzx eax, cx
mov ecx, dword [ebp - 8]
add dword [ebp - 0x24], eax
call fcn.028a6c26
test eax, eax
jne 0x28c6ea1
mov edx, dword [ebp - 0x48]
mov ecx, ebx
call fcn.028c5c70
jmp 0x28c6ea7
xor eax, eax
inc eax
mov dword [ebp - 0x44], eax
xor al, al
jmp 0x28c6ed5
mov al, byte [ebp - 0x11]
test al, al
je 0x28c6ed5
mov eax, dword [ebp - 0x18]
add eax, edx
push eax
push ecx
push 0x3b
pop edx
mov ecx, esi
call fcn.02899192
inc dword [ebp - 0x24]
xor eax, eax
and dword [ebp - 0x44], 0
inc eax
pop ecx
mov dword [ebp - 0xc], eax
mov al, byte [ebp - 0x11]
pop ecx
mov ecx, dword [ebp - 0x24]
push dword [ebp - 0x68]
mov edx, dword [ebp - 0x18]
movzx eax, al
sub ecx, eax
push ecx
mov ecx, edi
call fcn.028c5cd8
mov eax, dword [ebp - 0x2c]
pop ecx
pop ecx
movzx eax, word [eax + 0x2a]
test ax, ax
je 0x28c6efe
cmp dword [ebp - 0x24], eax
je 0x28c6f28
mov ecx, dword [ebp - 0x44]
push dword [ebp - 0x24]
mov eax, dword [ebp - 0xc]
push dword [ebp - 0x18]
push dword [ebp - 0x4c]
lea eax, [ecx + eax*2]
mov ecx, dword [ebp - 0x30]
push dword [ebp - 0x40]
movzx edx, byte [ecx + eax*2 + 0x4a68f8]
mov ecx, esi
call fcn.0289930f
add esp, 0x10
mov eax, dword [ebp - 0x50]
test eax, eax
je 0x28c6fe9
mov eax, dword [eax]
xor ecx, ecx
inc ecx
push ecx
mov ecx, edi
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x34]
add eax, dword [ebp - 0x18]
mov edx, eax
mov dword [ebp - 0xc], eax
call fcn.028a9460
mov eax, dword [ebp - 0x54]
mov edx, dword [ebp - 0x44]
pop ecx
movzx eax, ax
mov ecx, edi
push eax
push dword [ebp - 0xc]
call fcn.028c6475
push dword [ebp - 0x50]
mov edx, ebx
mov ecx, esi
call fcn.028c6393
mov ecx, dword [ebp - 0x44]
add esp, 0xc
call fcn.028a813b
test eax, eax
je 0x28c6f93
push dword [ebp - 0x4c]
mov ecx, esi
push dword [ebp - 0xc]
push 0x4b
pop edx
call fcn.02899192
pop ecx
pop ecx
mov eax, dword [ebp - 0x58]
test eax, eax
je 0x28c6fc0
mov ecx, dword [ebp - 0x44]
push eax
mov eax, dword [ebp - 0x54]
movzx edx, ax
call fcn.028c5d33
mov edx, dword [ebp - 0xc]
pop ecx
mov ecx, dword [ebp - 0x54]
push dword [ebp - 0x58]
movzx eax, cx
mov ecx, edi
push eax
call fcn.028c5cd8
pop ecx
pop ecx
mov ecx, dword [ebp - 0x54]
movzx eax, cx
mov ecx, dword [ebp - 0x44]
add dword [ebp - 0x34], eax
call fcn.028a6c26
test eax, eax
jne 0x28c6fe1
mov edx, dword [ebp - 0x50]
mov ecx, ebx
call fcn.028c5c70
jmp 0x28c700b
xor eax, eax
inc eax
mov dword [ebp - 0x10], eax
jmp 0x28c700b
cmp byte [ebp - 0x5d], 0
je 0x28c700b
mov eax, dword [ebp - 0x34]
mov ecx, esi
add eax, dword [ebp - 0x18]
push eax
push 0
push 0x3b
pop edx
call fcn.02899192
and dword [ebp - 0x10], 0
inc dword [ebp - 0x34]
pop ecx
pop ecx
mov edx, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x64]
call fcn.02882404
mov edx, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x64]
call fcn.02882404
mov ecx, esi
call fcn.0289950e
mov dword [ebx + 0x34], eax
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x28c7054
mov ecx, dword [ebp - 0x30]
push eax
push dword [ebp - 0x18]
mov eax, dword [ebp - 0x10]
push dword [ebp - 0x4c]
push dword [ebp - 0x40]
movzx edx, byte [eax + ecx*2 + 0x4a8f0c]
mov ecx, esi
call fcn.0289930f
add esp, 0x10
cmp dword [ebp - 4], 0
jne 0x28c715e
mov edx, dword [ebp - 0x5c]
push 0x20
pop eax
mov ecx, dword [edx + 0xc]
test byte [ecx + 0x24], al
jne 0x28c70dc
mov ecx, dword [ebp - 0x38]
mov esi, 0x400
movzx eax, word [ecx + 0x2c]
test esi, eax
jne 0x28c709d
test eax, 0x1000
je 0x28c708b
xor eax, eax
inc eax
cmp byte [ecx + 0x31], al
je 0x28c709d
push dword [ebp - 0x40]
push dword [ebp - 0x28]
call fcn.028c63c7
pop ecx
pop ecx
jmp 0x28c715e
inc dword [edi + 0x2c]
mov edx, 0x81
mov esi, dword [edi + 0x2c]
mov ecx, dword [ebp - 0x1c]
push esi
push dword [ebp - 0x40]
call fcn.02899192
mov edx, dword [ebp - 0x28]
mov ecx, edi
push esi
push 0xffffffffffffffff
call fcn.028a93d8
mov ecx, dword [ebp - 0x1c]
push esi
push 0
push dword [ebp - 0x28]
push 0x20
pop eax
mov edx, eax
call fcn.0289910e
add esp, 0x1c
jmp 0x28c715e
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 0x40]
je 0x28c715e
call fcn.028ae23e
mov ecx, edi
mov dword [ebp - 0xc], eax
movzx edx, word [eax + 0x32]
call fcn.028ab45d
mov ecx, eax
xor edx, edx
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], ecx
cmp dx, word [eax + 0x32]
jae 0x28c7145
mov ebx, eax
xor edi, edi
lea eax, [edi + ecx]
mov ecx, dword [ebp - 0x5c]
push eax
mov eax, dword [ebx + 4]
mov dx, word [eax + edi*2]
call fcn.028ae256
cwde
mov ecx, esi
push eax
push dword [ebp - 0x40]
push 0x60
pop edx
call fcn.0289910e
movzx eax, word [ebx + 0x32]
add esp, 0xc
mov ecx, dword [ebp - 0x10]
inc edi
cmp edi, eax
jl 0x28c710b
mov ebx, dword [ebp - 0x3c]
mov edi, dword [ebp - 0x78]
mov eax, dword [ebp - 0xc]
movzx eax, word [eax + 0x32]
push eax
push ecx
push dword [ebp - 0x7c]
mov ecx, esi
push dword [ebp - 0x28]
push 0x1d
pop edx
call fcn.0289930f
add esp, 0x10
push dword [ebp - 0x38]
mov edx, dword [ebp - 0x28]
push dword [ebp - 0x40]
mov ecx, dword [ebp - 0x5c]
call fcn.028c6531
pop ecx
pop ecx
mov ecx, dword [ebp - 0x2c]
test dword [ecx + 0x24], 0x1000
je 0x28c7183
mov byte [ebx + 0x2d], 0xa6
jmp 0x28c718f
cmp dword [ebp - 0x30], 0
sete al
add al, 6
mov byte [ebx + 0x2d], al
mov eax, dword [ebp - 0x40]
xor edx, edx
mov dword [ebx + 0x30], eax
inc edx
mov al, byte [ecx + 0x26]
and al, dl
mov byte [ebx + 0x2e], al
test byte [ecx + 0x24], 0xf
jne 0x28c71a9
mov byte [ebx + 0x2f], dl
cmp dword [ebp - 4], 0
je 0x28c771f
and dword [ebp - 0x5c], 0
jmp 0x28c771f
test edx, 0x2000
je 0x28c76e1
mov eax, dword [edi + 0x28]
mov dword [ebp - 0x34], eax
inc eax
inc dword [edi + 0x2c]
mov dword [ebp - 0x50], ecx
mov dword [edi + 0x28], eax
mov eax, dword [edi + 0x2c]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x58], ecx
mov ecx, esi
mov dword [ebp - 0xc], eax
call fcn.0289935e
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x30], eax
xor eax, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x48], eax
mov edx, dword [ecx + 0x10]
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x54], edx
mov ecx, dword [ecx + 0x30]
mov ecx, dword [ecx]
mov dword [ebp - 0x2c], ecx
mov ecx, dword [ecx + 0x1c]
mov dword [ebp - 0x68], ecx
mov ecx, dword [ebp - 0xc]
mov dword [ebx + 0x30], ecx
mov ecx, dword [ebp - 0x38]
mov byte [ebx + 0x2d], 0x34
mov cl, byte [ecx + 0x2e]
cmp cl, 1
jbe 0x28c72f4
movzx ecx, cl
sub ecx, dword [ebp - 0x4c]
dec ecx
mov dword [ebp - 4], ecx
imul ecx, ecx, 0x50
push eax
add ecx, 0x58
push ecx
mov ecx, dword [ebp - 0x64]
call fcn.0288260a
pop ecx
pop ecx
mov ecx, eax
mov dword [ebp - 0x40], ecx
test ecx, ecx
jne 0x28c7259
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
jmp 0x28c7966
mov al, byte [ebp - 4]
inc al
movzx eax, al
push 0x50
mov dword [ecx + 4], eax
mov dword [ecx], eax
pop eax
push eax
push dword [ebp - 0x10]
lea eax, [ecx + 8]
push eax
call fcn.028dac70
mov eax, dword [ebp - 0x38]
add esp, 0xc
mov ecx, dword [eax + 4]
xor eax, eax
add ecx, 8
inc eax
mov dword [ebp - 0x74], ecx
cmp dword [ebp - 4], eax
jl 0x28c72c5
mov esi, dword [ebp - 0x40]
lea edi, [ebx + 0x7c]
mov ebx, dword [ebp - 4]
add esi, 0x58
push 0x50
pop eax
push eax
movzx eax, byte [edi]
imul eax, eax, 0x50
add eax, ecx
push eax
push esi
call fcn.028dac70
mov ecx, dword [ebp - 0x74]
add esp, 0xc
push 0x50
pop eax
add edi, eax
add esi, eax
dec ebx
jne 0x28c729c
mov ebx, dword [ebp - 0x3c]
mov edi, dword [ebp - 0x78]
mov esi, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x54]
xor eax, eax
mov ecx, dword [ebp - 0x38]
test byte [ecx + 0x2c], 0x10
jne 0x28c733c
push 0x20
pop ecx
test byte [edx + 0x24], cl
jne 0x28c72ff
inc dword [edi + 0x2c]
mov ecx, dword [edi + 0x2c]
push ecx
push eax
mov dword [ebp - 0x20], ecx
mov ecx, esi
push 0x3b
pop edx
call fcn.02899192
pop ecx
pop ecx
jmp 0x28c7333
mov ecx, dword [ebp - 0x38]
mov ecx, dword [ecx + 4]
mov dword [ebp - 0x40], ecx
jmp 0x28c72ca
mov ecx, edx
call fcn.028ae23e
mov esi, eax
mov eax, dword [edi + 0x28]
mov dword [ebp - 0x20], eax
lea ecx, [eax + 1]
mov dword [edi + 0x28], ecx
movzx ecx, word [esi + 0x32]
push ecx
mov ecx, dword [ebp - 0x1c]
push eax
push 0x6c
pop edx
call fcn.02899192
pop ecx
pop ecx
mov edx, esi
mov ecx, edi
call fcn.028998f7
mov esi, dword [ebp - 0x1c]
inc dword [edi + 0x2c]
mov eax, dword [edi + 0x2c]
mov dword [ebp - 0x58], eax
push dword [ebp - 0xc]
mov ecx, esi
push 0
push 0x38
pop edx
call fcn.02899192
pop ecx
pop ecx
mov dword [ebp - 0x70], eax
xor ecx, ecx
mov eax, dword [ebp - 0x6c]
inc ecx
cmp dword [eax + 0xc], ecx
jle 0x28c73f6
xor edx, edx
mov dword [ebp - 4], edx
cmp dword [eax + 0xc], edx
jle 0x28c73f6
xor ebx, ebx
mov ecx, ebx
mov dword [ebp - 0x10], ebx
mov edi, ebx
mov eax, dword [eax + 0x14]
add eax, ecx
mov esi, dword [eax]
mov dword [ebp - 0x74], esi
cmp eax, dword [ebp - 0x2c]
je 0x28c73bd
test byte [esi + 4], 1
jne 0x28c73bd
test byte [eax + 0xa], 6
jne 0x28c73bd
mov esi, 0x1fff
test word [eax + 0xc], si
je 0x28c73bd
mov edx, dword [ebp - 0x74]
mov ecx, dword [ebp - 0x64]
push ebx
call fcn.028a7837
pop ecx
mov ecx, dword [ebp - 0x64]
mov edx, edi
push eax
call fcn.028a7248
mov edx, dword [ebp - 4]
mov edi, eax
pop ecx
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x6c]
inc edx
add ecx, 0x30
mov dword [ebp - 4], edx
mov dword [ebp - 0x10], ecx
cmp edx, dword [eax + 0xc]
jl 0x28c7376
mov ebx, dword [ebp - 0x3c]
test edi, edi
mov esi, dword [ebp - 0x1c]
mov dword [ebp - 0x48], edi
mov edi, dword [ebp - 0x78]
je 0x28c73f6
mov ecx, dword [ebp - 0x48]
mov edx, 0x147
push ecx
push 0
mov ecx, edi
call fcn.028a7154
pop ecx
pop ecx
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x38]
mov ecx, 0x400
mov edx, dword [ebp - 0x68]
push 0x20
mov ax, word [eax + 0x2c]
and ax, cx
pop ecx
or ax, cx
movzx eax, ax
mov dword [ebp - 0x74], eax
xor eax, eax
mov ecx, eax
mov dword [ebp - 0x44], ecx
cmp dword [edx + 0xc], eax
jle 0x28c7670
or dword [ebp - 0x90], 0xffffffff
mov esi, dword [ebp - 0x28]
imul ecx, ecx, 0x30
add ecx, dword [edx + 0x14]
cmp dword [ecx + 0x14], esi
mov esi, dword [ebp - 0x1c]
je 0x28c744e
mov esi, 0x400
test word [ecx + 0xc], si
mov esi, dword [ebp - 0x1c]
je 0x28c7660
mov edx, dword [ebp - 0x48]
mov ecx, dword [ecx]
mov dword [ebp - 4], eax
test edx, edx
je 0x28c7465
test byte [ecx + 4], 1
jne 0x28c7465
mov dword [edx + 0xc], ecx
mov ecx, edx
push dword [ebp - 0x34]
mov edx, dword [ebp - 0x40]
push dword [ebp - 0x74]
push eax
push eax
push ecx
mov ecx, edi
call fcn.028cd016
add esp, 0x14
mov dword [ebp - 0x88], eax
test eax, eax
je 0x28c765b
movzx ecx, byte [ebx + 0x2c]
mov edx, dword [ebp - 0x40]
push 0
push ecx
push dword [ebp - 0x4c]
lea ecx, [eax + 0x2f0]
push ecx
mov ecx, edi
call fcn.028c5a0b
mov eax, dword [ebp - 0x38]
add esp, 0x10
test byte [eax + 0x2c], 0x10
jne 0x28c75de
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x90]
push 0x20
mov eax, dword [eax + 0xc]
dec eax
cmp ecx, eax
mov eax, dword [ebp - 0x54]
cmove ecx, edx
mov dword [ebp - 0x10], ecx
pop ecx
test byte [eax + 0x24], cl
jne 0x28c7507
push 0
push dword [ebp - 0x58]
mov ecx, edi
push dword [ebp - 0x28]
push edx
mov edx, eax
call fcn.028a95f1
push dword [ebp - 0x10]
mov ecx, esi
push eax
push 0
push dword [ebp - 0x20]
push 0x2b
pop edx
call fcn.0289930f
add esp, 0x20
mov dword [ebp - 4], eax
jmp 0x28c75de
mov ecx, eax
call fcn.028ae23e
mov ecx, edi
mov dword [ebp - 0x84], eax
movzx edx, word [eax + 0x32]
mov dword [ebp - 8], edx
call fcn.028ab45d
and dword [ebp - 0x8c], 0
mov ecx, eax
mov dword [ebp - 0x18], ecx
test edx, edx
jle 0x28c756c
mov ebx, dword [ebp - 0x8c]
mov esi, edx
mov eax, dword [ebp - 0x84]
add ecx, ebx
mov edx, dword [ebp - 0x54]
push ecx
push dword [ebp - 0x28]
mov eax, dword [eax + 4]
mov ecx, edi
movsx eax, word [eax + ebx*2]
push eax
call fcn.028a968c
mov ecx, dword [ebp - 0x18]
add esp, 0xc
inc ebx
cmp ebx, esi
jl 0x28c753a
mov ebx, dword [ebp - 0x3c]
mov esi, dword [ebp - 0x1c]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x28c758f
push edx
push ecx
push 0
push dword [ebp - 0x20]
mov ecx, esi
push 0x1e
pop edx
call fcn.0289930f
mov dword [ebp - 4], eax
add esp, 0x10
mov eax, dword [ebp - 0x10]
test eax, eax
js 0x28c75d0
push dword [ebp - 0x58]
mov ecx, esi
push dword [ebp - 8]
push dword [ebp - 0x18]
push 0x63
pop edx
call fcn.0289910e
add esp, 0xc
mov ecx, esi
push dword [ebp - 8]
push dword [ebp - 0x18]
push dword [ebp - 0x58]
push dword [ebp - 0x20]
push 0x7e
pop edx
call fcn.0289930f
add esp, 0x10
cmp dword [ebp - 0x10], 0
je 0x28c75d0
push 0x10
pop edx
mov ecx, esi
call fcn.0289962b
push dword [ebp - 8]
mov edx, dword [ebp - 0x18]
mov ecx, edi
call fcn.028ab493
pop ecx
push dword [ebp - 0x30]
mov ecx, esi
push dword [ebp - 0xc]
push 0xe
pop edx
call fcn.02899192
mov eax, dword [ebp - 4]
pop ecx
pop ecx
test eax, eax
je 0x28c7600
mov edx, eax
mov ecx, esi
call fcn.02899643
mov edx, dword [ebp - 0x88]
mov eax, dword [ebp - 0x24]
push 1
pop ecx
cmp byte [edx + 0x32], 0
cmovne eax, ecx
mov ecx, dword [edx + 0x330]
mov dword [ebp - 0x24], eax
test dword [ecx + 0x24], 0x200
je 0x28c7650
cmp dword [ebp - 0x44], 0
je 0x28c7633
mov eax, dword [ebp - 0x50]
cmp dword [ecx + 0x20], eax
jne 0x28c7650
mov eax, dword [ebp - 0x54]
test byte [eax + 0x24], 0x20
je 0x28c7648
mov eax, dword [ecx + 0x20]
mov eax, dword [eax + 0x38]
and al, 3
cmp al, 2
je 0x28c7650
mov eax, dword [ecx + 0x20]
mov dword [ebp - 0x50], eax
jmp 0x28c7654
and dword [ebp - 0x50], 0
mov ecx, edx
call fcn.028cd836
mov edx, dword [ebp - 0x68]
xor eax, eax
mov ecx, dword [ebp - 0x44]
inc ecx
mov dword [ebp - 0x44], ecx
cmp ecx, dword [edx + 0xc]
jl 0x28c742b
mov ecx, dword [ebp - 0x50]
mov dword [ebx + 0x38], ecx
test ecx, ecx
je 0x28c7680
mov ecx, dword [ebp - 0x34]
mov dword [ebx + 8], ecx
mov ecx, dword [ebp - 0x48]
test ecx, ecx
je 0x28c7694
mov dword [ecx + 0xc], eax
mov edx, ecx
mov ecx, dword [ebp - 0x64]
call fcn.028a74e2
mov ecx, esi
call fcn.0289950e
mov edx, dword [ebp - 0x70]
push eax
call fcn.028995fb
mov edx, dword [ebx + 0xc]
pop ecx
mov ecx, esi
call fcn.028991a7
mov edx, dword [ebp - 0x30]
mov ecx, esi
call fcn.028993a0
mov eax, dword [ebp - 0x38]
xor ecx, ecx
inc ecx
cmp byte [eax + 0x2e], cl
jbe 0x28c76cf
mov edx, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x64]
call fcn.02882404
cmp dword [ebp - 0x24], 0
jne 0x28c771f
mov edx, dword [ebp - 0x2c]
mov ecx, ebx
call fcn.028c5c70
jmp 0x28c771f
push 0x20
pop eax
test byte [ebp - 0x70], al
je 0x28c76ef
mov byte [ebx + 0x2d], 0xa6
jmp 0x28c771f
mov ecx, dword [ebp - 0x30]
push dword [ebp - 0xc]
mov al, byte [ecx + 0x4a5ecc]
movzx edx, byte [ecx + 0x4a69a8]
mov ecx, esi
mov byte [ebx + 0x2d], al
mov eax, dword [ebp - 0x28]
push eax
mov dword [ebx + 0x30], eax
call fcn.02899192
inc eax
mov dword [ebx + 0x34], eax
xor eax, eax
inc eax
mov byte [ebx + 0x2f], al
pop ecx
pop ecx
xor edx, edx
cmp dword [ebp - 0x5c], edx
sete dl
inc edx
mov dword [ebp - 0x3c], edx
mov ecx, dword [ebp - 0x6c]
xor eax, eax
mov dword [ebp - 8], eax
mov esi, dword [ecx + 0x14]
mov ecx, dword [ecx + 0xc]
jmp 0x28c780a
xor ecx, ecx
mov dword [ebp - 4], ecx
movzx ecx, word [esi + 0xa]
test cl, 6
jne 0x28c7800
mov ecx, dword [esi + 0x28]
mov eax, dword [esi + 0x2c]
and ecx, dword [ebx + 0x48]
and eax, dword [ebx + 0x4c]
or ecx, eax
je 0x28c776e
mov eax, dword [ebp - 0x38]
xor ecx, ecx
inc ecx
mov byte [eax + 0x32], cl
jmp 0x28c77fd
mov eax, dword [esi]
xor ecx, ecx
inc ecx
mov dword [ebp - 0x70], eax
cmp dword [ebx], 0
je 0x28c7780
test byte [eax + 4], cl
je 0x28c77fd
cmp edx, ecx
jne 0x28c77a2
push dword [ebp - 0x5c]
mov edx, dword [ebx + 4]
mov ecx, eax
call fcn.028ab048
pop ecx
test eax, eax
jne 0x28c7830
push 2
pop eax
mov dword [ebp - 8], eax
jmp 0x28c7800
cmp edx, 3
jl 0x28c7833
movzx eax, word [esi + 0xa]
test eax, 0x200
je 0x28c77d4
mov eax, dword [ebx + 0x24]
shr eax, 1
test byte [ebx + 0x24], cl
mov ecx, dword [ebp - 0x1c]
push eax
push 0
pop edx
setne dl
add edx, 0x15
call fcn.0289917e
pop ecx
mov dword [ebp - 4], eax
push 0x10
push dword [ebp - 0x7c]
push dword [ebp - 0x70]
push edi
call fcn.028aa9f2
mov eax, dword [ebp - 4]
add esp, 0x10
test eax, eax
je 0x28c77f6
mov ecx, dword [ebp - 0x1c]
mov edx, eax
call fcn.02899643
push 4
pop eax
or word [esi + 0xa], ax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x3c]
dec ecx
add esi, 0x30
mov dword [ebp - 0xc], ecx
test ecx, ecx
jg 0x28c773e
mov edx, eax
mov dword [ebp - 0x3c], edx
test eax, eax
jg 0x28c772b
mov eax, dword [ebp - 0x6c]
mov esi, dword [eax + 0x14]
mov eax, dword [eax + 0xc]
jmp 0x28c78df
xor ecx, ecx
inc ecx
movzx eax, word [esi + 0xa]
test eax, 0x1000
je 0x28c77af
mov eax, dword [ebp - 8]
test eax, eax
jne 0x28c7800
push 3
jmp 0x28c779c
test byte [esi + 0xa], 6
jne 0x28c78db
movzx ecx, word [esi + 0xc]
test cl, 0x82
je 0x28c78db
test ecx, 0x800
je 0x28c78db
mov ecx, dword [ebp - 0x28]
cmp dword [esi + 0x14], ecx
jne 0x28c78db
cmp dword [ebx], 0
jne 0x28c78db
mov eax, dword [esi]
mov edx, ecx
mov ecx, dword [ebp - 0x6c]
push 0
push 0x83
push dword [ebp + 0xc]
mov dword [ebp - 0x70], eax
push dword [ebp + 8]
push dword [esi + 0x1c]
call fcn.028c968e
add esp, 0x14
test eax, eax
je 0x28c78d8
test byte [eax + 0xa], 4
jne 0x28c78d8
mov esi, dword [eax]
lea edi, [ebp - 0xc0]
mov eax, dword [ebp - 0x70]
push 0xc
pop ecx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [eax + 0xc]
mov edi, dword [ebp - 0x78]
push 0x10
push dword [ebp - 0x7c]
mov dword [ebp - 0xb4], eax
lea eax, [ebp - 0xc0]
push eax
push edi
call fcn.028aa9f2
mov esi, dword [ebp - 4]
add esp, 0x10
mov eax, dword [ebp - 0x3c]
dec eax
add esi, 0x30
mov dword [ebp - 0x3c], eax
mov dword [ebp - 4], esi
test eax, eax
jg 0x28c7850
cmp dword [ebx], 0
je 0x28c7960
mov ecx, dword [ebp - 0x1c]
call fcn.0289950e
push dword [ebx]
mov dword [ebx + 0x1c], eax
xor eax, eax
inc eax
push eax
push 0x38
pop edx
call fcn.02899192
pop ecx
pop ecx
mov ecx, edi
call fcn.028a96be
mov eax, dword [ebp - 0x6c]
xor edx, edx
mov esi, dword [eax + 0x14]
cmp dword [eax + 0xc], edx
jle 0x28c7960
test byte [esi + 0xa], 6
jne 0x28c7954
mov ecx, dword [esi + 0x28]
mov eax, dword [esi + 0x2c]
and ecx, dword [ebx + 0x48]
and eax, dword [ebx + 0x4c]
or ecx, eax
jne 0x28c7951
push 0x10
push dword [ebp - 0x7c]
push dword [esi]
push edi
call fcn.028aa9f2
mov edx, dword [ebp - 0x80]
add esp, 0x10
push 4
pop eax
or word [esi + 0xa], ax
mov eax, dword [ebp - 0x6c]
inc edx
add esi, 0x30
mov dword [ebp - 0x80], edx
cmp edx, dword [eax + 0xc]
jl 0x28c7921
mov eax, dword [ebx + 0x48]
mov edx, dword [ebx + 0x4c]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret