Function at 0x898fe7
Capabilities:
Encode data using base64
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xbc
push ebx
xor eax, eax
push esi
mov esi, edx
mov dword [ebp - 0x80], eax
mov edx, ecx
mov dword [ebp - 0x48], eax
push edi
mov dword [ebp - 0x3c], edx
mov edi, dword [edx]
lea ebx, [edx + 0x2f0]
mov dword [ebp - 0x58], edi
mov eax, dword [edi + 8]
mov dword [ebp - 4], eax
lea eax, [edx + 0x50]
mov dword [ebp - 0x6c], eax
mov eax, dword [edi]
mov dword [ebp - 0x5c], eax
imul eax, esi, 0x50
add ebx, eax
mov dword [ebp - 0x28], ebx
mov eax, dword [ebx + 0x40]
mov dword [ebp - 0x1c], eax
movzx eax, byte [ebx + 0x2c]
imul ecx, eax, 0x48
mov eax, dword [edx + 4]
add eax, 8
add eax, ecx
lea ecx, [edx + 0x1e8]
mov dword [ebp - 0x74], eax
mov eax, dword [eax + 0x2c]
mov edx, eax
mov dword [ebp - 0x24], eax
call fcn.0089be99
mov ecx, dword [ebp - 0x3c]
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, esi
call fcn.008c7690
xor ecx, ecx
inc ecx
and eax, ecx
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x1c]
push 0x20
pop edx
test byte [eax + 0x24], 0x40
je 0x899092
mov eax, dword [ebp - 0x3c]
test byte [eax + 0x2c], dl
jne 0x899092
mov dword [ebp - 0xc], ecx
jmp 0x899096
and dword [ebp - 0xc], 0
mov ecx, dword [ebp - 4]
call fcn.0086b3bd
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x50], eax
mov dword [ebx + 0x10], eax
mov dword [ebx + 0xc], eax
call fcn.0086b3bd
cmp byte [ebx + 0x2c], 0
mov dword [ebp - 0x7c], eax
mov dword [ebx + 0x18], eax
jbe 0x8990dd
mov eax, dword [ebp - 0x74]
test byte [eax + 0x24], 8
je 0x8990dd
mov eax, dword [edi + 0x2c]
mov ecx, dword [ebp - 4]
inc eax
push eax
push 0
push 0x43
mov dword [edi + 0x2c], eax
pop edx
mov dword [ebx], eax
call fcn.0086b177
pop ecx
pop ecx
xor edx, edx
mov eax, esi
test esi, esi
jle 0x8990f3
mov ecx, ebx
cmp dword [ecx], edx
jne 0x8990f3
dec eax
sub ecx, 0x50
test eax, eax
jg 0x8990e7
mov ecx, dword [ebp - 0x3c]
imul eax, eax, 0x50
mov eax, dword [eax + ecx + 0x2fc]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x74]
test byte [eax + 0x28], 0x10
je 0x89913d
push dword [eax + 0x18]
mov esi, dword [eax + 0x1c]
mov ecx, dword [ebp - 4]
push edx
push esi
push 0xf
pop edx
call fcn.0086b0f3
mov ecx, dword [ebp - 4]
add esp, 0xc
push dword [ebp - 0x50]
push esi
push 0x10
pop edx
call fcn.0086b177
mov dword [ebx + 0x34], eax
mov byte [ebx + 0x2d], 0xd
jmp 0x89a106
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ecx + 0x24]
test eax, 0x400
je 0x899348
movzx eax, word [ecx + 0x28]
mov ecx, edi
mov dword [ebp - 0x28], eax
call fcn.0087b3b4
lea edx, [eax + 2]
call fcn.0087d565
mov ecx, eax
xor esi, esi
mov eax, dword [ebx + 0xc]
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0x28], esi
jle 0x8991c6
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x30]
mov edx, dword [eax + esi*4]
test edx, edx
je 0x8991c0
xor eax, eax
inc eax
test byte [edx + 0xc], al
je 0x8991a8
lea eax, [ecx + 2]
mov ecx, edi
add eax, esi
push eax
push dword [ebp - 0x38]
push esi
push ebx
call fcn.008988a2
mov eax, dword [ebx + 0x10]
add esp, 0x10
mov dword [ebp - 0xc], eax
jmp 0x8991bd
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.00898e99
pop ecx
pop ecx
mov ecx, dword [ebp - 8]
inc esi
cmp esi, dword [ebp - 0x28]
jl 0x899176
mov eax, dword [ebp - 0x1c]
push ecx
mov ecx, dword [ebp - 4]
push dword [eax + 0x18]
push 0x43
pop edx
call fcn.0086b177
mov eax, dword [ebp - 8]
mov esi, dword [ebp - 0x28]
inc eax
mov ecx, dword [ebp - 4]
push eax
push esi
push 0x43
pop edx
call fcn.0086b177
mov ecx, dword [ebp - 0x1c]
or eax, 0xffffffff
push 0xfffffffffffffff9
pop edx
cmp byte [ecx + 0x1c], 0
cmovne eax, edx
push eax
push dword [ecx + 0x20]
mov ecx, dword [ebp - 4]
push dword [ebp - 8]
push dword [ebp - 0xc]
push dword [ebp - 0x24]
push 0xb
pop eax
mov edx, eax
call fcn.0086b23d
mov edx, dword [ebp - 0x1c]
add esp, 0x24
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x3c]
mov byte [edx + 0x1c], 0
mov dword [ebx + 0x30], eax
cmp byte [ecx + 0x31], 0
push 0x3d
pop eax
lea ecx, [eax + 0x6c]
cmovne eax, ecx
mov ecx, dword [ebp - 4]
mov byte [ebx + 0x2d], al
call fcn.0086b561
lea ecx, [esi - 1]
mov dword [ebx + 0x34], eax
mov eax, dword [ebx + 0x38]
mov dword [ebp - 0x18], ecx
test ecx, ecx
js 0x89933c
imul esi, eax, 0xc
mov dword [ebp - 0x28], esi
mov eax, dword [edx + 0x30]
mov edx, dword [eax + ecx*4]
mov dword [ebp - 0xc], edx
cmp ecx, 0x10
jge 0x899286
mov eax, dword [ebp - 0x1c]
mov ax, word [eax + 0x1e]
shr ax, cl
test al, 1
je 0x899283
mov ecx, ebx
call fcn.00898661
jmp 0x89932a
mov ecx, dword [ebp - 0x18]
xor eax, eax
inc eax
test byte [edx + 0xc], al
je 0x89932d
mov eax, dword [ebp - 0x5c]
cmp byte [eax + 0x49], 0
jne 0x8992c4
mov edx, dword [ebx + 0x3c]
sub esi, 0xc
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x28], esi
mov edx, dword [edx + esi + 4]
call fcn.0086b96a
push dword [eax + 0xc]
movzx edx, byte [eax]
push dword [eax + 8]
push dword [eax + 4]
call fcn.0086b0f3
add esp, 0xc
xor eax, eax
mov ecx, edi
push eax
push eax
push 0x35
pop edx
call fcn.00879043
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x899327
mov ecx, dword [ebp - 0xc]
mov edx, 0x9a
push 0
mov ecx, dword [ecx]
mov ecx, dword [ecx + 0xc]
mov dword [esi + 0xc], ecx
mov ecx, dword [ebp - 0x5c]
call fcn.00878fc2
mov dword [esi + 0x10], eax
pop ecx
test eax, eax
je 0x899319
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0x18]
add edx, 2
add ecx, edx
push 0
mov dword [eax + 0x1c], ecx
push dword [ebx + 0x18]
push esi
push edi
call fcn.0087c9b1
add esp, 0x10
mov ecx, dword [ebp - 0x5c]
mov edx, esi
and dword [esi + 0xc], 0
call fcn.008793d7
mov esi, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x1c]
sub ecx, 1
mov dword [ebp - 0x18], ecx
jns 0x89925b
mov ecx, edi
call fcn.0087b3b8
jmp 0x89a108
test al, 5
setne cl
bt eax, 8
setb al
test al, cl
mov eax, dword [ebp - 0x1c]
je 0x8993c3
mov eax, dword [eax + 0x30]
mov ecx, edi
mov edx, dword [eax]
inc dword [edi + 0x2c]
mov eax, dword [edi + 0x2c]
push eax
push dword [ebp - 0x38]
mov dword [ebp - 0xc], eax
push 0
push ebx
call fcn.008988a2
mov edx, dword [ebp - 0xc]
mov esi, eax
add esp, 0x10
cmp esi, edx
je 0x89938a
mov ecx, edi
call fcn.0087d522
mov ecx, dword [ebp - 4]
push esi
push dword [ebx + 0x10]
push dword [ebp - 0x24]
push 0x1f
pop edx
call fcn.0086b0f3
add esp, 0xc
xor eax, eax
inc eax
mov edx, esi
mov ecx, edi
push eax
call fcn.0087b614
mov edx, dword [ebp - 0x24]
pop ecx
push esi
push 0xffffffffffffffff
mov ecx, edi
call fcn.0087b2ec
mov byte [ebx + 0x2d], 0xa9
jmp 0x89a106
mov ecx, dword [eax + 0x24]
mov eax, ecx
and eax, 0x102
cmp eax, 0x102
jne 0x8995d0
push 0x20
pop eax
mov dword [ebp - 0x18], 0xa9
mov esi, edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x20], edx
test al, cl
je 0x899400
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x30]
mov esi, dword [eax]
xor eax, eax
lea edx, [eax + 1]
jmp 0x899403
mov edx, dword [ebp - 0xc]
test cl, 0x10
je 0x899416
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x30]
mov ecx, dword [eax + edx*4]
mov dword [ebp - 0x20], ecx
jmp 0x899419
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x899425
mov dword [ebp - 0x20], esi
mov esi, ecx
test esi, esi
je 0x8994cc
mov edx, dword [esi]
mov dword [ebp - 8], 0x1a18191b
mov dword [ebp - 0xc], edx
mov ecx, dword [edx + 0x10]
call fcn.00878b24
mov ecx, edi
test eax, eax
je 0x899475
call fcn.0087d503
mov edx, dword [edx + 0x10]
mov esi, eax
xor eax, eax
mov dword [ebp - 0x28], esi
inc eax
push eax
push esi
call fcn.00898e99
mov edx, dword [ebp - 0xc]
xor eax, eax
pop ecx
pop ecx
inc eax
movzx ecx, byte [edx]
inc ecx
and ecx, 2
or ecx, eax
mov al, byte [ebp + ecx - 8]
jmp 0x89949b
mov edx, dword [edx + 0x10]
lea eax, [ebp - 0x34]
push eax
call fcn.0087c399
pop ecx
mov edx, esi
mov dword [ebp - 0x28], eax
mov ecx, ebx
call fcn.00898661
mov edx, dword [ebp - 0xc]
mov esi, dword [ebp - 0x34]
movzx ecx, byte [edx]
mov al, byte [ebp + ecx - 0x3e]
push dword [ebp - 0x28]
mov ecx, dword [ebp - 4]
push dword [ebp - 0x50]
movzx edx, al
push dword [ebp - 0x24]
call fcn.0086b0f3
mov edx, dword [ebp - 0x28]
add esp, 0xc
xor eax, eax
mov ecx, edi
inc eax
push eax
call fcn.0087b614
pop ecx
mov edx, esi
mov ecx, edi
call fcn.0087d522
jmp 0x8994e7
push dword [ebp - 0x34]
test eax, eax
push dword [ebp - 0x24]
push 0x25
pop edx
push 0x21
pop ecx
cmovne edx, ecx
mov ecx, dword [ebp - 4]
call fcn.0086b177
pop ecx
pop ecx
mov esi, dword [ebp - 0x20]
test esi, esi
je 0x899560
mov eax, dword [esi]
inc dword [edi + 0x2c]
mov ecx, dword [edi + 0x2c]
push 1
mov edx, dword [eax + 0x10]
mov dword [ebp - 0x14], ecx
push ecx
mov ecx, edi
mov dword [ebp - 0xc], eax
call fcn.00898e99
mov edx, dword [ebp - 0xc]
pop ecx
pop ecx
mov eax, dword [edx + 0x10]
mov ecx, eax
mov dword [ebp - 0xc], eax
call fcn.00878b24
test eax, eax
jne 0x89953b
mov al, byte [edx]
cmp al, 0x38
je 0x899529
cmp al, 0x36
jne 0x89953b
cmp dword [ebp - 0x38], 0
push 0x39
pop edx
push 0x37
pop eax
cmovne edx, eax
mov dword [ebp - 0x18], edx
jmp 0x89954b
cmp dword [ebp - 0x38], 0
push 0x36
pop eax
push 0x38
pop ecx
cmovne eax, ecx
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0xc]
call fcn.00878b24
test eax, eax
jne 0x899560
mov edx, esi
mov ecx, ebx
call fcn.00898661
mov ecx, dword [ebp - 4]
call fcn.0086b561
cmp dword [ebp - 0x38], 0
mov dword [ebx + 0x34], eax
sete cl
add cl, 6
cmp dword [ebp - 0x18], 0xa9
mov byte [ebx + 0x2d], cl
mov ecx, dword [ebp - 0x24]
mov dword [ebx + 0x30], ecx
je 0x89a108
inc dword [edi + 0x2c]
mov esi, dword [edi + 0x2c]
push esi
push ecx
mov ecx, dword [ebp - 4]
push 0x7d
pop edx
call fcn.0086b177
mov edx, dword [ebp - 0x24]
mov ecx, edi
push esi
push 0xffffffffffffffff
call fcn.0087b2ec
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 4]
push esi
push dword [ebp - 0x50]
push dword [ebp - 0x14]
call fcn.0086b0f3
mov ecx, dword [ebp - 4]
add esp, 0x1c
push 0x53
pop edx
call fcn.0086b680
jmp 0x89a108
test ecx, 0x200
je 0x899bc5
mov esi, dword [ebp - 0x1c]
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x68], edx
movzx eax, word [esi + 0x18]
mov dword [ebp - 8], eax
movzx eax, word [esi + 0x1a]
mov dword [ebp - 0x20], eax
movzx eax, word [esi + 0x1c]
mov esi, edx
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 0xd], dl
mov byte [ebp - 0x51], dl
mov eax, dword [eax + 0x20]
mov dword [ebp - 0x48], eax
mov eax, dword [ebx + 8]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x3c]
test byte [eax + 0x2c], 1
je 0x89963b
cmp byte [eax + 0x2f], 0
mov eax, dword [ebp - 8]
jle 0x89963e
mov edi, dword [ebp - 0x48]
cmp word [edi + 0x32], ax
mov edi, dword [ebp - 0x58]
jbe 0x89963e
xor esi, esi
mov byte [ebp - 0xd], 1
inc esi
jmp 0x89963e
mov eax, dword [ebp - 8]
movzx eax, ax
push 0x20
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
pop eax
test al, cl
je 0x89966f
mov eax, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x2c]
inc dword [ebp - 0x2c]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + edi*4]
mov edi, dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
movzx eax, word [edi + 0x1a]
mov edi, dword [ebp - 0x58]
cmp esi, eax
cmovbe esi, eax
test cl, 0x10
je 0x89971f
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x2c]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + ecx*4]
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x44], eax
movzx eax, word [ecx + 0x1c]
mov ecx, 0x100
cmp esi, eax
cmovbe esi, eax
mov eax, dword [ebp - 0x44]
test word [eax + 0xa], cx
je 0x8996e5
mov eax, dword [edi + 0x2c]
mov ecx, dword [ebp - 4]
inc eax
push eax
mov dword [edi + 0x2c], eax
mov dword [ebx + 0x24], eax
xor eax, eax
inc eax
push eax
push 0x43
pop edx
call fcn.0086b177
pop ecx
pop ecx
mov ecx, dword [ebp - 4]
call fcn.0086b561
shl dword [ebx + 0x24], 1
xor ecx, ecx
mov edx, dword [ebp - 0x30]
mov dword [ebx + 0x28], eax
mov eax, dword [ebp - 0x48]
mov eax, dword [eax + 0x1c]
cmp byte [edx + eax], 1
sete cl
xor ecx, dword [ebp - 0x38]
or dword [ebx + 0x24], ecx
xor edx, edx
cmp dword [ebp - 0x18], 0
jne 0x89971f
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x30]
mov eax, dword [eax + 4]
movsx ecx, word [eax + ecx*2]
mov dword [ebp - 0x14], ecx
test ecx, ecx
js 0x899714
mov eax, dword [ebp - 0x48]
add ecx, ecx
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 4]
cmp byte [eax + ecx*8 + 0xc], 0
je 0x899719
mov ecx, dword [ebp - 0x14]
cmp ecx, 0xfffffffe
jne 0x89971f
xor eax, eax
inc eax
mov byte [ebp - 0xd], al
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 8]
movzx eax, word [eax + 0x32]
mov dword [ebp - 0x14], eax
cmp cx, ax
jae 0x899750
mov eax, dword [ebp - 0x48]
xor ecx, ecx
mov edi, dword [ebp - 0x30]
mov eax, dword [eax + 0x1c]
cmp byte [edi + eax], cl
mov edi, dword [ebp - 0x58]
sete cl
cmp dword [ebp - 0x38], ecx
je 0x89975b
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 8]
cmp dword [ebp - 0x38], 0
je 0x899782
cmp ax, cx
jne 0x899782
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x18], eax
mov al, byte [ebp - 0xd]
mov byte [ebp - 0x51], al
mov eax, dword [ebp - 0x20]
mov byte [ebp - 0xd], dl
mov edx, dword [ebp - 0x60]
mov dword [ebp - 0x44], ecx
movzx ecx, dx
movzx eax, al
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x60], eax
lea eax, [ebp - 0x64]
mov edx, ebx
push eax
push esi
push dword [ebp - 0x38]
mov ecx, edi
call fcn.00898bbc
mov ecx, dword [ebp - 0x64]
add esp, 0xc
mov dword [ebp - 0x2c], eax
test ecx, ecx
je 0x8997b9
mov edx, dword [ebp - 0x60]
test dx, dx
je 0x8997b9
mov edx, dword [ebp - 0x30]
lea edx, [ecx + edx]
mov ecx, dword [ebp - 0x5c]
call fcn.0085408c
mov dword [ebp - 0x68], eax
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x8997d3
test byte [eax + 0xc], 0x28
jne 0x8997d3
xor ecx, ecx
mov dword [ebp - 0x4c], ecx
jmp 0x8997dc
mov dword [ebp - 0x4c], 1
xor ecx, ecx
mov edx, dword [ebp - 0x44]
test edx, edx
je 0x8997f1
test byte [edx + 0xc], 0x28
jne 0x8997f1
xor edx, edx
mov dword [ebp - 0x50], ecx
inc edx
jmp 0x8997f7
xor edx, edx
inc edx
mov dword [ebp - 0x50], edx
test eax, eax
jne 0x899804
mov dword [ebp - 0x14], ecx
cmp word [ebp - 8], ax
jbe 0x899807
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 0x30]
mov esi, edx
test eax, eax
je 0x8998ad
mov ecx, dword [ebp - 0x2c]
mov eax, dword [eax]
add ecx, edx
mov edi, dword [ebp - 0x20]
movzx edx, di
mov edi, dword [ebp - 0x58]
mov eax, dword [eax + 0x10]
push edx
mov dword [ebp - 0x70], ecx
mov edx, eax
push ecx
mov ecx, edi
mov dword [ebp - 8], eax
call fcn.00898e99
push dword [ebp - 0x18]
mov ecx, dword [ebp - 4]
mov edx, ebx
call fcn.00898db1
mov ecx, dword [ebp - 8]
add esp, 0xc
call fcn.0087a03e
test eax, eax
je 0x899867
push dword [ebp - 0x34]
mov ecx, dword [ebp - 4]
push dword [ebp - 0x70]
push 0x32
pop edx
call fcn.0086b177
pop ecx
pop ecx
mov ecx, dword [ebp - 0x64]
test ecx, ecx
je 0x899883
mov eax, dword [ebp - 0x30]
add eax, ecx
mov ecx, dword [ebp - 0x20]
movzx edx, cx
mov ecx, dword [ebp - 8]
push eax
call fcn.00898720
pop ecx
mov ecx, dword [ebp - 0x20]
movzx eax, cx
mov ecx, dword [ebp - 8]
add esi, eax
call fcn.00878b24
test eax, eax
jne 0x8998a3
mov edx, dword [ebp - 0x18]
mov ecx, ebx
call fcn.00898661
jmp 0x8998a9
xor eax, eax
inc eax
mov dword [ebp - 0x4c], eax
xor al, al
jmp 0x8998d6
mov al, byte [ebp - 0xd]
test al, al
je 0x8998d6
mov eax, dword [ebp - 0x2c]
add eax, edx
push eax
push ecx
mov ecx, dword [ebp - 4]
push 0x46
pop edx
call fcn.0086b177
and dword [ebp - 0x4c], 0
xor eax, eax
inc esi
inc eax
pop ecx
mov dword [ebp - 0x14], eax
mov al, byte [ebp - 0xd]
pop ecx
push dword [ebp - 0x64]
mov edx, dword [ebp - 0x2c]
mov ecx, esi
movzx eax, al
sub ecx, eax
push ecx
mov ecx, edi
call fcn.008986c5
mov eax, dword [ebp - 0x1c]
pop ecx
pop ecx
movzx eax, word [eax + 0x2a]
test ax, ax
je 0x8998fd
cmp esi, eax
je 0x899929
mov ecx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x14]
push esi
mov esi, dword [ebp - 0x2c]
push esi
push dword [ebp - 0x34]
lea eax, [ecx + eax*2]
mov ecx, dword [ebp - 0x38]
push dword [ebp - 0x40]
movzx edx, byte [ecx + eax*2 + 0x49f1ec]
mov ecx, dword [ebp - 4]
call fcn.0086b36e
add esp, 0x10
jmp 0x89992c
mov esi, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x8999e5
mov eax, dword [eax]
mov ecx, edi
mov edx, dword [ebp - 0x30]
add edx, esi
push 1
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x4c], eax
call fcn.0087b376
mov eax, dword [ebp - 0x60]
mov edx, dword [ebp - 0x4c]
movzx esi, ax
mov eax, dword [ebp - 0x2c]
add eax, dword [ebp - 0x30]
pop ecx
push esi
push eax
mov ecx, edi
call fcn.00898e99
push dword [ebp - 0x44]
mov ecx, dword [ebp - 4]
mov edx, ebx
call fcn.00898db1
mov ecx, dword [ebp - 0x4c]
add esp, 0xc
call fcn.0087a03e
test eax, eax
je 0x899999
push dword [ebp - 0x34]
mov eax, dword [ebp - 0x2c]
add eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 4]
push eax
push 0x32
pop edx
call fcn.0086b177
pop ecx
pop ecx
mov eax, dword [ebp - 0x68]
test eax, eax
je 0x8999c2
mov ecx, dword [ebp - 0x4c]
mov edx, esi
push eax
call fcn.00898720
mov edx, dword [ebp - 0x2c]
pop ecx
mov ecx, dword [ebp - 0x30]
push dword [ebp - 0x68]
push esi
lea edx, [edx + ecx]
mov ecx, edi
call fcn.008986c5
pop ecx
pop ecx
mov ecx, dword [ebp - 0x4c]
add dword [ebp - 0x30], esi
call fcn.00878b24
test eax, eax
jne 0x8999dd
mov edx, dword [ebp - 0x44]
mov ecx, ebx
call fcn.00898661
jmp 0x899a13
xor eax, eax
inc eax
mov dword [ebp - 0x50], eax
jmp 0x899a13
cmp byte [ebp - 0x51], 0
je 0x899a13
add esi, dword [ebp - 0x30]
mov ecx, dword [ebp - 4]
push esi
push 0
push 0x46
pop edx
call fcn.0086b177
xor eax, eax
mov edx, esi
inc eax
mov ecx, edi
push eax
call fcn.0087b376
and dword [ebp - 0x50], 0
add esp, 0xc
inc dword [ebp - 0x30]
mov edx, dword [ebp - 0x64]
mov ecx, dword [ebp - 0x5c]
call fcn.00853d0a
mov edx, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x5c]
call fcn.00853d0a
mov esi, dword [ebp - 4]
mov ecx, esi
call fcn.0086b561
mov dword [ebx + 0x34], eax
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x899a5f
mov ecx, dword [ebp - 0x38]
push eax
push dword [ebp - 0x2c]
mov eax, dword [ebp - 0x50]
push dword [ebp - 0x34]
push dword [ebp - 0x40]
movzx edx, byte [eax + ecx*2 + 0x49d1ac]
mov ecx, esi
call fcn.0086b36e
add esp, 0x10
cmp dword [ebp - 0xc], 0
jne 0x899b62
mov edx, dword [ebp - 0x48]
push 0x20
pop eax
mov ecx, dword [edx + 0xc]
test byte [ecx + 0x24], al
jne 0x899ae3
mov ecx, dword [ebp - 0x3c]
movzx eax, word [ecx + 0x2c]
test eax, 0x400
jne 0x899aa7
test eax, 0x1000
je 0x899a94
xor eax, eax
inc eax
cmp byte [ecx + 0x31], al
je 0x899aa7
mov esi, dword [ebp - 0x40]
push esi
push dword [ebp - 0x24]
call fcn.00898de5
pop ecx
pop ecx
jmp 0x899b65
inc dword [edi + 0x2c]
mov edx, 0x84
mov esi, dword [edi + 0x2c]
mov ecx, dword [ebp - 4]
push esi
push dword [ebp - 0x40]
call fcn.0086b177
mov edx, dword [ebp - 0x24]
mov ecx, edi
push esi
push 0xffffffffffffffff
call fcn.0087b2ec
mov ecx, dword [ebp - 4]
push esi
push 0
push dword [ebp - 0x24]
push 0x20
pop eax
mov edx, eax
call fcn.0086b0f3
add esp, 0x1c
jmp 0x899b62
mov esi, dword [ebp - 0x40]
mov eax, dword [ebp - 0x24]
cmp eax, esi
je 0x899b68
call fcn.0088035b
mov esi, eax
mov ecx, edi
movzx edx, word [esi + 0x32]
call fcn.0087d565
mov ecx, eax
xor eax, eax
mov dword [ebp - 0x14], ecx
cmp ax, word [esi + 0x32]
jae 0x899b48
xor ebx, ebx
mov edi, ecx
mov ecx, dword [ebp - 0x48]
lea eax, [ebx + edi]
push eax
mov eax, dword [esi + 4]
mov dx, word [eax + ebx*2]
call fcn.00880373
mov ecx, dword [ebp - 4]
cwde
push eax
push dword [ebp - 0x40]
push 0x62
pop edx
call fcn.0086b0f3
movzx eax, word [esi + 0x32]
add esp, 0xc
inc ebx
cmp ebx, eax
jl 0x899b10
mov ebx, dword [ebp - 0x28]
mov edi, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x14]
movzx eax, word [esi + 0x32]
push eax
push ecx
push dword [ebp - 0x7c]
mov ecx, dword [ebp - 4]
push dword [ebp - 0x24]
push 0x1d
pop edx
call fcn.0086b36e
add esp, 0x10
mov esi, dword [ebp - 0x40]
mov eax, dword [ebp - 0x24]
cmp dword [ebx], 0
jne 0x899b7d
push dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x48]
mov edx, eax
push esi
call fcn.00898f59
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
test dword [ecx + 0x24], 0x1000
je 0x899b8f
mov byte [ebx + 0x2d], 0xa9
jmp 0x899b9b
cmp dword [ebp - 0x38], 0
sete al
add al, 6
mov byte [ebx + 0x2d], al
xor edx, edx
mov dword [ebx + 0x30], esi
mov al, byte [ecx + 0x26]
inc edx
and al, dl
mov byte [ebx + 0x2e], al
test byte [ecx + 0x24], 0xf
jne 0x899bb2
mov byte [ebx + 0x2f], dl
cmp dword [ebp - 0xc], 0
je 0x89a108
and dword [ebp - 0x48], 0
jmp 0x89a108
test ecx, 0x2000
je 0x89a0c6
mov eax, dword [edi + 0x28]
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x38], eax
inc eax
inc dword [edi + 0x2c]
mov dword [edi + 0x28], eax
mov eax, dword [edi + 0x2c]
mov dword [ebp - 0x60], edx
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x50], edx
call fcn.0086b3bd
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x74]
mov dword [ebp - 0x30], eax
xor eax, eax
mov dword [ebp - 0x4c], eax
mov ecx, dword [ecx + 0x30]
mov edx, dword [edx + 0x10]
mov dword [ebp - 8], eax
mov dword [ebp - 0x44], edx
mov ecx, dword [ecx]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ecx + 0x1c]
mov dword [ebp - 0x64], ecx
mov ecx, dword [ebp - 0xc]
mov dword [ebx + 0x30], ecx
mov ecx, dword [ebp - 0x3c]
mov byte [ebx + 0x2d], 0x3f
mov cl, byte [ecx + 0x2e]
cmp cl, 1
jbe 0x899cf9
movzx ecx, cl
sub ecx, esi
dec ecx
mov dword [ebp - 0x70], ecx
imul ecx, ecx, 0x48
push eax
add ecx, 0x50
push ecx
mov ecx, dword [ebp - 0x5c]
call fcn.00853f0f
pop ecx
pop ecx
mov ecx, eax
mov dword [ebp - 0x2c], ecx
test ecx, ecx
jne 0x899c62
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
jmp 0x89a38d
mov edx, dword [ebp - 0x70]
lea edi, [ecx + 8]
mov esi, dword [ebp - 0x74]
push 0x12
lea eax, [edx + 1]
movzx eax, al
mov dword [ecx + 4], eax
mov dword [ecx], eax
mov eax, dword [ebp - 0x3c]
pop ecx
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [eax + 4]
xor eax, eax
inc eax
mov dword [ebp - 0x34], ecx
cmp edx, eax
jl 0x899cc6
mov eax, dword [ebp - 0x2c]
add eax, 0x50
mov dword [ebp - 0x70], eax
lea eax, [ebx + 0x7c]
mov ebx, dword [ebp - 0x70]
mov dword [ebp - 0x14], eax
movzx eax, byte [eax]
lea esi, [ecx + 8]
imul eax, eax, 0x48
mov edi, ebx
push 0x12
pop ecx
add ebx, 0x48
add esi, eax
mov eax, dword [ebp - 0x14]
add eax, 0x50
mov dword [ebp - 0x14], eax
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x34]
sub edx, 1
jne 0x899c9d
mov ebx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x44]
xor eax, eax
mov edi, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x3c]
test byte [ecx + 0x2c], 0x10
jne 0x899d3e
push 0x20
pop ecx
test byte [edx + 0x24], cl
jne 0x899d04
inc dword [edi + 0x2c]
mov ecx, dword [edi + 0x2c]
push ecx
push eax
mov dword [ebp - 0x20], ecx
mov ecx, dword [ebp - 4]
push 0x46
pop edx
call fcn.0086b177
pop ecx
pop ecx
jmp 0x899d35
mov ecx, dword [ebp - 0x3c]
mov ecx, dword [ecx + 4]
mov dword [ebp - 0x2c], ecx
jmp 0x899cce
mov ecx, edx
call fcn.0088035b
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 - 4]
push eax
push 0x6e
pop edx
call fcn.0086b177
pop ecx
pop ecx
mov edx, esi
mov ecx, edi
call fcn.0086b94f
inc dword [edi + 0x2c]
mov eax, dword [edi + 0x2c]
mov dword [ebp - 0x50], eax
push dword [ebp - 0xc]
mov esi, dword [ebp - 4]
mov ecx, esi
push 0
push 0x43
pop edx
call fcn.0086b177
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x6c]
pop ecx
pop ecx
cmp dword [eax + 0xc], 1
jle 0x899df1
xor edx, edx
mov dword [ebp - 0x14], edx
cmp dword [eax + 0xc], edx
jle 0x899df1
mov edi, dword [ebp - 0x5c]
xor ebx, ebx
mov ecx, ebx
mov dword [ebp - 0x34], ebx
mov esi, ebx
mov eax, dword [eax + 0x14]
add eax, ecx
cmp eax, dword [ebp - 0x1c]
je 0x899dbb
test byte [eax + 0xa], 6
jne 0x899dbb
mov esi, 0x1fff
test word [eax + 0xc], si
mov esi, dword [ebp - 8]
je 0x899dbb
mov edx, dword [eax]
mov ecx, edi
push ebx
call fcn.0087971c
pop ecx
push eax
mov edx, esi
mov ecx, edi
call fcn.00879137
mov edx, dword [ebp - 0x14]
mov esi, eax
pop ecx
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 8], esi
mov eax, dword [ebp - 0x6c]
inc edx
add ecx, 0x30
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x34], ecx
cmp edx, dword [eax + 0xc]
jl 0x899d7c
mov ebx, dword [ebp - 0x28]
test esi, esi
mov edi, dword [ebp - 0x58]
mov esi, dword [ebp - 4]
je 0x899df1
mov ecx, dword [ebp - 8]
mov edx, 0x12c
push ecx
push 0
mov ecx, edi
call fcn.00879043
pop ecx
pop ecx
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x3c]
mov ecx, 0x400
push 0x20
mov ax, word [eax + 0x2c]
and ax, cx
pop ecx
or ax, cx
movzx eax, ax
mov dword [ebp - 0x70], eax
xor eax, eax
push 0x4a6ebc
inc eax
push eax
push edi
call fcn.0086b2ce
mov edx, dword [ebp - 0x64]
xor eax, eax
add esp, 0xc
mov dword [ebp - 0x40], eax
mov ecx, eax
cmp dword [edx + 0xc], eax
jle 0x89a04d
xor ebx, ebx
imul eax, ecx, 0x30
add eax, dword [edx + 0x14]
mov edx, dword [ebp - 0x24]
cmp dword [eax + 0x14], edx
je 0x899e50
mov edx, 0x400
test word [eax + 0xc], dx
je 0x89a038
mov ecx, dword [ebp - 8]
mov eax, dword [eax]
mov dword [ebp - 0x14], ebx
test ecx, ecx
je 0x899e61
mov dword [ecx + 0xc], eax
mov eax, ecx
push dword [ebp - 0x38]
mov edx, dword [ebp - 0x2c]
mov ecx, edi
push dword [ebp - 0x70]
push ebx
push ebx
push eax
call fcn.0089fb34
add esp, 0x14
mov dword [ebp - 0x8c], eax
test eax, eax
je 0x89a035
mov edx, dword [ebp - 0x2c]
lea ecx, [eax + 0x2f0]
push ebx
push ecx
mov ecx, edi
call fcn.00898415
mov eax, dword [ebp - 0x3c]
pop ecx
pop ecx
test byte [eax + 0x2c], 0x10
jne 0x899fbb
mov eax, dword [ebp - 0x64]
mov ecx, dword [ebp - 0x40]
push 0xffffffffffffffff
pop edx
mov eax, dword [eax + 0xc]
dec eax
cmp ecx, eax
mov eax, dword [ebp - 0x44]
push 0x20
cmove ecx, edx
mov dword [ebp - 0x34], ecx
pop ecx
test byte [eax + 0x24], cl
jne 0x899ef4
push ebx
push dword [ebp - 0x50]
mov ecx, edi
push dword [ebp - 0x24]
push edx
mov edx, eax
call fcn.0087b507
push dword [ebp - 0x34]
mov ecx, esi
push eax
push ebx
push dword [ebp - 0x20]
push 0x2d
pop edx
call fcn.0086b36e
add esp, 0x20
mov dword [ebp - 0x14], eax
jmp 0x899fbb
mov ecx, eax
call fcn.0088035b
mov ecx, edi
mov dword [ebp - 0x88], eax
movzx edx, word [eax + 0x32]
mov dword [ebp - 0x68], edx
call fcn.0087d565
mov ecx, eax
mov dword [ebp - 0x18], ecx
test edx, edx
je 0x899f49
mov esi, ebx
mov eax, dword [ebp - 0x88]
add ecx, esi
mov edx, dword [ebp - 0x44]
push ecx
push dword [ebp - 0x24]
mov eax, dword [eax + 4]
mov ecx, edi
movsx eax, word [eax + esi*2]
push eax
call fcn.0087b5a1
mov edx, dword [ebp - 0x68]
add esp, 0xc
mov ecx, dword [ebp - 0x18]
inc esi
cmp esi, edx
jl 0x899f1a
mov esi, dword [ebp - 4]
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x899f6b
push edx
push ecx
push ebx
push dword [ebp - 0x20]
mov ecx, esi
push 0x1e
pop edx
call fcn.0086b36e
mov dword [ebp - 0x14], eax
add esp, 0x10
mov eax, dword [ebp - 0x34]
test eax, eax
js 0x899fad
push dword [ebp - 0x50]
mov ecx, esi
push dword [ebp - 0x68]
push dword [ebp - 0x18]
push 0x65
pop edx
call fcn.0086b0f3
add esp, 0xc
mov edx, 0x81
mov ecx, esi
push dword [ebp - 0x68]
push dword [ebp - 0x18]
push dword [ebp - 0x50]
push dword [ebp - 0x20]
call fcn.0086b36e
add esp, 0x10
cmp dword [ebp - 0x34], ebx
je 0x899fad
push 0x10
pop edx
mov ecx, esi
call fcn.0086b680
push dword [ebp - 0x68]
mov edx, dword [ebp - 0x18]
mov ecx, edi
call fcn.0087d59b
pop ecx
push dword [ebp - 0x30]
mov ecx, esi
push dword [ebp - 0xc]
push 0xe
pop edx
call fcn.0086b177
mov eax, dword [ebp - 0x14]
pop ecx
pop ecx
test eax, eax
je 0x899fdd
mov edx, eax
mov ecx, esi
call fcn.0086b698
mov edx, dword [ebp - 0x8c]
mov eax, dword [ebp - 0x4c]
push 1
pop ecx
cmp byte [edx + 0x32], bl
cmovne eax, ecx
mov ecx, dword [edx + 0x330]
mov dword [ebp - 0x4c], eax
test dword [ecx + 0x24], 0x200
je 0x89a02b
cmp dword [ebp - 0x40], ebx
je 0x89a00e
mov eax, dword [ebp - 0x60]
cmp dword [ecx + 0x20], eax
jne 0x89a02b
mov eax, dword [ebp - 0x44]
test byte [eax + 0x24], 0x20
je 0x89a023
mov eax, dword [ecx + 0x20]
mov eax, dword [eax + 0x38]
and al, 3
cmp al, 2
je 0x89a02b
mov eax, dword [ecx + 0x20]
mov dword [ebp - 0x60], eax
jmp 0x89a02e
mov dword [ebp - 0x60], ebx
mov ecx, edx
call fcn.008a0427
mov ecx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x64]
inc ecx
mov dword [ebp - 0x40], ecx
mov edx, eax
cmp ecx, dword [eax + 0xc]
jl 0x899e33
mov ebx, dword [ebp - 0x28]
mov ecx, edi
call fcn.0086b322
mov eax, dword [ebp - 0x60]
mov dword [ebx + 0x38], eax
test eax, eax
je 0x89a064
mov eax, dword [ebp - 0x38]
mov dword [ebx + 8], eax
mov eax, dword [ebp - 8]
test eax, eax
je 0x89a079
mov ecx, dword [ebp - 0x5c]
mov edx, eax
and dword [eax + 0xc], 0
call fcn.008793d7
mov ecx, esi
call fcn.0086b561
mov edx, dword [ebp - 0x78]
push eax
call fcn.0086b650
mov edx, dword [ebx + 0xc]
pop ecx
mov ecx, esi
call fcn.0086b18c
mov edx, dword [ebp - 0x30]
mov ecx, esi
call fcn.0086b3ff
mov eax, dword [ebp - 0x3c]
xor ecx, ecx
inc ecx
cmp byte [eax + 0x2e], cl
jbe 0x89a0b4
mov edx, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x5c]
call fcn.00853d0a
cmp dword [ebp - 0x4c], 0
jne 0x89a108
mov edx, dword [ebp - 0x1c]
mov ecx, ebx
call fcn.00898661
jmp 0x89a108
mov eax, dword [ebp - 0x74]
push 0x20
pop ecx
test byte [eax + 0x28], cl
je 0x89a0d7
mov byte [ebx + 0x2d], 0xa9
jmp 0x89a108
mov ecx, dword [ebp - 0x38]
push dword [ebp - 0x34]
mov al, byte [ecx + 0x49da98]
movzx edx, byte [ecx + 0x49fe14]
mov ecx, dword [ebp - 4]
mov byte [ebx + 0x2d], al
mov eax, dword [ebp - 0x24]
push eax
mov dword [ebx + 0x30], eax
call fcn.0086b177
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 - 0x48], edx
sete dl
inc edx
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x6c]
xor ecx, ecx
mov dword [ebp - 8], ecx
mov esi, dword [eax + 0x14]
mov eax, dword [eax + 0xc]
jmp 0x89a1fe
xor eax, eax
mov dword [ebp - 0xc], eax
movzx eax, word [esi + 0xa]
test al, 6
jne 0x89a1f4
mov ecx, dword [esi + 0x28]
mov eax, dword [esi + 0x2c]
and ecx, dword [ebx + 0x48]
and eax, dword [ebx + 0x4c]
or ecx, eax
je 0x89a156
mov eax, dword [ebp - 0x3c]
xor ecx, ecx
inc ecx
mov byte [eax + 0x32], cl
jmp 0x89a1f1
mov ecx, dword [ebp - 0x74]
mov eax, dword [esi]
mov dword [ebp - 0x78], eax
test byte [ecx + 0x24], 8
je 0x89a172
xor ecx, ecx
inc ecx
test byte [eax + 4], cl
je 0x89a1f1
jmp 0x89a175
xor ecx, ecx
inc ecx
cmp edx, ecx
jne 0x89a197
push dword [ebp - 0x48]
mov edx, dword [ebx + 4]
mov ecx, eax
call fcn.0087d154
pop ecx
test eax, eax
jne 0x89a224
push 2
pop ecx
mov dword [ebp - 8], ecx
jmp 0x89a1f4
cmp edx, 3
jl 0x89a227
movzx eax, word [esi + 0xa]
test eax, 0x200
je 0x89a1c8
mov edx, dword [ebx + 0x24]
test edx, edx
je 0x89a1c8
mov eax, edx
and edx, ecx
mov ecx, dword [ebp - 4]
add edx, 0x15
shr eax, 1
push eax
call fcn.0086b163
pop ecx
mov dword [ebp - 0xc], eax
push 0x10
push dword [ebp - 0x7c]
push dword [ebp - 0x78]
push edi
call fcn.0087c9b1
mov eax, dword [ebp - 0xc]
add esp, 0x10
test eax, eax
je 0x89a1ea
mov ecx, dword [ebp - 4]
mov edx, eax
call fcn.0086b698
push 4
pop eax
or word [esi + 0xa], ax
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x28]
dec eax
add esi, 0x30
mov dword [ebp - 0x14], eax
test eax, eax
jg 0x89a127
mov edx, ecx
mov dword [ebp - 0x28], edx
test ecx, ecx
jg 0x89a114
mov eax, dword [ebp - 0x6c]
mov esi, dword [eax + 0x14]
mov edx, dword [eax + 0xc]
jmp 0x89a306
xor ecx, ecx
inc ecx
movzx eax, word [esi + 0xa]
test eax, 0x1000
je 0x89a1a4
mov ecx, dword [ebp - 8]
test ecx, ecx
jne 0x89a1f4
push 3
jmp 0x89a191
test byte [esi + 0xa], 6
jne 0x89a302
movzx eax, word [esi + 0xc]
test al, 0x82
push 0xb
pop edi
setne cl
bt ax, di
mov edi, dword [ebp - 0x58]
setb al
test al, cl
je 0x89a302
mov ecx, dword [ebp - 0x24]
cmp dword [esi + 0x14], ecx
jne 0x89a302
cmp dword [ebx], 0
jne 0x89a302
mov eax, dword [esi]
mov edx, ecx
mov ecx, dword [ebp - 0x6c]
push 0
push 0x83
push dword [ebp + 0xc]
mov dword [ebp - 0x78], eax
push dword [ebp + 8]
push dword [esi + 0x1c]
call fcn.0089c177
mov edx, eax
add esp, 0x14
test edx, edx
je 0x89a2ff
test byte [edx + 0xa], 4
jne 0x89a2ff
xor ecx, ecx
inc ecx
test byte [edx + 0xc], cl
je 0x89a2cb
mov eax, dword [edx]
test dword [eax + 4], 0x800
je 0x89a2cb
mov eax, dword [eax + 0x14]
mov eax, dword [eax]
cmp dword [eax], ecx
jg 0x89a2ff
mov esi, dword [edx]
lea edi, [ebp - 0xbc]
mov eax, dword [ebp - 0x78]
push 0xc
pop ecx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [eax + 0xc]
mov edi, dword [ebp - 0x58]
push 0x10
push dword [ebp - 0x7c]
mov dword [ebp - 0xb0], eax
lea eax, [ebp - 0xbc]
push eax
push edi
call fcn.0087c9b1
mov esi, dword [ebp - 0xc]
add esp, 0x10
mov edx, dword [ebp - 0x20]
dec edx
add esi, 0x30
mov dword [ebp - 0x20], edx
mov dword [ebp - 0xc], esi
test edx, edx
jg 0x89a244
cmp dword [ebx], 0
je 0x89a387
mov ecx, dword [ebp - 4]
call fcn.0086b561
push dword [ebx]
mov dword [ebx + 0x1c], eax
xor eax, eax
inc eax
push eax
push 0x43
pop edx
call fcn.0086b177
pop ecx
pop ecx
mov ecx, edi
call fcn.0087b5d3
mov eax, dword [ebp - 0x6c]
xor edx, edx
mov esi, dword [eax + 0x14]
cmp dword [eax + 0xc], edx
jle 0x89a387
test byte [esi + 0xa], 6
jne 0x89a37b
mov ecx, dword [esi + 0x28]
mov eax, dword [esi + 0x2c]
and ecx, dword [ebx + 0x48]
and eax, dword [ebx + 0x4c]
or ecx, eax
jne 0x89a378
push 0x10
push dword [ebp - 0x7c]
push dword [esi]
push edi
call fcn.0087c9b1
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 0x89a348
mov eax, dword [ebx + 0x48]
mov edx, dword [ebx + 0x4c]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret