Function at 0x10012950
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10039a2f
mov eax, dword fs:[0]
push eax
sub esp, 0x72c
mov eax, dword [0x1004b6e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
xor ebx, ebx
lea ecx, [ebp - 0x450]
mov dword [ebp - 0x510], ebx
call fcn.10016180
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x508]
call fcn.10016180
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x158]
call fcn.10016180
mov byte [ebp - 4], 2
lea eax, [ebp - 0x70]
push eax
mov ecx, esi
call fcn.10016aa0
mov byte [ebp - 4], 3
cmp dword [eax + 0x14], 8
jb 0x100129cd
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x450]
call fcn.100168d0
mov byte [ebp - 4], 2
cmp dword [ebp - 0x5c], 8
jb 0x100129ee
push dword [ebp - 0x70]
call fcn.1001f7c4
add esp, 4
xor eax, eax
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
mov ecx, edi
lea eax, [ebp - 0x70]
mov dword [ebp - 0x60], 0
push eax
call fcn.10016aa0
mov byte [ebp - 4], 4
cmp dword [eax + 0x14], 8
jb 0x10012a19
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x508]
call fcn.100168d0
mov byte [ebp - 4], 2
cmp dword [ebp - 0x5c], 8
jb 0x10012a3a
push dword [ebp - 0x70]
call fcn.1001f7c4
add esp, 4
xor eax, eax
mov dword [ebp - 0x5c], 7
cmp dword [0x1004c5f0], 0x10
lea ecx, [ebp - 0x5d8]
mov word [ebp - 0x70], ax
mov eax, 0x1004c5dc
cmovae eax, dword [0x1004c5dc]
sub esp, 0xc
mov dword [ebp - 0x60], 0
push eax
call fcn.10017040
mov byte [ebp - 4], 5
sub esp, 0x10
lea ecx, [ebp - 0x738]
call fcn.10018750
mov byte [ebp - 4], 6
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x44], 0xf
mov dword [ebp - 0x48], 0
mov byte [ebp - 0x58], 0
mov byte [ebp - 4], 7
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 8
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x8c], 0xf
mov dword [ebp - 0x90], eax
mov byte [ebp - 0xa0], al
mov byte [ebp - 4], 9
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], eax
mov word [ebp - 0x40], ax
mov byte [ebp - 4], 0xa
mov edi, edi
mov eax, dword [ebp - 0x5d8]
lea ecx, [ebp - 0x5d8]
mov eax, dword [eax + 4]
add ecx, eax
lea eax, [ebp - 0x51c]
push eax
call fcn.1000d910
mov byte [ebp - 4], 0xb
push eax
call fcn.1001b1c0
add esp, 4
mov esi, eax
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x51c]
test ecx, ecx
je 0x10012b5b
mov edx, dword [ecx]
call dword [edx + 8]
test eax, eax
je 0x10012b5b
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov eax, dword [esi]
mov ecx, esi
push 0xa
mov eax, dword [eax + 0x20]
call eax
mov byte [ebp - 0x518], al
lea edx, [ebp - 0x58]
push dword [ebp - 0x518]
lea ecx, [ebp - 0x5d8]
call fcn.1001d6a0
add esp, 4
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
test byte [ecx + eax + 0xc], 6
jne 0x10013b10
mov ecx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x30]
cmp ecx, eax
ja 0x10012bb3
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
mov dword [ebp - 0x30], ecx
cmovae eax, dword [ebp - 0x40]
xor edx, edx
mov word [eax + ecx*2], dx
jmp 0x10012bc0
sub ecx, eax
push 0
push ecx
lea ecx, [ebp - 0x40]
call fcn.10018fa0
cmp dword [ebp - 0x2c], 8
lea edx, [ebp - 0x40]
mov eax, dword [ebp - 0x30]
lea ecx, [ebp - 0x58]
cmovae edx, dword [ebp - 0x40]
cmp dword [ebp - 0x44], 0x10
cmovae ecx, dword [ebp - 0x58]
inc eax
push eax
push edx
push 0xffffffffffffffff
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
lea ecx, [ebp - 0x158]
cmovae eax, dword [ebp - 0x40]
push eax
call fcn.100168d0
cmp byte [ebp - 0x438], 0
je 0x10012f5c
lea eax, [ebp - 0x1b8]
push eax
lea ecx, [ebp - 0x450]
call fcn.100163b0
mov esi, eax
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x1d0]
or ebx, 1
lea ecx, [ebp - 0x158]
push eax
mov dword [ebp - 0x510], ebx
call fcn.100163b0
mov ecx, eax
mov dword [ebp - 4], 0xd
or ebx, 2
mov dword [ebp - 0x510], ebx
cmp dword [esi + 0x14], 8
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x514], eax
jb 0x10012c63
mov esi, dword [esi]
cmp dword [ecx + 0x14], 8
mov edi, dword [ecx + 0x10]
jb 0x10012c6e
mov ecx, dword [ecx]
cmp edi, eax
mov edx, eax
cmovb edx, edi
test edx, edx
jne 0x10012c90
xor eax, eax
test eax, eax
jne 0x10012cb8
mov ecx, dword [ebp - 0x514]
cmp edi, ecx
jae 0x10012caf
or eax, 0xffffffff
jmp 0x10012cb6
mov ax, word [ecx]
cmp ax, word [esi]
jne 0x10012ca1
add ecx, 2
add esi, 2
dec edx
jmp 0x10012c77
movzx eax, word [ecx]
cmp ax, word [esi]
sbb eax, eax
and eax, 0xfffffffe
inc eax
jmp 0x10012c7b
xor eax, eax
cmp edi, ecx
setne al
test eax, eax
sete al
test al, al
je 0x10012f5c
cmp byte [ebp - 0x430], 0
je 0x10012f5c
mov eax, dword [ebp - 0x13c]
cmp eax, dword [ebp - 0x434]
jne 0x10012f5c
cmp byte [ebp - 0x42e], 0
je 0x10012f5c
mov al, byte [ebp - 0x137]
cmp al, byte [ebp - 0x42f]
jne 0x10012f5c
cmp byte [ebp - 0x3a4], 0
je 0x10012d6c
lea eax, [ebp - 0x170]
push eax
lea ecx, [ebp - 0x450]
call fcn.10016850
mov esi, eax
mov dword [ebp - 4], 0xe
lea eax, [ebp - 0x320]
or ebx, 4
lea ecx, [ebp - 0x158]
push eax
mov dword [ebp - 0x510], ebx
call fcn.10016850
mov dword [ebp - 4], 0xf
or ebx, 8
mov dword [ebp - 0x510], ebx
cmp dword [esi + 0x14], 8
mov ecx, dword [esi + 0x10]
jb 0x10012d5b
mov esi, dword [esi]
push ecx
push esi
push dword [eax + 0x10]
push ecx
mov ecx, eax
call fcn.1001cf10
test eax, eax
je 0x10012d7e
mov al, byte [ebp - 0xc7]
cmp al, byte [ebp - 0x3bf]
jne 0x10012f5c
cmp byte [ebp - 0x414], 0
je 0x10012dda
lea eax, [ebp - 0x290]
push eax
lea ecx, [ebp - 0x450]
call fcn.10016490
mov esi, eax
mov dword [ebp - 4], 0x10
lea eax, [ebp - 0x350]
or ebx, 0x10
lea ecx, [ebp - 0x158]
push eax
mov dword [ebp - 0x510], ebx
call fcn.10016490
mov dword [ebp - 4], 0x11
or ebx, 0x20
mov edx, esi
mov dword [ebp - 0x510], ebx
mov ecx, eax
call fcn.1001c450
test al, al
jne 0x10012dec
mov al, byte [ebp - 0x135]
cmp al, byte [ebp - 0x42d]
jne 0x10012f5c
cmp byte [ebp - 0x3f8], 0
je 0x10012e4b
lea eax, [ebp - 0x260]
push eax
lea ecx, [ebp - 0x450]
call fcn.10016570
mov esi, eax
mov dword [ebp - 4], 0x12
lea eax, [ebp - 0x2f0]
or ebx, 0x40
lea ecx, [ebp - 0x158]
push eax
mov dword [ebp - 0x510], ebx
call fcn.10016570
mov dword [ebp - 4], 0x13
or ebx, 0x80
mov edx, esi
mov dword [ebp - 0x510], ebx
mov ecx, eax
call fcn.1001c450
test al, al
jne 0x10012e5d
mov al, byte [ebp - 0x11b]
cmp al, byte [ebp - 0x413]
jne 0x10012f5c
cmp byte [ebp - 0x3dc], 0
je 0x10012ebf
lea eax, [ebp - 0x230]
push eax
lea ecx, [ebp - 0x450]
call fcn.10016670
mov esi, eax
mov dword [ebp - 4], 0x14
lea eax, [ebp - 0x380]
or ebx, 0x100
lea ecx, [ebp - 0x158]
push eax
mov dword [ebp - 0x510], ebx
call fcn.10016670
mov dword [ebp - 4], 0x15
or ebx, 0x200
mov edx, esi
mov dword [ebp - 0x510], ebx
mov ecx, eax
call fcn.1001c450
test al, al
jne 0x10012ed1
mov al, byte [ebp - 0xfd]
cmp al, byte [ebp - 0x3f5]
jne 0x10012f5c
cmp byte [ebp - 0x3c0], 0
je 0x10012f30
lea eax, [ebp - 0x200]
push eax
lea ecx, [ebp - 0x450]
call fcn.10016780
mov esi, eax
mov dword [ebp - 4], 0x16
lea eax, [ebp - 0x70]
or ebx, 0x400
lea ecx, [ebp - 0x158]
push eax
mov dword [ebp - 0x510], ebx
call fcn.10016780
mov dword [ebp - 4], 0x17
or ebx, 0x800
mov edx, esi
mov dword [ebp - 0x510], ebx
mov ecx, eax
call fcn.1001c450
test al, al
jne 0x10012f3e
mov al, byte [ebp - 0xe3]
cmp al, byte [ebp - 0x3db]
jne 0x10012f5c
cmp byte [ebp - 0x3f6], 0
je 0x10012f5c
mov al, byte [ebp - 0xff]
mov byte [ebp - 0x509], 1
cmp al, byte [ebp - 0x3f7]
je 0x10012f63
mov byte [ebp - 0x509], 0
mov dword [ebp - 4], 0x16
test ebx, 0x800
je 0x10012fa3
and ebx, 0xfffff7ff
mov dword [ebp - 0x510], ebx
cmp dword [ebp - 0x5c], 8
jb 0x10012f8f
push dword [ebp - 0x70]
call fcn.1001f7c4
add esp, 4
xor eax, eax
mov dword [ebp - 0x5c], 7
mov dword [ebp - 0x60], 0
mov word [ebp - 0x70], ax
mov dword [ebp - 4], 0x15
test ebx, 0x400
je 0x10012ff2
and ebx, 0xfffffbff
mov dword [ebp - 0x510], ebx
cmp dword [ebp - 0x1ec], 8
jb 0x10012fd5
push dword [ebp - 0x200]
call fcn.1001f7c4
add esp, 4
xor eax, eax
mov dword [ebp - 0x1ec], 7
mov dword [ebp - 0x1f0], 0
mov word [ebp - 0x200], ax
mov dword [ebp - 4], 0x14
test ebx, 0x200
je 0x10013041
and ebx, 0xfffffdff
mov dword [ebp - 0x510], ebx
cmp dword [ebp - 0x36c], 8
jb 0x10013024
push dword [ebp - 0x380]
call fcn.1001f7c4
add esp, 4
xor eax, eax
mov dword [ebp - 0x36c], 7
mov dword [ebp - 0x370], 0
mov word [ebp - 0x380], ax
mov dword [ebp - 4], 0x13
test ebx, 0x100
je 0x10013090
and ebx, 0xfffffeff
mov dword [ebp - 0x510], ebx
cmp dword [ebp - 0x21c], 8
jb 0x10013073
push dword [ebp - 0x230]
call fcn.1001f7c4
add esp, 4
xor eax, eax
mov dword [ebp - 0x21c], 7
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
mov dword [ebp - 4], 0x12
test bl, bl
jns 0x100130db
and ebx, 0xffffff7f
mov dword [ebp - 0x510], ebx
cmp dword [ebp - 0x2dc], 8
jb 0x100130be
push dword [ebp - 0x2f0]
call fcn.1001f7c4
add esp, 4
xor eax, eax
mov dword [ebp - 0x2dc], 7
mov dword [ebp - 0x2e0], 0
mov word [ebp - 0x2f0], ax
mov dword [ebp - 4], 0x11
test bl, 0x40
je 0x10013124
and ebx, 0xffffffbf
mov dword [ebp - 0x510], ebx
cmp dword [ebp - 0x24c], 8
jb 0x10013107
push dword [ebp - 0x260]
call fcn.1001f7c4
add esp, 4
xor eax, eax
mov dword [ebp - 0x24c], 7
mov dword [ebp - 0x250], 0
mov word [ebp - 0x260], ax
mov dword [ebp - 4], 0x10
test bl, 0x20
je 0x1001316d
and ebx, 0xffffffdf
mov dword [ebp - 0x510], ebx
cmp dword [ebp - 0x33c], 8
jb 0x10013150
push dword [ebp - 0x350]
call fcn.1001f7c4
add esp, 4
xor eax, eax
mov dword [ebp - 0x33c], 7
mov dword [ebp - 0x340], 0
mov word [ebp - 0x350], ax
mov dword [ebp - 4], 0xf
test bl, 0x10
je 0x100131b6
and ebx, 0xffffffef
mov dword [ebp - 0x510], ebx
cmp dword [ebp - 0x27c], 8
jb 0x10013199
push dword [ebp - 0x290]
call fcn.1001f7c4
add esp, 4
xor eax, eax
mov dword [ebp - 0x27c], 7
mov dword [ebp - 0x280], 0
mov word [ebp - 0x290], ax
mov dword [ebp - 4], 0xe
test bl, 8
je 0x100131ff
and ebx, 0xfffffff7
mov dword [ebp - 0x510], ebx
cmp dword [ebp - 0x30c], 8
jb 0x100131e2
push dword [ebp - 0x320]
call fcn.1001f7c4
add esp, 4
xor eax, eax
mov dword [ebp - 0x30c], 7
mov dword [ebp - 0x310], 0
mov word [ebp - 0x320], ax
mov dword [ebp - 4], 0xd
test bl, 4
je 0x10013248
and ebx, 0xfffffffb
mov dword [ebp - 0x510], ebx
cmp dword [ebp - 0x15c], 8
jb 0x1001322b
push dword [ebp - 0x170]
call fcn.1001f7c4
add esp, 4
xor eax, eax
mov dword [ebp - 0x15c], 7
mov dword [ebp - 0x160], 0
mov word [ebp - 0x170], ax
mov dword [ebp - 4], 0xc
test bl, 2
je 0x10013291
and ebx, 0xfffffffd
mov dword [ebp - 0x510], ebx
cmp dword [ebp - 0x1bc], 8
jb 0x10013274
push dword [ebp - 0x1d0]
call fcn.1001f7c4
add esp, 4
xor eax, eax
mov dword [ebp - 0x1bc], 7
mov dword [ebp - 0x1c0], 0
mov word [ebp - 0x1d0], ax
mov dword [ebp - 4], 0xa
test bl, 1
je 0x100132da
and ebx, 0xfffffffe
mov dword [ebp - 0x510], ebx
cmp dword [ebp - 0x1a4], 8
jb 0x100132bd
push dword [ebp - 0x1b8]
call fcn.1001f7c4
add esp, 4
xor eax, eax
mov dword [ebp - 0x1a4], 7
mov dword [ebp - 0x1a8], 0
mov word [ebp - 0x1b8], ax
cmp byte [ebp - 0x509], 0
je 0x10012b10
lea eax, [ebp - 0x1e8]
push eax
lea ecx, [ebp - 0x158]
call fcn.10016aa0
mov esi, eax
mov byte [ebp - 4], 0x18
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x1001338e
cmp dword [ebp - 0x14], 8
jb 0x1001331b
push dword [ebp - 0x28]
call fcn.1001f7c4
add esp, 4
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
cmp dword [esi + 0x14], 8
jae 0x1001334d
mov eax, dword [esi + 0x10]
inc eax
je 0x1001336f
add eax, eax
push eax
lea eax, [ebp - 0x28]
push esi
push eax
call fcn.1001ef90
add esp, 0xc
jmp 0x1001336f
lea eax, [ebp - 0x28]
mov dword [ebp - 0x514], eax
mov dword [ebp - 0x520], eax
mov byte [ebp - 4], 0x19
mov eax, dword [esi]
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 0x18
mov dword [esi], 0
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x14], eax
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0x1d4], 8
jb 0x100133a9
push dword [ebp - 0x1e8]
call fcn.1001f7c4
add esp, 4
xor eax, eax
mov dword [ebp - 0x1d4], 7
mov dword [ebp - 0x1d8], 0
mov word [ebp - 0x1e8], ax
cmp byte [ebp - 0x4f0], al
je 0x1001345c
lea eax, [ebp - 0x188]
push eax
lea ecx, [ebp - 0x508]
call fcn.100163b0
mov edx, eax
mov byte [ebp - 4], 0x1a
cmp dword [edx + 0x14], 8
jb 0x100133f2
mov edx, dword [edx]
cmp word [edx], 0
jne 0x100133fc
xor ecx, ecx
jmp 0x10013410
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10013401
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x158]
call fcn.1001a8a0
mov byte [ebp - 0x140], 1
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0x174], 8
jb 0x1001343f
push dword [ebp - 0x188]
call fcn.1001f7c4
add esp, 4
xor eax, eax
mov dword [ebp - 0x174], 7
mov dword [ebp - 0x178], 0
mov word [ebp - 0x188], ax
cmp byte [ebp - 0x4e8], 0
je 0x10013478
mov eax, dword [ebp - 0x4ec]
mov dword [ebp - 0x13c], eax
mov byte [ebp - 0x138], 1
cmp byte [ebp - 0x4e6], 0
je 0x10013494
mov al, byte [ebp - 0x4e7]
mov byte [ebp - 0x137], al
mov byte [ebp - 0x136], 1
cmp byte [ebp - 0x45c], 0
je 0x100135ca
lea eax, [ebp - 0x1a0]
push eax
lea ecx, [ebp - 0x508]
call fcn.10016850
mov byte [ebp - 4], 0x1b
cmp dword [eax + 0x10], 0
setne al
mov byte [ebp - 0x509], al
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0x18c], 8
jb 0x100134e5
push dword [ebp - 0x1a0]
call fcn.1001f7c4
mov al, byte [ebp - 0x509]
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x18c], 7
mov dword [ebp - 0x190], 0
mov word [ebp - 0x1a0], cx
test al, al
je 0x1001359d
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x508]
call fcn.10016850
mov edx, eax
mov byte [ebp - 4], 0x1c
cmp dword [edx + 0x14], 8
jb 0x1001352a
mov edx, dword [edx]
mov byte [ebp - 0xc7], 0
cmp word [edx], 0
jne 0x1001353b
xor ecx, ecx
jmp 0x1001354f
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10013540
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0xc4]
call fcn.1001a8a0
mov byte [ebp - 0xac], 1
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0x204], 8
jb 0x1001357e
push dword [ebp - 0x218]
call fcn.1001f7c4
add esp, 4
xor eax, eax
mov dword [ebp - 0x204], 7
mov dword [ebp - 0x208], 0
mov word [ebp - 0x218], ax
jmp 0x100135ca
cmp dword [ebp - 0xb0], 8
lea eax, [ebp - 0xc4]
mov dword [ebp - 0xb4], ecx
cmovae eax, dword [ebp - 0xc4]
xor ecx, ecx
mov byte [ebp - 0xc7], 1
mov word [eax], cx
mov byte [ebp - 0xac], 1
cmp byte [ebp - 0x4cc], 0
je 0x10013700
lea eax, [ebp - 0x248]
push eax
lea ecx, [ebp - 0x508]
call fcn.10016490
mov byte [ebp - 4], 0x1d
cmp dword [eax + 0x10], 0
setne al
mov byte [ebp - 0x509], al
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0x234], 8
jb 0x1001361b
push dword [ebp - 0x248]
call fcn.1001f7c4
mov al, byte [ebp - 0x509]
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x234], 7
mov dword [ebp - 0x238], 0
mov word [ebp - 0x248], cx
test al, al
je 0x100136d3
lea eax, [ebp - 0x278]
push eax
lea ecx, [ebp - 0x508]
call fcn.10016490
mov edx, eax
mov byte [ebp - 4], 0x1e
cmp dword [edx + 0x14], 8
jb 0x10013660
mov edx, dword [edx]
mov byte [ebp - 0x135], 0
cmp word [edx], 0
jne 0x10013671
xor ecx, ecx
jmp 0x10013685
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10013676
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x134]
call fcn.1001a8a0
mov byte [ebp - 0x11c], 1
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0x264], 8
jb 0x100136b4
push dword [ebp - 0x278]
call fcn.1001f7c4
add esp, 4
xor eax, eax
mov dword [ebp - 0x264], 7
mov dword [ebp - 0x268], 0
mov word [ebp - 0x278], ax
jmp 0x10013700
cmp dword [ebp - 0x120], 8
lea eax, [ebp - 0x134]
mov dword [ebp - 0x124], ecx
cmovae eax, dword [ebp - 0x134]
xor ecx, ecx
mov byte [ebp - 0x135], 1
mov word [eax], cx
mov byte [ebp - 0x11c], 1
cmp byte [ebp - 0x4b0], 0
je 0x1001380b
lea eax, [ebp - 0x2a8]
push eax
lea ecx, [ebp - 0x508]
call fcn.10016570
mov byte [ebp - 4], 0x1f
cmp dword [eax + 0x10], 0
setne al
mov byte [ebp - 0x509], al
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0x294], 8
jb 0x10013751
push dword [ebp - 0x2a8]
call fcn.1001f7c4
mov al, byte [ebp - 0x509]
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x294], 7
mov dword [ebp - 0x298], 0
mov word [ebp - 0x2a8], cx
test al, al
je 0x1001380b
lea eax, [ebp - 0x2d8]
push eax
lea ecx, [ebp - 0x508]
call fcn.10016570
mov edx, eax
mov byte [ebp - 4], 0x20
cmp dword [edx + 0x14], 8
jb 0x10013796
mov edx, dword [edx]
mov byte [ebp - 0x11b], 0
cmp word [edx], 0
jne 0x100137a7
xor ecx, ecx
jmp 0x100137bf
mov ecx, edx
lea esi, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100137b0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x118]
call fcn.1001a8a0
mov byte [ebp - 0x100], 1
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0x2c4], 8
jb 0x100137ee
push dword [ebp - 0x2d8]
call fcn.1001f7c4
add esp, 4
xor eax, eax
mov dword [ebp - 0x2c4], 7
mov dword [ebp - 0x2c8], 0
mov word [ebp - 0x2d8], ax
cmp byte [ebp - 0x494], 0
je 0x10013941
lea eax, [ebp - 0x308]
push eax
lea ecx, [ebp - 0x508]
call fcn.10016670
mov byte [ebp - 4], 0x21
cmp dword [eax + 0x10], 0
setne al
mov byte [ebp - 0x509], al
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0x2f4], 8
jb 0x1001385c
push dword [ebp - 0x308]
call fcn.1001f7c4
mov al, byte [ebp - 0x509]
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x2f4], 7
mov dword [ebp - 0x2f8], 0
mov word [ebp - 0x308], cx
test al, al
je 0x10013914
lea eax, [ebp - 0x338]
push eax
lea ecx, [ebp - 0x508]
call fcn.10016670
mov edx, eax
mov byte [ebp - 4], 0x22
cmp dword [edx + 0x14], 8
jb 0x100138a1
mov edx, dword [edx]
mov byte [ebp - 0xfd], 0
cmp word [edx], 0
jne 0x100138b2
xor ecx, ecx
jmp 0x100138c6
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100138b7
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0xfc]
call fcn.1001a8a0
mov byte [ebp - 0xe4], 1
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0x324], 8
jb 0x100138f5
push dword [ebp - 0x338]
call fcn.1001f7c4
add esp, 4
xor eax, eax
mov dword [ebp - 0x324], 7
mov dword [ebp - 0x328], 0
mov word [ebp - 0x338], ax
jmp 0x10013941
cmp dword [ebp - 0xe8], 8
lea eax, [ebp - 0xfc]
mov dword [ebp - 0xec], ecx
cmovae eax, dword [ebp - 0xfc]
xor ecx, ecx
mov byte [ebp - 0xfd], 1
mov word [eax], cx
mov byte [ebp - 0xe4], 1
cmp byte [ebp - 0x478], 0
je 0x10013a7a
lea eax, [ebp - 0x368]
push eax
lea ecx, [ebp - 0x508]
call fcn.10016780
mov byte [ebp - 4], 0x23
cmp dword [eax + 0x10], 0
setne al
mov byte [ebp - 0x509], al
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0x354], 8
jb 0x10013992
push dword [ebp - 0x368]
call fcn.1001f7c4
mov al, byte [ebp - 0x509]
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x354], 7
mov dword [ebp - 0x358], 0
mov word [ebp - 0x368], cx
test al, al
je 0x10013a4d
lea eax, [ebp - 0x398]
push eax
lea ecx, [ebp - 0x508]
call fcn.10016780
mov edx, eax
mov byte [ebp - 4], 0x24
cmp dword [edx + 0x14], 8
jb 0x100139d7
mov edx, dword [edx]
mov byte [ebp - 0xe3], 0
cmp word [edx], 0
jne 0x100139e8
xor ecx, ecx
jmp 0x100139ff
mov ecx, edx
lea esi, [ecx + 2]
lea ecx, [ecx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100139f0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0xe0]
call fcn.1001a8a0
mov byte [ebp - 0xc8], 1
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0x384], 8
jb 0x10013a2e
push dword [ebp - 0x398]
call fcn.1001f7c4
add esp, 4
xor eax, eax
mov dword [ebp - 0x384], 7
mov dword [ebp - 0x388], 0
mov word [ebp - 0x398], ax
jmp 0x10013a7a
cmp dword [ebp - 0xcc], 8
lea eax, [ebp - 0xe0]
mov dword [ebp - 0xd0], ecx
cmovae eax, dword [ebp - 0xe0]
xor ecx, ecx
mov byte [ebp - 0xe3], 1
mov word [eax], cx
mov byte [ebp - 0xc8], 1
cmp byte [ebp - 0x4ae], 0
je 0x10013a96
mov al, byte [ebp - 0x4af]
mov byte [ebp - 0xff], al
mov byte [ebp - 0xfe], 1
lea eax, [ebp - 0x2c0]
push eax
lea ecx, [ebp - 0x158]
call fcn.10016aa0
mov byte [ebp - 4], 0x25
lea edx, [ebp - 0xa0]
mov ecx, eax
call fcn.10015f40
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0x2ac], 8
jb 0x10013ad4
push dword [ebp - 0x2c0]
call fcn.1001f7c4
add esp, 4
xor eax, eax
mov dword [ebp - 0x2ac], 7
lea edx, [ebp - 0xa0]
mov dword [ebp - 0x2b0], 0
lea ecx, [ebp - 0x738]
mov word [ebp - 0x2c0], ax
call fcn.1001b420
push eax
call fcn.1001c470
add esp, 4
jmp 0x10012b10
lea ecx, [ebp - 0x5c8]
call fcn.10019820
test eax, eax
jne 0x10013b51
mov eax, dword [ebp - 0x5d8]
lea ecx, [ebp - 0x5d8]
mov eax, dword [eax + 4]
add ecx, eax
mov eax, dword [ecx + 0xc]
or eax, 2
cmp dword [ecx + 0x38], 0
jne 0x10013b3f
or eax, 4
and eax, 0x17
mov dword [ecx + 0xc], eax
test dword [ecx + 0x10], eax
je 0x10013b51
push 0
call fcn.1000d870
xor eax, eax
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x74], 7
mov dword [ebp - 0x78], 0
mov word [ebp - 0x88], ax
mov byte [ebp - 4], 0x26
mov edi, 0x1004c5dc
cmp dword [0x1004c5f0], 0x10
lea ecx, [ebp - 0x690]
mov eax, edi
cmovae eax, dword [0x1004c5dc]
sub esp, 0xc
push eax
call fcn.10017040
mov byte [ebp - 4], 0x27
mov eax, dword [ebp - 0x690]
mov eax, dword [eax + 4]
test byte [ebp + eax - 0x684], 6
je 0x10013bbd
or esi, 0xffffffff
jmp 0x10013c9d
lea edx, [ebp - 0x58]
lea ecx, [ebp - 0x690]
call fcn.1001bfd0
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
test byte [ecx + eax + 0xc], 6
jne 0x10013c41
jmp 0x10013be0
lea edx, [ebp - 0x88]
lea ecx, [ebp - 0x58]
call fcn.10015ee0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
push eax
push dword [ebp - 0x78]
push ecx
lea ecx, [ebp - 0x88]
call fcn.1001cf10
test eax, eax
je 0x10013c27
lea edx, [ebp - 0x58]
lea ecx, [ebp - 0x738]
call fcn.1001b420
push eax
call fcn.1001c470
add esp, 4
lea edx, [ebp - 0x58]
lea ecx, [ebp - 0x690]
call fcn.1001bfd0
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
test byte [ecx + eax + 0xc], 6
je 0x10013be0
lea ecx, [ebp - 0x690]
call fcn.10017390
lea ecx, [ebp - 0x738]
call fcn.100188f0
cmp dword [0x1004c5f0], 0x10
mov eax, edi
cmovae eax, dword [0x1004c5dc]
push eax
call fcn.10020ba4
add esp, 4
mov eax, 0x1004c5f4
cmp dword [0x1004c5f0], 0x10
cmovae edi, dword [0x1004c5dc]
cmp dword [0x1004c608], 0x10
push edi
cmovae eax, dword [0x1004c5f4]
push eax
call fcn.1001ff4c
add esp, 8
xor esi, esi
mov byte [ebp - 4], 0x26
lea ecx, [ebp - 0x690]
call fcn.100109d0
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0x74], 8
jb 0x10013cc4
push dword [ebp - 0x88]
call fcn.1001f7c4
add esp, 4
xor eax, eax
mov dword [ebp - 0x74], 7
mov dword [ebp - 0x78], 0
mov word [ebp - 0x88], ax
mov byte [ebp - 4], 9
cmp dword [ebp - 0x2c], 8
jb 0x10013cf0
push dword [ebp - 0x40]
call fcn.1001f7c4
add esp, 4
xor eax, eax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
mov byte [ebp - 4], 8
cmp dword [ebp - 0x8c], 0x10
jb 0x10013d1f
push dword [ebp - 0xa0]
call fcn.1001f7c4
add esp, 4
mov dword [ebp - 0x8c], 0xf
mov dword [ebp - 0x90], 0
mov byte [ebp - 0xa0], 0
mov byte [ebp - 4], 7
cmp dword [ebp - 0x14], 8
jb 0x10013d4f
push dword [ebp - 0x28]
call fcn.1001f7c4
add esp, 4
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 6
cmp dword [ebp - 0x44], 0x10
jb 0x10013d78
push dword [ebp - 0x58]
call fcn.1001f7c4
add esp, 4
mov dword [ebp - 0x44], 0xf
mov dword [ebp - 0x48], 0
mov byte [ebp - 0x58], 0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x738]
call fcn.10013e00
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x5d8]
call fcn.100109d0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x158]
call fcn.10016250
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x508]
call fcn.10016250
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x450]
call fcn.10016250
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1001ef7b
mov esp, ebp
pop ebp
ret