Function at 0x7009dde0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x36c
mov ebp, dword [esp + 0x384]
lea edi, [esp + 0x168]
mov dword [esp + 0x118], 0
mov dword [esp + 0x11c], 1
mov dword [esp + 0x120], 2
lea eax, [ebp + 0x744]
mov dword [esp + 0x5c], eax
lea eax, [ebp + 0x14c0]
mov dword [esp + 0x60], eax
lea eax, [ebp + 0xc60]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x380]
mov dword [esp + 0x124], 3
mov dword [esp + 0x128], 4
mov dword [esp + 0x12c], 5
mov eax, dword [eax + 0x1a938]
mov dword [esp + 0x130], 6
mov dword [esp + 0x134], 7
mov dword [esp + 0xc4], 0
mov dword [esp + 4], eax
mov eax, dword [esp + 0x380]
mov eax, dword [eax + 0x1a934]
mov dword [esp], eax
call fcn.7012fb80
mov ecx, 0x14
lea edx, [esp + 0x29c]
mov dword [esp + 0x294], 0
mov dword [esp + 0x298], 0
mov dword [esp + 0xc8], 0x7fffffff
mov dword [esp + 0xa8], 0
lea eax, [eax + eax*4]
add eax, eax
mov dword [esp + 0x64], eax
xor eax, eax
rep stosd dword es:[edi], eax
mov edi, edx
mov dword [esp + 0x288], 0x7fffffff
mov dword [esp + 0x284], 0x7fffffff
mov dword [esp + 0x28c], 0x7fffffff
mov dword [esp + 0x290], 0
mov dword [esp + 0xf4], 0
mov cl, 0x10
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x380]
mov eax, dword [eax + 0x23c00]
mov esi, eax
and esi, 1
je 0x7009f6d1
mov dword [esp + 0xf8], 1
mov edi, 8
mov cl, 3
mov edx, 2
mov ebx, eax
and ebx, 2
je 0x7009df64
mov dword [esp + edi + 0xf4], 2
mov edx, ecx
and eax, 4
mov edi, eax
je 0x7009df7e
mov dword [esp + edx*4 + 0xf4], 3
add edx, 1
cmp edx, 4
je 0x7009dfa4
mov eax, edx
neg eax
lea eax, [eax*4 + 0x10]
mov dword [esp + 8], eax
lea eax, [esp + edx*4 + 0xf4]
mov dword [esp + 4], 0xffffffff
mov dword [esp], eax
call fcn.6fef7ef0
mov eax, dword [esp + 0xf8]
test eax, eax
jle 0x7009f750
mov esi, dword [esp + 0x380]
mov dword [esp + 0x14], eax
lea eax, [esp + 0xe4]
mov dword [esp + 0x10], eax
lea eax, [esp + 0xdc]
mov dword [esp + 0xc], eax
lea eax, [esp + 0x168]
lea edx, [esi + 0x1b694]
mov dword [esp + 0x18], edx
mov dword [esp + 8], eax
mov eax, dword [ebp + 0x1838]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x74]
mov dword [esp], eax
call fcn.70133610
mov esi, eax
mov dword [esp + 0x48], eax
lea eax, [eax + eax*4]
lea eax, [esp + eax*8 + 0x168]
mov dword [esp + 0x40], eax
mov eax, dword [esp + esi*4 + 0xdc]
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0x380]
mov edi, dword [eax + 0x23c00]
mov esi, edi
mov ebx, edi
and esi, 1
and ebx, 2
and edi, 4
test esi, esi
je 0x7009e08e
mov eax, dword [esp + 0x380]
mov esi, dword [esp + 0x380]
imul eax, dword [eax + 0x1a7dc], 0x5c
lea eax, [esi + eax + 0x1a658]
mov edx, dword [eax + 0x34]
add edx, dword [esp + 0x388]
mov dword [esp + 0x144], edx
mov edx, dword [eax + 0x38]
mov eax, dword [eax + 0x3c]
add edx, dword [esp + 0x38c]
add eax, dword [esp + 0x38c]
mov dword [esp + 0x148], edx
mov dword [esp + 0x14c], eax
test ebx, ebx
je 0x7009e0e1
mov eax, dword [esp + 0x380]
mov esi, dword [esp + 0x380]
imul eax, dword [eax + 0x1a7e0], 0x5c
lea eax, [esi + eax + 0x1a658]
mov edx, dword [eax + 0x34]
add edx, dword [esp + 0x388]
mov dword [esp + 0x150], edx
mov edx, dword [eax + 0x38]
mov eax, dword [eax + 0x3c]
add edx, dword [esp + 0x38c]
add eax, dword [esp + 0x38c]
mov dword [esp + 0x154], edx
mov dword [esp + 0x158], eax
test edi, edi
je 0x7009e134
mov eax, dword [esp + 0x380]
mov esi, dword [esp + 0x380]
imul eax, dword [eax + 0x1a7e4], 0x5c
lea eax, [esi + eax + 0x1a658]
mov edx, dword [eax + 0x34]
add edx, dword [esp + 0x388]
mov dword [esp + 0x15c], edx
mov edx, dword [eax + 0x38]
mov eax, dword [eax + 0x3c]
add edx, dword [esp + 0x38c]
add eax, dword [esp + 0x38c]
mov dword [esp + 0x160], edx
mov dword [esp + 0x164], eax
mov eax, dword [esp + 0x398]
lea ebx, [ebp + 0x6e70]
mov dword [esp + 0x84], 0x7fffffff
mov dword [esp + 0x88], 0x7fffffff
mov dword [esp + 0x8c], 0
mov dword [eax], 0x7fffffff
mov eax, dword [esp + 0x380]
add dword [ebp + 0x6f10], 1
mov dword [ebp + 0x1c00], 0
add eax, 0x1d024
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x380]
mov dword [esp + 0x70], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x4c], 0
add eax, 0x23bcc
mov dword [esp + 0x30], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x68], eax
mov dword [esp + 0x34], ebx
jmp 0x7009e1fa
mov eax, dword [eax + 0x1cde4]
test eax, eax
jne 0x7009e287
cmp edi, 7
je 0x7009f783
nop
add dword [esp + 0x30], 1
add dword [esp + 0x38], 4
add dword [esp + 0x34], 4
cmp dword [esp + 0x30], 0x14
je 0x7009f3a8
mov eax, dword [esp + 0x30]
mov dword [esp + 0xcc], 0
mov dword [esp + 0xd0], 0
mov ebx, dword [eax*4 + 0x70799b00]
mov eax, dword [esp + 0x34]
mov esi, dword [esp + ebx*4 + 0xf4]
mov eax, dword [eax + 0x50]
cmp dword [esp + 0x288], eax
jle 0x7009e1e0
test esi, esi
js 0x7009e1e0
mov eax, dword [esp + 0x30]
mov dword [esp + 0x104], 0
mov dword [esp + 0x110], 0
mov eax, dword [eax*4 + 0x70799b60]
mov edi, eax
mov dword [esp + 0x3c], eax
mov eax, dword [ebp + 0x1838]
mov ecx, edi
mov byte [eax], cl
mov eax, dword [ebp + 0x1838]
mov ecx, esi
mov byte [eax + 2], cl
mov eax, dword [esp + 0x380]
mov edx, dword [eax + 0x1cf4c]
test edx, edx
jne 0x7009e1c7
mov eax, dword [ebp + 0x1838]
cmp byte [eax + 2], 0
je 0x7009e2f4
lea eax, [esi + esi*2]
shl eax, 2
mov edx, dword [esp + eax + 0x138]
mov dword [ebp + 0x17b4], edx
mov edx, dword [esp + eax + 0x13c]
mov eax, dword [esp + eax + 0x140]
mov dword [ebp + 0x17b8], edx
mov dword [ebp + 0x17bc], eax
mov eax, dword [esp + 0x380]
mov eax, dword [eax + esi*4 + 0x1b694]
cmp eax, dword [esp + 0x48]
je 0x7009e2f4
lea edx, [eax + eax*4]
lea edi, [esp + edx*8 + 0x168]
mov edx, dword [esp + eax*4 + 0xdc]
mov dword [esp + 0x40], edi
mov dword [esp + 0x48], eax
mov dword [esp + 0xa8], edx
mov eax, dword [esp + 0x34]
mov eax, dword [eax + 0xa4]
test eax, eax
je 0x7009e350
mov edi, dword [esp + 0x38]
mov edx, dword [edi - 0x50]
cmp edx, 1
jbe 0x7009e350
imul edx, eax
cmp dword [ebp + 0x6f10], edx
ja 0x7009e350
mov eax, dword [esp + 0x34]
mov eax, dword [eax]
lea edx, [eax + 4]
cmp edx, 0x200
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x34]
jg 0x7009f5c0
mov dword [eax], edx
mov esi, eax
mov eax, dword [esp + 0x38]
mov eax, dword [eax]
sar eax, 7
imul eax, edx
mov dword [esi + 0x50], eax
jmp 0x7009e1e0
mov edi, dword [esp + 0x34]
add eax, 1
mov dword [edi + 0xa4], eax
mov ecx, dword [ebp + 0x6f64]
test ecx, ecx
je 0x7009e3a2
test esi, esi
je 0x7009f311
cmp dword [esp + 0x3c], 7
je 0x7009fa98
cmp dword [esp + 0x3c], 9
je 0x7009f311
mov dword [ebp + 0x6f68], 4
mov eax, dword [esp + 0x380]
mov dword [esp + 4], ebp
mov dword [esp], eax
call fcn.700ab2a0
or esi, dword [esp + 0x44]
je 0x7009f320
mov eax, dword [esp + 0x3c]
cmp eax, 9
ja case.default.0x7009e3b9
jmp dword [eax*4 + 0x7079962c]
mov dword [esp + 0x384], edi
mov edi, dword [esp + 0x50]
mov ebp, dword [esp + 0x384]
cmp edi, 1
je 0x700a01a5
mov eax, dword [esp + 0x90]
cmp dword [esp + 0x58], 0x7fffffff
mov dword [ebp + 0x1bf0], eax
mov eax, dword [esp + 0x94]
mov dword [ebp + 0x1bf4], eax
mov eax, dword [esp + 0x98]
mov dword [ebp + 0x1bf8], eax
mov eax, dword [esp + 0x9c]
mov dword [ebp + 0x1bfc], eax
je 0x7009e47f
lea eax, [esp + 0x1b8]
mov dword [esp + 0x24], eax
lea eax, [esp + 0xd8]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0x1ba8]
mov dword [esp], ebp
mov dword [esp + 0x14], eax
lea eax, [esp + 0xa8]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x380]
call dword [eax + 0x23d80]
mov eax, dword [ebp + 0x14d8]
mov esi, dword [esp + 0x40]
mov ebx, dword [esp + 0x104]
mov dword [esi + 0x20], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0xc], 0x60
mov dword [esp + 8], eax
lea eax, [esp + 0xa8]
mov dword [esp + 4], eax
lea eax, [esi + 0x20]
mov dword [esp], eax
call fcn.700a2960
add ebx, eax
mov dword [esp + 0x104], ebx
mov eax, dword [esp + 0x40]
mov esi, dword [esp + 0x3c]
mov ecx, dword [ebp + 0x1898]
lea eax, [eax + esi*4]
movsx edx, word [eax + 2]
lea ebx, [ecx - 0x80]
cmp edx, ebx
jge 0x7009f6b0
add ecx, 0xffffff80
mov word [eax + 2], cx
movzx edx, word [eax]
mov ebx, dword [ebp + 0x18a0]
movsx ecx, dx
lea esi, [ebx - 0x80]
cmp ecx, esi
jl 0x7009f768
mov ebx, dword [ebp + 0x18a4]
lea esi, [ebx + 0x80]
cmp ecx, esi
jle 0x7009e519
lea edx, [ebx + 0x80]
mov word [eax], dx
mov edi, dword [esp + 0x3c]
lea ecx, [edi - 5]
cmp ecx, 1
ja 0x7009ec0d
mov ecx, dword [eax]
test ecx, ecx
je 0x7009e1e0
jmp 0x7009ec0d
mov eax, dword [esp + 0x284]
lea ecx, [esp + 0x108]
lea edx, [esp + 0xb0]
mov dword [esp + 4], eax
lea eax, [esp + 0x1b8]
mov dword [esp], eax
mov eax, ebp
call fcn.7009aed0
mov ecx, dword [esp + 0x104]
mov edx, dword [esp + 0x110]
add ecx, dword [esp + 0xb0]
add edx, dword [esp + 0x1b8]
cmp eax, dword [esp + 0x284]
mov dword [esp + 0x104], ecx
mov dword [esp + 0x110], edx
jge 0x7009f6f0
add ecx, dword [esp + 0xb4]
mov dword [esp + 0x104], ecx
jmp 0x7009e64d
mov eax, dword [ebp + 0x1838]
mov esi, dword [esp + 0x74]
mov byte [eax + 2], 0
mov edx, dword [ebp + 0x1810]
mov eax, dword [ebp + 0x17ec]
mov dword [esp + 0x14], 0x10
mov dword [esp + 0x10], esi
lea ecx, [edx - 1]
sub edx, eax
mov dword [esp + 0xc], eax
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
mov dword [esp], esi
call dword [0x70ea6214]
lea ecx, [esp + 0x1b8]
mov eax, ebp
lea edx, [esp + 0x108]
call fcn.7009ab30
mov ecx, dword [ebp + 0x1840]
mov ebx, dword [ebp + 0x1bdc]
mov eax, dword [esp + 0x104]
mov edx, dword [esp + 0x110]
lea ecx, [ecx + ecx*4]
lea ecx, [ebx + ecx*8]
mov ebx, dword [ebp + 0x1838]
add eax, dword [esp + 0x108]
add edx, dword [esp + 0x1b8]
movzx ebx, byte [ebx]
add eax, dword [ecx + ebx*4]
add eax, dword [esp + 0xb4]
mov dword [esp + 0x104], eax
mov eax, dword [esp + 0xbc]
mov dword [esp + 0x10c], eax
mov eax, dword [esp + 0xb8]
add edx, eax
mov dword [esp + 0x110], edx
mov dword [esp + 0x114], eax
mov ecx, dword [esp + 0xcc]
mov eax, 0x7fffffff
lea ebx, [esp + 0x104]
mov edi, dword [esp + 0x68]
mov esi, dword [esp + 0x4c]
mov dword [esp], ecx
lea ecx, [esp + 0xd0]
mov dword [esp + 0x14], ebp
mov dword [esp + 0x10], edi
mov edi, dword [esp + 0x380]
mov dword [esp + 4], esi
lea edx, [edi + 0x1a924]
mov edi, dword [esp + 0x64]
mov dword [esp + 0xc], edx
mov edx, ebx
mov dword [esp + 8], edi
call fcn.7009a570
mov ecx, dword [ebp + 0x1838]
cmp byte [ecx + 2], 0
mov esi, eax
jne 0x7009e6f1
cmp eax, dword [esp + 0x28c]
jge 0x7009e6f1
mov dword [esp + 0x28c], eax
mov edi, dword [esp + 0x398]
mov eax, dword [esp + 0x110]
mov dword [edi], eax
mov eax, dword [esp + 0x380]
mov eax, dword [eax + 0x1cd30]
test eax, eax
jne 0x7009f5e0
cmp esi, dword [esp + 0x288]
jl 0x7009e71d
mov edi, dword [ebp + 0x1c00]
test edi, edi
je 0x7009e319
mov eax, dword [esp + 0x390]
mov ebx, dword [esp + 0x104]
mov edi, dword [esp + 0x394]
cmp dword [esp + 0x3c], 4
mov dword [eax], ebx
mov eax, dword [esp + 0x110]
mov dword [edi], eax
ja 0x7009e75f
movzx edx, byte [esp + 0x70]
mov byte [ecx + 1], dl
mov edx, dword [ebp + 0x1838]
mov dword [edx + 4], 0
mov ecx, dword [ebp + 0x1838]
movzx edi, byte [ecx + 2]
sub ebx, dword [esp + 0x10c]
sub ebx, dword [esp + 0xd0]
sub eax, dword [esp + 0x114]
sub ebx, dword [ebp + edi*4 + 0x1b8c]
imul ebx, dword [ebp + 0x1bb8]
imul eax, dword [ebp + 0x1bb4]
movzx edx, byte [ecx]
mov dword [esp + 0x288], esi
mov esi, dword [ebp + 0x1b80]
sub ebx, 0xffffff80
sar ebx, 8
add ebx, eax
cmp edx, 9
mov dword [esp + 0x284], ebx
mov eax, dword [ecx]
mov dword [esp + 0x290], eax
mov eax, dword [ecx + 4]
mov dword [esp + 0x294], eax
mov eax, dword [ecx + 8]
mov ecx, 0x21
mov dword [esp + 0x298], eax
lea eax, [esp + 0x2dc]
mov edi, eax
rep movsd dword es:[edi], dword [esi]
jne 0x7009f5d2
mov eax, dword [ebp + 0x14d8]
mov dword [esp + 0x29c], eax
mov eax, dword [ebp + 0x14f4]
mov dword [esp + 0x2a0], eax
mov eax, dword [ebp + 0x1510]
mov dword [esp + 0x2a4], eax
mov eax, dword [ebp + 0x152c]
mov dword [esp + 0x2a8], eax
mov eax, dword [ebp + 0x1548]
mov dword [esp + 0x2ac], eax
mov eax, dword [ebp + 0x1564]
mov dword [esp + 0x2b0], eax
mov eax, dword [ebp + 0x1580]
mov dword [esp + 0x2b4], eax
mov eax, dword [ebp + 0x159c]
mov dword [esp + 0x2b8], eax
mov eax, dword [ebp + 0x15b8]
mov dword [esp + 0x2bc], eax
mov eax, dword [ebp + 0x15d4]
mov dword [esp + 0x2c0], eax
mov eax, dword [ebp + 0x15f0]
mov dword [esp + 0x2c4], eax
mov eax, dword [ebp + 0x160c]
mov dword [esp + 0x2c8], eax
mov eax, dword [ebp + 0x1628]
mov dword [esp + 0x2cc], eax
mov eax, dword [ebp + 0x1644]
mov dword [esp + 0x2d0], eax
mov eax, dword [ebp + 0x1660]
mov dword [esp + 0x2d4], eax
mov eax, dword [ebp + 0x167c]
mov dword [esp + 0x2d8], eax
mov edi, dword [esp + 0x34]
mov eax, 0x20
mov esi, dword [esp + 0x38]
mov edx, dword [edi]
cmp edx, 0x22
lea ecx, [edx - 2]
cmovge eax, ecx
mov dword [edi], eax
mov edx, dword [esi]
mov ecx, dword [ebp + 0x1c00]
sar edx, 7
imul eax, edx
test ecx, ecx
mov dword [edi + 0x50], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x54], eax
je 0x7009e1e0
mov edi, eax
jmp 0x7009f3ac
mov eax, dword [esp + 0x380]
movzx edx, word [esp + 0xa8]
movzx ebx, word [esp + 0xaa]
mov esi, dword [eax + 0x23c7c]
mov eax, dword [ebp + 0x1bac]
movsx edi, bx
add edi, 7
sar bx, 3
mov dword [esp + 0x78], eax
movsx eax, dx
movsx ebx, bx
add eax, 7
add ebx, 0xff
sar eax, 3
sar dx, 3
sub eax, 0xff
movsx edx, dx
mov dword [esp + 0x50], eax
lea eax, [edx + 0xff]
mov dword [esp + 0x58], eax
mov eax, dword [ebp + 0x1bf0]
sar edi, 3
sub edi, 0xff
lea edx, [esp + 0x118]
mov dword [esp + 0x90], eax
mov eax, dword [ebp + 0x1bf4]
mov dword [esp + 0x94], eax
mov eax, dword [ebp + 0x1bf8]
mov dword [esp + 0x98], eax
mov eax, dword [ebp + 0x1bfc]
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0x8c]
test eax, eax
je 0x7009fab3
mov ecx, dword [esp + 0x380]
mov eax, dword [ebp + 0x1838]
mov dword [esp + 0x1c], edx
lea edx, [esp + 0xc4]
mov dword [esp + 0x18], edx
lea edx, [ecx + 0x1b694]
mov dword [esp + 0x14], edx
movzx edx, byte [eax + 2]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x74]
mov dword [esp], ecx
mov dword [esp + 0x10], edx
lea edx, [esp + 0xc0]
mov dword [esp + 4], eax
mov dword [esp + 0xc], edx
call fcn.7009d200
movzx eax, word [esp + 0xc2]
sar ax, 3
mov word [esp + 0xd6], ax
movzx eax, word [esp + 0xc0]
sar ax, 3
cmp edi, dword [ebp + 0x1bf0]
mov word [esp + 0xd4], ax
jle 0x7009ea27
mov dword [ebp + 0x1bf0], edi
cmp ebx, dword [ebp + 0x1bf4]
jge 0x7009ea35
mov dword [ebp + 0x1bf4], ebx
mov eax, dword [esp + 0x50]
cmp eax, dword [ebp + 0x1bf8]
jle 0x7009ea47
mov dword [ebp + 0x1bf8], eax
mov eax, dword [esp + 0x58]
cmp eax, dword [ebp + 0x1bfc]
jl 0x7009f6e5
mov eax, dword [esp + 0xc4]
lea ecx, [ebp + 0x14d8]
mov edi, dword [esp + 0x380]
lea ebx, [esp + 0xa8]
mov dword [esp + 0x80], ecx
mov dword [esp + 0x28], ebx
cmp eax, esi
cmovge esi, eax
add edi, 0x23e30
lea eax, [ebp + 0x1bcc]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x24], eax
lea eax, [esp + 0xac]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x7c], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x10], ecx
mov dword [esp + 0x18], eax
lea eax, [esp + 0xd4]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x14], esi
mov dword [esp], ebp
mov dword [esp + 8], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x380]
call dword [eax + 0x23d8c]
mov edi, dword [esp + 0x40]
xor ecx, ecx
mov ebx, dword [esp + 0xac]
mov dword [esp + 0xac], 0
mov dword [esp + 0x58], eax
mov eax, dword [ebp + 0x14d8]
mov dword [edi + 0x20], eax
mov edi, dword [esp + 0x380]
mov eax, esi
not eax
add eax, dword [edi + 0x23c78]
cmp eax, ebx
setge cl
mov edi, ecx
jle 0x7009e3d2
lea esi, [esi + ebx + 1]
not ebx
mov dword [esp + 0x50], edi
add ebx, eax
xor edx, edx
mov dword [esp + 0x384], ebp
mov edi, ebp
jmp 0x7009eb59
sub edx, 1
mov dword [esp + 0xac], edx
sub ebx, 1
add esi, 1
cmp ebx, 0xffffffff
je 0x7009e3c0
test edx, edx
jne 0x7009eb40
lea eax, [esp + 0xa8]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x14], esi
mov dword [esp], edi
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x20], eax
lea eax, [esp + 0xac]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0x10], eax
lea eax, [esp + 0xd4]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x380]
call dword [eax + 0x23d8c]
mov edx, dword [esp + 0xac]
mov ecx, 0
cmp ebx, edx
cmovge ecx, dword [esp + 0x50]
cmp eax, dword [esp + 0x58]
mov dword [esp + 0x50], ecx
jge 0x7009f5a8
mov ecx, dword [esp + 0x40]
mov ebp, dword [edi + 0x14d8]
mov dword [esp + 0x58], eax
mov dword [ecx + 0x20], ebp
jmp 0x7009eb4a
mov edi, dword [esp + 0x40]
movzx edx, word [edi + 0x1c]
mov eax, edi
add eax, 0x1c
sar dx, 3
movsx edx, dx
cmp edx, dword [ebp + 0x1bf8]
jl 0x7009e1e0
cmp edx, dword [ebp + 0x1bfc]
jg 0x7009e1e0
movzx edx, word [eax + 2]
sar dx, 3
movsx edx, dx
cmp edx, dword [ebp + 0x1bf0]
jl 0x7009e1e0
cmp edx, dword [ebp + 0x1bf4]
jg 0x7009e1e0
mov edx, dword [ebp + 0x1838]
lea ebx, [esp + 0x104]
movzx ecx, byte [esp + 0x3c]
mov byte [edx], cl
mov edx, dword [ebp + 0x1838]
lea ecx, [esp + 0xcc]
mov eax, dword [eax]
mov dword [edx + 4], eax
mov eax, dword [esp + 0x380]
mov edx, ebx
mov dword [esp + 4], ebp
add eax, 0x23cb8
mov dword [esp], eax
lea eax, [esp + 0xe4]
call fcn.7009ce60
mov ecx, dword [esp + 0xcc]
jmp 0x7009e685
cmp ebx, 1
je 0x7009faf5
cmp ebx, 2
mov edx, dword [ebp + 0x6efc]
jne 0x7009ecbc
mov edx, dword [ebp + 0x6ef8]
lea esi, [esp + 0x1b8]
xor eax, eax
mov ebx, dword [esp + 0x284]
mov ecx, 0x33
mov edi, esi
rep stosd dword es:[edi], eax
lea eax, [esp + 0xa8]
mov dword [esp + 0x1b8], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 0x264], edx
mov dword [esp + 0x1c0], ebx
mov dword [esp + 0x1d4], 0xc
mov dword [esp + 0x1bc], eax
lea eax, [esp + 0xe4]
mov dword [esp + 0x268], eax
mov eax, dword [esp + 0x380]
mov dword [esp + 0x1d8], 0xc
mov dword [esp + 0x1dc], 0xc
mov dword [esp + 0x1e0], 0xc
mov edx, dword [eax + 0x23ba8]
mov dword [esp + 0x1e4], 0xc
mov dword [esp + 0x1e8], 0xc
mov dword [esp + 0x1ec], 0xc
test edx, edx
mov dword [esp + 0x1f0], 0xc
mov dword [esp + 0x1f4], 0xc
mov dword [esp + 0x1f8], 0xc
mov dword [esp + 0x1fc], 0xc
mov dword [esp + 0x200], 0xc
mov dword [esp + 0x204], 0xc
mov dword [esp + 0x208], 0xc
mov dword [esp + 0x20c], 0xc
mov dword [esp + 0x210], 0xc
jne 0x7009f798
mov ecx, esi
mov edx, ebp
mov dword [esp], 0
call fcn.7009b590
mov eax, dword [esp + 0x380]
mov ecx, esi
mov edx, ebp
mov dword [esp], 1
call fcn.7009b590
mov eax, dword [esp + 0x380]
mov ecx, esi
mov edx, ebp
mov dword [esp], 2
call fcn.7009b590
mov eax, dword [esp + 0x380]
mov ecx, esi
mov dword [esp], 3
mov edx, ebp
call fcn.7009b590
mov eax, dword [esp + 0x214]
mov edx, dword [ebp + 0x14d4]
mov dword [ebp + 0x14d8], eax
movzx eax, byte [esp + 0x254]
mov byte [edx], al
mov eax, dword [esp + 0x218]
mov edx, dword [ebp + 0x14f0]
mov dword [ebp + 0x14f4], eax
movzx eax, byte [esp + 0x255]
mov byte [edx], al
mov eax, dword [esp + 0x21c]
mov edx, dword [ebp + 0x150c]
mov dword [ebp + 0x1510], eax
movzx eax, byte [esp + 0x256]
mov byte [edx], al
mov eax, dword [esp + 0x220]
mov edx, dword [ebp + 0x1528]
mov dword [ebp + 0x152c], eax
movzx eax, byte [esp + 0x257]
mov byte [edx], al
mov eax, dword [esp + 0x224]
mov edx, dword [ebp + 0x1544]
mov dword [ebp + 0x1548], eax
movzx eax, byte [esp + 0x258]
mov byte [edx], al
mov eax, dword [esp + 0x228]
mov edx, dword [ebp + 0x1560]
mov dword [ebp + 0x1564], eax
movzx eax, byte [esp + 0x259]
mov byte [edx], al
mov eax, dword [esp + 0x22c]
mov edx, dword [ebp + 0x157c]
mov dword [ebp + 0x1580], eax
movzx eax, byte [esp + 0x25a]
mov byte [edx], al
mov eax, dword [esp + 0x230]
mov edx, dword [ebp + 0x1598]
mov dword [ebp + 0x159c], eax
movzx eax, byte [esp + 0x25b]
mov byte [edx], al
mov eax, dword [esp + 0x234]
mov edx, dword [ebp + 0x15b4]
mov dword [ebp + 0x15b8], eax
movzx eax, byte [esp + 0x25c]
mov byte [edx], al
mov eax, dword [esp + 0x238]
mov edx, dword [ebp + 0x15d0]
mov dword [ebp + 0x15d4], eax
movzx eax, byte [esp + 0x25d]
mov byte [edx], al
mov eax, dword [esp + 0x23c]
mov edx, dword [ebp + 0x15ec]
mov dword [ebp + 0x15f0], eax
movzx eax, byte [esp + 0x25e]
mov byte [edx], al
mov eax, dword [esp + 0x240]
mov edx, dword [ebp + 0x1608]
mov dword [ebp + 0x160c], eax
movzx eax, byte [esp + 0x25f]
mov byte [edx], al
mov eax, dword [esp + 0x244]
mov edx, dword [ebp + 0x1624]
mov dword [ebp + 0x1628], eax
movzx eax, byte [esp + 0x260]
mov byte [edx], al
mov eax, dword [esp + 0x248]
mov edx, dword [ebp + 0x1640]
mov dword [ebp + 0x1644], eax
movzx eax, byte [esp + 0x261]
mov byte [edx], al
mov eax, dword [esp + 0x24c]
mov edx, dword [ebp + 0x165c]
mov dword [ebp + 0x1660], eax
movzx eax, byte [esp + 0x262]
mov byte [edx], al
mov eax, dword [esp + 0x250]
mov edx, dword [ebp + 0x1678]
mov dword [ebp + 0x167c], eax
movzx eax, byte [esp + 0x263]
mov byte [edx], al
mov eax, dword [esp + 0x1cc]
mov ecx, dword [esp + 0x1c4]
mov esi, dword [esp + 0x1c8]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x1d0]
mov edx, dword [ecx*4 + 0x70798e10]
mov dword [esp + 0xb0], esi
mov dword [esp + 0x108], eax
mov eax, dword [ebp + 0x1838]
test edx, edx
mov byte [eax + 8], cl
mov eax, dword [ebp + 0x1b80]
mov dword [eax], edx
jle 0x7009f2bd
mov ebx, ecx
shl ebx, 4
lea edx, [ebx + 0x707a54c0]
movzx ebx, byte [ebx + 0x707a54c0]
mov edi, dword [esp + ebx*4 + 0x1d4]
mov dword [eax + 4], edi
mov ebx, dword [esp + ebx*4 + 0x214]
mov dword [eax + 8], ebx
mov eax, dword [ebp + 0x1b80]
cmp dword [eax], 1
jle 0x7009f2bd
movzx ebx, byte [edx + 1]
mov edi, dword [esp + ebx*4 + 0x1d4]
mov dword [eax + 0xc], edi
mov ebx, dword [esp + ebx*4 + 0x214]
mov dword [eax + 0x10], ebx
mov eax, dword [ebp + 0x1b80]
cmp dword [eax], 2
jle 0x7009f2bd
movzx ebx, byte [edx + 2]
mov edi, dword [esp + ebx*4 + 0x1d4]
mov dword [eax + 0x14], edi
mov ebx, dword [esp + ebx*4 + 0x214]
mov dword [eax + 0x18], ebx
mov eax, dword [ebp + 0x1b80]
cmp dword [eax], 3
jle 0x7009f2bd
movzx ebx, byte [edx + 3]
mov edi, dword [esp + ebx*4 + 0x1d4]
mov dword [eax + 0x1c], edi
mov ebx, dword [esp + ebx*4 + 0x214]
mov dword [eax + 0x20], ebx
mov eax, dword [ebp + 0x1b80]
cmp dword [eax], 4
jle 0x7009f2bd
movzx ebx, byte [edx + 4]
mov edi, dword [esp + ebx*4 + 0x1d4]
mov dword [eax + 0x24], edi
mov ebx, dword [esp + ebx*4 + 0x214]
mov dword [eax + 0x28], ebx
mov eax, dword [ebp + 0x1b80]
cmp dword [eax], 5
jle 0x7009f2bd
movzx ebx, byte [edx + 5]
mov edi, dword [esp + ebx*4 + 0x1d4]
mov dword [eax + 0x2c], edi
mov ebx, dword [esp + ebx*4 + 0x214]
mov dword [eax + 0x30], ebx
mov eax, dword [ebp + 0x1b80]
cmp dword [eax], 6
jle 0x7009f2bd
movzx ebx, byte [edx + 6]
mov edi, dword [esp + ebx*4 + 0x1d4]
mov dword [eax + 0x34], edi
mov ebx, dword [esp + ebx*4 + 0x214]
mov dword [eax + 0x38], ebx
mov eax, dword [ebp + 0x1b80]
cmp dword [eax], 7
jle 0x7009f2bd
movzx ebx, byte [edx + 7]
mov edi, dword [esp + ebx*4 + 0x1d4]
mov dword [eax + 0x3c], edi
mov ebx, dword [esp + ebx*4 + 0x214]
mov dword [eax + 0x40], ebx
mov eax, dword [ebp + 0x1b80]
cmp dword [eax], 8
jle 0x7009f2bd
movzx edx, byte [edx + 8]
mov ebx, dword [esp + edx*4 + 0x1d4]
mov dword [eax + 0x44], ebx
mov edx, dword [esp + edx*4 + 0x214]
mov dword [eax + 0x48], edx
mov eax, dword [ebp + 0x1b80]
cmp dword [eax], 9
jle 0x7009f2bd
shl ecx, 4
movzx edx, byte [ecx + 0x707a54c9]
add ecx, 0x707a54c0
mov ebx, dword [esp + edx*4 + 0x1d4]
mov dword [eax + 0x4c], ebx
mov edx, dword [esp + edx*4 + 0x214]
mov dword [eax + 0x50], edx
mov eax, dword [ebp + 0x1b80]
cmp dword [eax], 0xa
jle 0x7009f2bd
movzx edx, byte [ecx + 0xa]
mov ebx, dword [esp + edx*4 + 0x1d4]
mov dword [eax + 0x54], ebx
mov edx, dword [esp + edx*4 + 0x214]
mov dword [eax + 0x58], edx
mov eax, dword [ebp + 0x1b80]
cmp dword [eax], 0xb
jle 0x7009f2bd
movzx edx, byte [ecx + 0xb]
mov ebx, dword [esp + edx*4 + 0x1d4]
mov dword [eax + 0x5c], ebx
mov edx, dword [esp + edx*4 + 0x214]
mov dword [eax + 0x60], edx
mov eax, dword [ebp + 0x1b80]
cmp dword [eax], 0xc
jle 0x7009f2bd
movzx edx, byte [ecx + 0xc]
mov ebx, dword [esp + edx*4 + 0x1d4]
mov dword [eax + 0x64], ebx
mov edx, dword [esp + edx*4 + 0x214]
mov dword [eax + 0x68], edx
mov eax, dword [ebp + 0x1b80]
cmp dword [eax], 0xd
jle 0x7009f2bd
movzx edx, byte [ecx + 0xd]
mov ebx, dword [esp + edx*4 + 0x1d4]
mov dword [eax + 0x6c], ebx
mov edx, dword [esp + edx*4 + 0x214]
mov dword [eax + 0x70], edx
mov eax, dword [ebp + 0x1b80]
cmp dword [eax], 0xe
jle 0x7009f2bd
movzx edx, byte [ecx + 0xe]
mov ebx, dword [esp + edx*4 + 0x1d4]
mov dword [eax + 0x74], ebx
mov edx, dword [esp + edx*4 + 0x214]
mov dword [eax + 0x78], edx
mov eax, dword [ebp + 0x1b80]
cmp dword [eax], 0xf
jle 0x7009f2bd
movzx edx, byte [ecx + 0xf]
mov ecx, dword [esp + edx*4 + 0x1d4]
mov dword [eax + 0x7c], ecx
mov edx, dword [esp + edx*4 + 0x214]
mov dword [eax + 0x80], edx
mov eax, dword [ebp + 0x1b80]
mov edx, dword [esp + 0x250]
add dword [esp + 0x104], esi
mov dword [eax + 0x80], edx
mov eax, dword [esp + 0x50]
add dword [esp + 0x110], eax
mov eax, dword [esp + 0x1c0]
cmp dword [esp + 0x284], eax
jg 0x700a0103
mov dword [esp + 0xcc], 1
mov ecx, 1
mov eax, 0x7fffffff
lea ebx, [esp + 0x104]
jmp 0x7009e685
mov dword [ebp + 0x6f68], 0
jmp 0x7009e38f
lea eax, [esp + 0xb8]
mov dword [esp], eax
lea edx, [esp + 0xb4]
mov eax, ebp
lea ecx, [esp + 0xbc]
call fcn.7009a990
mov eax, dword [ebp + 0x1838]
movsx edx, byte [ebp + 0x1430]
add edx, dword [esp + 0x4c]
mov dword [esp + 0x44], 1
movzx eax, byte [eax + 1]
mov dword [esp + 0x70], eax
movsx eax, byte [ebp + 0x1431]
add edx, eax
movsx eax, byte [ebp + 0x1432]
add edx, eax
movsx eax, byte [ebp + 0x1433]
add edx, eax
movsx eax, byte [ebp + 0x1434]
add edx, eax
movsx eax, byte [ebp + 0x1435]
add edx, eax
movsx eax, byte [ebp + 0x1436]
add edx, eax
movsx eax, byte [ebp + 0x1437]
add eax, edx
mov dword [esp + 0x4c], eax
jmp 0x7009e3ac
mov edi, dword [esp + 0x54]
mov eax, dword [esp + 0x380]
mov eax, dword [eax + edi*4 + 0x1d024]
lea edx, [eax - 1]
cmp edx, 0x1ffffffd
ja 0x7009f3f7
lea ecx, [ebp + edi*4]
mov ebx, dword [ecx + 0x6e70]
mov edx, ebx
mov esi, ebx
sar edx, 2
lea edi, [edx + 0x1f]
sub esi, edx
cmp ebx, edi
mov edx, 0x20
cmovg edx, esi
sar eax, 7
mov dword [ecx + 0x6e70], edx
imul edx, eax
mov dword [ecx + 0x6ec0], edx
mov eax, dword [esp + 0x380]
mov ebx, dword [eax + 0x1cd30]
test ebx, ebx
je 0x7009f472
mov ecx, dword [ebp + 0x1c1c]
test ecx, ecx
je 0x7009f705
mov eax, dword [esp + 0xc8]
mov esi, dword [esp + 0x38c]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x380]
mov dword [esp + 4], ebp
mov dword [esp + 0x14], esi
mov esi, dword [esp + 0x388]
add eax, 0x258dc
mov dword [esp], eax
mov dword [esp + 0x10], esi
mov esi, dword [esp + 0x88]
mov dword [esp + 0xc], esi
call fcn.700ac1c0
cmp byte [esp + 0x292], 0
jne 0x7009f472
mov edi, dword [ebp + 0x1c28]
test edi, edi
jne 0x7009fdd5
mov edx, dword [ebp + 0x1838]
mov eax, dword [esp + 0x380]
mov eax, dword [eax + 0x1cf4c]
test eax, eax
je 0x7009f4f0
mov eax, dword [esp + 0x290]
and eax, 0xff00ff
cmp eax, 0x30007
je 0x7009f4f0
mov byte [edx], 7
mov eax, dword [ebp + 0x1838]
mov esi, dword [esp + 0x380]
mov byte [eax + 2], 3
mov eax, dword [ebp + 0x1838]
mov dword [eax + 4], 0
mov eax, dword [ebp + 0x1838]
mov byte [eax + 1], 0
mov eax, dword [ebp + 0x1838]
mov edx, dword [esi + 0x1a924]
mov byte [eax + 9], dl
mov eax, dword [ebp + 0x1838]
mov byte [eax + 8], 0
add esp, 0x36c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x290]
mov dword [edx], eax
mov eax, dword [esp + 0x294]
mov dword [edx + 4], eax
mov eax, dword [esp + 0x298]
mov dword [edx + 8], eax
movzx eax, byte [esp + 0x290]
cmp al, 4
je 0x7009fb5e
cmp al, 9
je 0x7009fc6e
mov eax, dword [ebp + 0x1838]
mov esi, dword [esp + 0x380]
mov edi, dword [esp + 0x48]
movzx edx, byte [eax + 2]
cmp dword [esi + edx*4 + 0x1b694], edi
je 0x7009f558
xor edx, edx
test edi, edi
sete dl
mov edx, dword [esp + edx*4 + 0xdc]
mov dword [esp + 0xa8], edx
movzx edx, byte [eax]
cmp dl, 9
je 0x7009fb00
cmp dl, 8
jne 0x7009f4e0
movsx edx, word [eax + 4]
movsx ecx, word [esp + 0xa8]
sub edx, ecx
sar edx, 1
add dword [ebp + edx*4 + 0x3e30], 1
movsx eax, word [eax + 6]
movsx edx, word [esp + 0xaa]
sub eax, edx
sar eax, 1
add dword [ebp + eax*4 + 0x5e2c], 1
add esp, 0x36c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x40]
mov eax, dword [eax + 0x20]
mov dword [edi + 0x14d8], eax
jmp 0x7009eb4a
mov dword [eax], 0x200
mov edx, 0x200
mov esi, eax
jmp 0x7009e33a
cmp edx, 4
je 0x7009e7e2
jmp 0x7009e8b2
mov edi, dword [esp + 0x40]
mov eax, dword [esp + 0x3c]
lea ebx, [edi + eax*4]
mov edi, dword [esp + 0x380]
mov eax, dword [ebx]
mov dword [esp], ebp
add edi, 0x23e30
mov dword [esp + 0xc], eax
lea eax, [esp + 0x1b8]
mov dword [esp + 8], eax
mov dword [esp + 4], edi
call fcn.70097210
mov ecx, dword [esp + 0x84]
mov eax, dword [esp + 0x1b8]
cmp ecx, eax
cmova ecx, eax
cmp dword [esp + 0x3c], 7
mov dword [esp + 0x84], ecx
mov ecx, dword [ebp + 0x1838]
je 0x700a00e0
cmp byte [ecx], 8
jne 0x7009e706
cmp eax, dword [esp + 0xc8]
jae 0x7009e706
mov dword [esp + 0xc8], eax
mov eax, dword [ebx]
mov dword [esp + 4], edi
mov dword [esp], ebp
mov dword [esp + 0xc], eax
lea eax, [esp + 0xc8]
mov dword [esp + 8], eax
call fcn.70097210
mov ecx, dword [ebp + 0x1838]
mov dword [ebp + 0x1c1c], 8
mov eax, dword [ecx + 4]
mov dword [ebp + 0x1c20], eax
movzx eax, byte [ecx + 0xa]
mov byte [ebp + 0x1c2c], al
movzx eax, byte [ecx + 2]
mov dword [ebp + 0x1c24], eax
jmp 0x7009e706
mov ecx, dword [ebp + 0x189c]
lea ebx, [ecx + 0x80]
cmp edx, ebx
jle 0x7009e4e9
sub cx, 0xff80
mov word [eax + 2], cx
jmp 0x7009e4e9
mov edi, 4
mov ecx, 2
mov edx, 1
jmp 0x7009df50
mov dword [ebp + 0x1bfc], eax
jmp 0x7009ea57
mov dword [esp + 0xcc], 1
mov ecx, 1
jmp 0x7009e679
movzx eax, byte [esp + 0x290]
mov dword [ebp + 0x1c1c], eax
mov eax, dword [esp + 0x294]
mov dword [ebp + 0x1c20], eax
movzx eax, byte [esp + 0x29a]
mov byte [ebp + 0x1c2c], al
movzx eax, byte [esp + 0x292]
mov dword [ebp + 0x1c24], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0xc8], eax
jmp 0x7009f41d
lea eax, [esp + 0x168]
mov dword [esp + 0x48], 0
mov dword [esp + 0x40], eax
jmp 0x7009e03b
mov edi, dword [esp + 0x3c]
lea edx, [ebx - 0x80]
mov word [eax], dx
lea ecx, [edi - 5]
cmp ecx, 1
ja 0x7009ec0d
jmp 0x7009e529
mov eax, dword [ebp + 0x1838]
cmp byte [eax + 2], 3
jne 0x7009e1e0
jmp 0x7009e293
mov dword [esp], 2
mov ecx, esi
mov edx, ebp
call fcn.7009b590
cmp ebx, dword [esp + 0x1c0]
jle 0x7009ee27
movzx eax, word [esp + 0xa8]
movzx ecx, word [esp + 0xaa]
mov edi, dword [ebp + 0x1bf0]
movsx edx, ax
sar ax, 3
movsx ebx, cx
cwde
add ebx, 7
add eax, 0xff
add edx, 7
mov dword [esp + 0x78], eax
mov eax, dword [ebp + 0x1bf4]
sar ebx, 3
sar cx, 3
sub ebx, 0xff
sar edx, 3
movsx ecx, cx
sub edx, 0xff
add ecx, 0xff
mov dword [esp + 0x50], eax
mov eax, dword [ebp + 0x1bf8]
cmp ebx, edi
mov dword [esp + 0x58], eax
mov eax, dword [ebp + 0x1bfc]
mov dword [esp + 0x6c], eax
jle 0x7009f82c
mov dword [ebp + 0x1bf0], ebx
cmp ecx, dword [esp + 0x50]
jge 0x7009f838
mov dword [ebp + 0x1bf4], ecx
cmp edx, dword [esp + 0x58]
jle 0x7009f844
mov dword [ebp + 0x1bf8], edx
mov eax, dword [esp + 0x6c]
cmp dword [esp + 0x78], eax
jge 0x7009f858
mov eax, dword [esp + 0x78]
mov dword [ebp + 0x1bfc], eax
mov eax, dword [esp + 0x21c]
mov ecx, dword [esp + 0x214]
mov edx, dword [esp + 0x234]
mov dword [esp + 0x270], eax
mov eax, dword [esp + 0x23c]
mov dword [esp + 0x26c], ecx
movsx ebx, dx
mov dword [esp + 0x274], edx
sar edx, 0x10
mov dword [esp + 0x278], eax
movsx eax, cx
sar ecx, 0x10
sub eax, ebx
sub ecx, edx
mov ebx, eax
mov edx, ecx
sar ebx, 0x1f
sar edx, 0x1f
xor eax, ebx
xor ecx, edx
sub eax, ebx
sub ecx, edx
sar eax, 3
sar ecx, 3
cmp eax, ecx
cmovl eax, ecx
cmp eax, 0x80
jle 0x700a0270
mov eax, 0x40
xor edx, edx
nop
add edx, 1
sar eax, 1
jne 0x7009f8d0
mov ebx, 7
sub ebx, edx
movsx eax, word [esp + 0x278]
movsx edx, word [esp + 0x270]
movsx ecx, word [esp + 0x27a]
mov dword [esp + 0x27c], ebx
sub edx, eax
mov eax, edx
sar eax, 0x1f
xor edx, eax
sub edx, eax
movsx eax, word [esp + 0x272]
sar edx, 3
sub eax, ecx
mov ecx, eax
sar ecx, 0x1f
xor eax, ecx
sub eax, ecx
sar eax, 3
cmp edx, eax
cmovge eax, edx
cmp eax, 0x80
jle 0x700a0235
mov eax, 0x40
xor edx, edx
add edx, 1
sar eax, 1
jne 0x7009f938
mov ecx, 7
sub ecx, edx
mov eax, dword [esp + 0x380]
mov edx, ebp
mov dword [esp + 0x280], ecx
mov ecx, esi
mov dword [esp], 1
call fcn.7009b590
movsx eax, word [esp + 0x270]
movsx edx, word [esp + 0x26c]
movsx ecx, word [esp + 0x272]
sub edx, eax
mov eax, edx
sar eax, 0x1f
xor edx, eax
sub edx, eax
movsx eax, word [esp + 0x26e]
sar edx, 3
sub eax, ecx
mov ecx, eax
sar ecx, 0x1f
xor eax, ecx
sub eax, ecx
sar eax, 3
cmp edx, eax
cmovge eax, edx
cmp eax, 0x80
jle 0x700a021b
mov eax, 0x40
xor edx, edx
add edx, 1
sar eax, 1
jne 0x7009f9b7
mov ecx, 7
sub ecx, edx
movsx eax, word [esp + 0x278]
movsx edx, word [esp + 0x274]
mov dword [esp + 0x27c], ecx
movsx ecx, word [esp + 0x27a]
sub edx, eax
mov eax, edx
sar eax, 0x1f
xor edx, eax
sub edx, eax
movsx eax, word [esp + 0x276]
sar edx, 3
sub eax, ecx
mov ecx, eax
sar ecx, 0x1f
xor eax, ecx
sub eax, ecx
sar eax, 3
cmp edx, eax
cmovge eax, edx
cmp eax, 0x80
jle 0x700a0250
mov eax, 0x40
xor edx, edx
nop
add edx, 1
sar eax, 1
jne 0x7009fa20
mov ecx, 7
sub ecx, edx
mov eax, dword [esp + 0x380]
mov edx, ebp
mov dword [esp + 0x280], ecx
mov ecx, esi
mov dword [esp], 0
call fcn.7009b590
mov eax, dword [esp + 0x380]
mov eax, dword [eax + 0x23c88]
test eax, eax
jne 0x700a0290
cmp dword [esp + 0x1c4], 2
je 0x700a0290
mov eax, dword [esp + 0x50]
mov dword [ebp + 0x1bf0], edi
mov dword [ebp + 0x1bf4], eax
mov eax, dword [esp + 0x58]
mov dword [ebp + 0x1bf8], eax
mov eax, dword [esp + 0x6c]
mov dword [ebp + 0x1bfc], eax
jmp 0x7009ee27
mov eax, 0xc
cmp esi, 1
mov edx, 6
cmove eax, edx
mov dword [ebp + 0x6f68], eax
jmp 0x7009e38f
mov eax, dword [esp + 0x388]
mov dword [esp + 0x10], edx
mov dword [esp + 8], ebp
mov dword [esp + 0x6c], edx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x380]
mov dword [esp], eax
call fcn.7009d850
mov edx, dword [esp + 0x6c]
mov dword [esp + 0x8c], 1
jmp 0x7009e9a4
mov edx, dword [ebp + 0x6ef4]
jmp 0x7009ecbc
mov ebx, dword [ebp + 0x1b80]
mov ecx, dword [ebx]
test ecx, ecx
jle 0x7009f4e0
movsx edi, word [esp + 0xa8]
lea eax, [ebx + 4]
xor edx, edx
movsx esi, word [esp + 0xaa]
jmp 0x7009fb35
add edx, 1
add eax, 8
cmp edx, ecx
jge 0x7009f4e0
cmp dword [eax], 0xd
jne 0x7009fb27
movsx ecx, word [eax + 4]
sub ecx, edi
sar ecx, 1
add dword [ebp + ecx*4 + 0x3e30], 1
movsx ecx, word [eax + 6]
sub ecx, esi
sar ecx, 1
add dword [ebp + ecx*4 + 0x5e2c], 1
mov ecx, dword [ebx]
jmp 0x7009fb27
mov eax, dword [ebp + 0x1838]
mov edx, dword [esp + 0x29c]
mov dword [eax + 0xc], edx
mov eax, dword [ebp + 0x1838]
mov edx, dword [esp + 0x2a0]
mov dword [eax + 0x10], edx
mov eax, dword [ebp + 0x1838]
mov edx, dword [esp + 0x2a4]
mov dword [eax + 0x14], edx
mov eax, dword [ebp + 0x1838]
mov edx, dword [esp + 0x2a8]
mov dword [eax + 0x18], edx
mov eax, dword [ebp + 0x1838]
mov edx, dword [esp + 0x2ac]
mov dword [eax + 0x1c], edx
mov eax, dword [ebp + 0x1838]
mov edx, dword [esp + 0x2b0]
mov dword [eax + 0x20], edx
mov eax, dword [ebp + 0x1838]
mov edx, dword [esp + 0x2b4]
mov dword [eax + 0x24], edx
mov eax, dword [ebp + 0x1838]
mov edx, dword [esp + 0x2b8]
mov dword [eax + 0x28], edx
mov eax, dword [ebp + 0x1838]
mov edx, dword [esp + 0x2bc]
mov dword [eax + 0x2c], edx
mov eax, dword [ebp + 0x1838]
mov edx, dword [esp + 0x2c0]
mov dword [eax + 0x30], edx
mov eax, dword [ebp + 0x1838]
mov edx, dword [esp + 0x2c4]
mov dword [eax + 0x34], edx
mov eax, dword [ebp + 0x1838]
mov edx, dword [esp + 0x2c8]
mov dword [eax + 0x38], edx
mov eax, dword [ebp + 0x1838]
mov edx, dword [esp + 0x2cc]
mov dword [eax + 0x3c], edx
mov eax, dword [ebp + 0x1838]
mov edx, dword [esp + 0x2d0]
mov dword [eax + 0x40], edx
mov eax, dword [ebp + 0x1838]
mov edx, dword [esp + 0x2d4]
mov dword [eax + 0x44], edx
mov eax, dword [ebp + 0x1838]
mov edx, dword [esp + 0x2d8]
mov dword [eax + 0x48], edx
movzx eax, byte [esp + 0x290]
cmp al, 9
jne 0x7009f525
mov eax, dword [ebp + 0x1838]
lea esi, [esp + 0x2dc]
mov edx, dword [esp + 0x29c]
mov dword [eax + 0xc], edx
mov eax, dword [ebp + 0x1838]
mov edx, dword [esp + 0x2a0]
mov dword [eax + 0x10], edx
mov eax, dword [ebp + 0x1838]
mov edx, dword [esp + 0x2a4]
mov dword [eax + 0x14], edx
mov eax, dword [ebp + 0x1838]
mov edx, dword [esp + 0x2a8]
mov dword [eax + 0x18], edx
mov eax, dword [ebp + 0x1838]
mov edx, dword [esp + 0x2ac]
mov dword [eax + 0x1c], edx
mov eax, dword [ebp + 0x1838]
mov edx, dword [esp + 0x2b0]
mov dword [eax + 0x20], edx
mov eax, dword [ebp + 0x1838]
mov edx, dword [esp + 0x2b4]
mov dword [eax + 0x24], edx
mov eax, dword [ebp + 0x1838]
mov edx, dword [esp + 0x2b8]
mov dword [eax + 0x28], edx
mov eax, dword [ebp + 0x1838]
mov edx, dword [esp + 0x2bc]
mov dword [eax + 0x2c], edx
mov eax, dword [ebp + 0x1838]
mov edx, dword [esp + 0x2c0]
mov dword [eax + 0x30], edx
mov eax, dword [ebp + 0x1838]
mov edx, dword [esp + 0x2c4]
mov dword [eax + 0x34], edx
mov eax, dword [ebp + 0x1838]
mov edx, dword [esp + 0x2c8]
mov dword [eax + 0x38], edx
mov eax, dword [ebp + 0x1838]
mov edx, dword [esp + 0x2cc]
mov dword [eax + 0x3c], edx
mov eax, dword [ebp + 0x1838]
mov edx, dword [esp + 0x2d0]
mov dword [eax + 0x40], edx
mov eax, dword [ebp + 0x1838]
mov edx, dword [esp + 0x2d4]
mov dword [eax + 0x44], edx
mov eax, dword [ebp + 0x1838]
mov edx, dword [esp + 0x2d8]
mov dword [eax + 0x48], edx
mov edi, dword [ebp + 0x1b80]
mov eax, 0x84
test edi, 1
jne 0x700a02ef
test edi, 2
jne 0x700a02da
mov ecx, eax
xor edx, edx
shr ecx, 2
test al, 2
rep movsd dword es:[edi], dword [esi]
je 0x7009fdb0
movzx edx, word [esi]
mov word [edi], dx
mov edx, 2
test al, 1
je 0x7009fdbb
movzx eax, byte [esi + edx]
mov byte [edi + edx], al
mov edx, dword [ebp + 0x1b80]
mov eax, dword [ebp + 0x1838]
mov edx, dword [edx + 0x80]
mov dword [eax + 4], edx
jmp 0x7009f525
mov eax, dword [ebp + edi*4 + 0x1b8c]
mov dword [esp + 0xd4], 0
mov dword [esp + 0xd8], 0
mov dword [esp + 0x34], eax
lea eax, [esp + 0xe4]
mov dword [esp + 4], eax
lea eax, [esp + 0x1b8]
mov dword [esp], eax
call fcn.70133c50
mov ecx, dword [0x70799354]
xor edx, edx
xor eax, eax
mov dword [esp + 0x30], edx
nop
mov ebx, dword [0x70799350]
sub ecx, 1
mov edx, eax
sar dl, 1
movsx esi, dl
movzx esi, byte [esp + esi + 0x1b8]
sar ebx, cl
and ebx, 1
je 0x7009fe48
mov edx, 0xff
sub edx, esi
mov esi, edx
mov esi, dword [esi*4 + 0x707a5540]
add dword [esp + 0x30], esi
test ecx, ecx
movsx eax, byte [ebx + eax + 0x70798dd4]
jne 0x7009fe20
mov eax, dword [ebp + 0x1838]
mov ecx, edi
mov edx, dword [esp + 0x30]
add edx, dword [esp + 0x34]
mov dword [esp + 0x110], 0
mov dword [esp + 0x104], edx
mov byte [eax + 2], cl
lea eax, [edi + edi*2]
shl eax, 2
mov edx, dword [esp + eax + 0x138]
lea ecx, [esp + 0xd4]
mov dword [ebp + 0x17b4], edx
mov edx, dword [esp + eax + 0x13c]
mov eax, dword [esp + eax + 0x140]
mov dword [ebp + 0x17b8], edx
lea edx, [esp + 0x104]
mov dword [ebp + 0x17bc], eax
mov eax, dword [ebp + 0x1838]
mov byte [eax], 7
mov eax, dword [ebp + 0x1838]
mov byte [eax + 1], 0
mov eax, dword [ebp + 0x1838]
mov dword [eax + 4], 0
mov eax, dword [esp + 0x380]
mov dword [esp + 4], ebp
add eax, 0x23cb8
mov dword [esp], eax
lea eax, [esp + 0xe4]
call fcn.7009ce60
mov esi, dword [esp + 0x380]
lea ecx, [esp + 0xd8]
mov dword [esp + 0x14], ebp
lea edx, [esi + 0x23bcc]
mov dword [esp + 0x10], edx
lea edx, [esi + 0x1a924]
mov esi, dword [esp + 0x64]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0xd4]
mov dword [esp + 8], esi
mov esi, dword [esp + 0x4c]
mov dword [esp], edx
lea edx, [esp + 0x104]
mov dword [esp + 4], esi
call fcn.7009a570
cmp eax, dword [esp + 0x288]
jl 0x7009ff61
mov edx, dword [ebp + 0x1c00]
test edx, edx
je 0x7009f472
mov ecx, dword [esp + 0x104]
mov esi, dword [esp + 0x390]
mov edx, dword [ebp + 0x1838]
mov edi, dword [esp + 0x110]
mov dword [esi], ecx
mov esi, dword [esp + 0x394]
sub ecx, dword [esp + 0x10c]
sub ecx, dword [esp + 0xd8]
mov dword [esi], edi
movzx esi, byte [edx + 2]
sub edi, dword [esp + 0x114]
imul edi, dword [ebp + 0x1bb4]
movzx ebx, byte [edx]
sub ecx, dword [ebp + esi*4 + 0x1b8c]
imul ecx, dword [ebp + 0x1bb8]
mov dword [esp + 0x288], eax
mov esi, dword [ebp + 0x1b80]
sub ecx, 0xffffff80
sar ecx, 8
add ecx, edi
cmp ebx, 9
mov dword [esp + 0x284], ecx
mov eax, dword [edx]
mov ecx, 0x21
mov dword [esp + 0x290], eax
mov eax, dword [edx + 4]
mov dword [esp + 0x294], eax
mov eax, dword [edx + 8]
mov dword [esp + 0x298], eax
lea eax, [esp + 0x2dc]
mov edi, eax
rep movsd dword es:[edi], dword [esi]
jne 0x700a02cc
mov eax, dword [ebp + 0x14d8]
mov dword [esp + 0x29c], eax
mov eax, dword [ebp + 0x14f4]
mov dword [esp + 0x2a0], eax
mov eax, dword [ebp + 0x1510]
mov dword [esp + 0x2a4], eax
mov eax, dword [ebp + 0x152c]
mov dword [esp + 0x2a8], eax
mov eax, dword [ebp + 0x1548]
mov dword [esp + 0x2ac], eax
mov eax, dword [ebp + 0x1564]
mov dword [esp + 0x2b0], eax
mov eax, dword [ebp + 0x1580]
mov dword [esp + 0x2b4], eax
mov eax, dword [ebp + 0x159c]
mov dword [esp + 0x2b8], eax
mov eax, dword [ebp + 0x15b8]
mov dword [esp + 0x2bc], eax
mov eax, dword [ebp + 0x15d4]
mov dword [esp + 0x2c0], eax
mov eax, dword [ebp + 0x15f0]
mov dword [esp + 0x2c4], eax
mov eax, dword [ebp + 0x160c]
mov dword [esp + 0x2c8], eax
mov eax, dword [ebp + 0x1628]
mov dword [esp + 0x2cc], eax
mov eax, dword [ebp + 0x1644]
mov dword [esp + 0x2d0], eax
mov eax, dword [ebp + 0x1660]
mov dword [esp + 0x2d4], eax
mov eax, dword [ebp + 0x167c]
mov dword [esp + 0x2d8], eax
jmp 0x7009f478
cmp eax, dword [esp + 0x88]
jae 0x7009f640
movzx edx, byte [ecx + 2]
mov dword [esp + 0x88], eax
mov dword [ebp + 0x1c28], edx
jmp 0x7009f640
mov eax, dword [esp + 0x74]
mov dword [esp], eax
call fcn.70072010
lea eax, [ebp + 0xda0]
mov dword [esp + 0x14], eax
lea eax, [ebp + 0xd60]
mov dword [esp + 0x18], 8
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0xc18]
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0xc30]
mov dword [esp + 8], eax
mov eax, dword [ebp + 0xc2c]
mov dword [esp], ebp
mov dword [esp + 4], eax
call dword [0x70ea6114]
mov dword [esp], ebp
call fcn.700a1730
mov dword [esp], ebp
call fcn.700a9d40
mov eax, ebp
call fcn.7009a810
mov dword [esp], ebp
mov dword [esp + 0x10c], eax
call dword [0x70ea6120]
test eax, eax
lea edx, [eax + 3]
cmovs eax, edx
mov edx, dword [esp + 0x10c]
sar eax, 2
mov dword [esp + 0x114], eax
add dword [esp + 0x104], edx
add dword [esp + 0x110], eax
jmp case.default.0x7009e3b9
lea eax, [esp + 0xa8]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x14], 8
mov dword [esp], ebp
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x380]
call dword [eax + 0x23d88]
cmp eax, dword [esp + 0x58]
jge 0x700a02ba
mov edx, dword [ebp + 0x14d8]
mov esi, dword [esp + 0x40]
mov dword [esp + 0x58], eax
mov dword [esi + 0x20], edx
jmp 0x7009e3db
test eax, eax
mov ecx, 7
je 0x7009f9c5
sar eax, 1
jne 0x7009f9b5
jmp 0x7009f9c5
test eax, eax
mov ecx, 7
je 0x7009f946
sar eax, 1
jne 0x7009f936
jmp 0x7009f946
test eax, eax
mov ecx, 7
je 0x7009fa2e
sar eax, 1
nop
jne 0x7009fa1d
jmp 0x7009fa2e
test eax, eax
mov ebx, 7
je 0x7009f8de
sar eax, 1
nop
jne 0x7009f8cd
jmp 0x7009f8de
mov eax, dword [esp + 0x26c]
mov ecx, esi
mov edx, ebp
mov dword [esp], 3
mov dword [esp + 0x1bc], eax
mov eax, dword [esp + 0x380]
call fcn.7009b590
jmp 0x7009fa6f
mov eax, dword [esp + 0x40]
mov eax, dword [eax + 0x20]
mov dword [ebp + 0x14d8], eax
jmp 0x7009e3db
cmp ebx, 4
je 0x700a000a
jmp 0x7009f478
movzx edx, word [esi]
add edi, 2
add esi, 2
sub eax, 2
mov word [edi - 2], dx
jmp 0x7009fd98
movzx eax, byte [esp + 0x2dc]
add edi, 1
lea esi, [esp + 0x2dd]
mov byte [edi - 1], al
mov eax, 0x83
jmp 0x7009fd8c