Function at 0x1001b710
Capabilities:
Inspect section memory permissions

Disassembly:
sub esp, 0x1b0
push ebx
push ebp
push esi
push edi
xor esi, esi
push 0x80
lea eax, [esp + 0x44]
push esi
push eax
mov dword [esp + 0x24], 0xffffffff
mov dword [esp + 0x48], esi
call fcn.10067150
mov ebp, dword [esp + 0x1d4]
xor ecx, ecx
mov dword [esp + 0x1c], ecx
add esp, 0xc
mov al, byte [ebp]
mov dword [esp + 0x1c], esi
test al, al
je 0x1001c17d
mov dl, byte [ecx + ebp]
inc ecx
cmp dl, 0x25
mov dword [esp + 0x10], ecx
jne 0x1001c12b
cmp byte [ecx + ebp], dl
jne 0x1001b777
inc ecx
mov dword [esp + 0x10], ecx
jmp 0x1001c12b
lea eax, [esp + 0x10]
xor ebx, ebx
push eax
push ebp
mov dword [esp + 0x2c], ebx
call fcn.1001c670
add esp, 8
xor ecx, ecx
cmp eax, 0xffffffff
mov dword [esp + 0x14], eax
setne cl
cmp ecx, ebx
mov dword [esp + 0x2c], ecx
jne 0x1001b7a7
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x14], eax
cmp eax, 0x40
jge 0x1001c136
cmp eax, dword [esp + 0x18]
jle 0x1001b7ba
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x10]
xor edi, edi
or eax, 0xffffffff
mov dword [esp + 0x28], edi
mov dl, byte [ecx + ebp]
mov dword [esp + 0x30], eax
push edx
mov dword [esp + 0x24], eax
mov dword [esp + 0x38], eax
call int.1001c5e0
add esp, 4
test eax, eax
je 0x1001bc21
mov ecx, dword [esp + 0x10]
mov al, byte [ecx + ebp]
inc ecx
movsx eax, al
mov dword [esp + 0x10], ecx
lea edi, [eax - 0x20]
cmp edi, 0x5a
ja case.0x1001bd17.85
xor eax, eax
mov al, byte [edi + 0x1001c45c]
jmp dword [eax*4 + 0x1001c3fc]
or ebx, 2
jmp case.0x1001b80a.47
or ebx, 4
jmp case.0x1001b80a.47
and bh, 0xdf
or ebx, 8
jmp case.0x1001b80a.47
or ebx, 0x10
jmp case.0x1001b80a.47
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x1001b920
mov al, byte [ecx + ebp]
lea edx, [ecx + ebp]
cmp al, 0x2e
mov dword [esp + 0x24], 1
je case.0x1001b80a.47
or ebx, 0x40000
cmp al, 0x2a
je 0x1001b884
cmp al, 0x40
je 0x1001b884
lea ecx, [esp + 0x38]
push 0xa
push ecx
push edx
call fcn.1001c5c0
mov ecx, dword [esp + 0x44]
add esp, 0xc
sub ecx, ebp
mov dword [esp + 0x30], eax
mov dword [esp + 0x10], ecx
jmp case.0x1001b80a.47
lea edx, [esp + 0x10]
inc ecx
push edx
push ebp
mov dword [esp + 0x18], ecx
or ebx, 0x80000
call fcn.1001c670
add esp, 8
cmp eax, 0xffffffff
mov dword [esp + 0x30], eax
jne 0x1001b8ce
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x2c]
inc ecx
test eax, eax
mov dword [esp + 0x1c], ecx
je 0x1001b8bf
mov eax, ecx
mov dword [esp + 0x30], eax
jmp 0x1001b8ed
mov eax, dword [esp + 0x14]
mov dword [esp + 0x30], eax
inc eax
mov dword [esp + 0x14], eax
jmp 0x1001b8ed
mov ecx, dword [esp + 0x2c]
test ecx, ecx
jne 0x1001b8dd
lea ecx, [eax + 1]
mov dword [esp + 0x14], ecx
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x18]
cmp edx, ecx
jle 0x1001b8ed
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
cmp ecx, eax
jle 0x1001b8fd
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x10]
mov al, byte [ecx + ebp]
push eax
call int.1001c5e0
add esp, 4
test eax, eax
jne 0x1001b7e7
mov edi, dword [esp + 0x28]
xor edx, edx
jmp 0x1001bc23
cmp eax, 1
jne case.0x1001bd17.85
mov al, byte [ecx + ebp]
lea edi, [ecx + ebp]
or ebx, 0x100000
cmp al, 0x2a
mov dword [esp + 0x24], 2
je 0x1001b96e
cmp al, 0x40
je 0x1001b96e
lea edx, [esp + 0x38]
push 0xa
push edx
push edi
call fcn.1001c5c0
add esp, 0xc
cmp eax, 0x24
mov dword [esp + 0x20], eax
jg 0x1001c14f
mov ecx, dword [esp + 0x38]
sub ecx, ebp
mov dword [esp + 0x10], ecx
jmp case.0x1001b80a.47
lea eax, [esp + 0x10]
inc ecx
push eax
push ebp
mov dword [esp + 0x18], ecx
or ebx, 0x200000
call fcn.1001c670
add esp, 8
cmp eax, 0xffffffff
mov dword [esp + 0x20], eax
jne 0x1001b9bc
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x2c]
inc ecx
test eax, eax
mov dword [esp + 0x1c], ecx
je 0x1001b9aa
mov dword [esp + 0x20], ecx
jmp 0x1001b8ed
mov eax, dword [esp + 0x14]
mov dword [esp + 0x20], eax
inc eax
mov dword [esp + 0x14], eax
jmp 0x1001b8ed
mov ecx, dword [esp + 0x2c]
test ecx, ecx
jne 0x1001b9cb
lea edx, [eax + 1]
mov dword [esp + 0x14], edx
cmp eax, dword [esp + 0x18]
jmp 0x1001b8e7
mov dword [esp + 0x1c4], 1
jmp 0x1001b9eb
cmp dword [esp + 0x1c4], 1
jne 0x1001ba62
lea edx, [esp + 0x10]
or ebx, 0x30000
push edx
push ebp
call fcn.1001c670
add esp, 8
cmp eax, 0xffffffff
mov dword [esp + 0x28], eax
jne 0x1001ba30
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x2c]
inc ecx
test eax, eax
mov dword [esp + 0x1c], ecx
je 0x1001ba21
mov eax, ecx
mov dword [esp + 0x28], eax
jmp 0x1001ba49
mov eax, dword [esp + 0x14]
mov dword [esp + 0x28], eax
inc eax
mov dword [esp + 0x14], eax
jmp 0x1001ba49
mov ecx, dword [esp + 0x2c]
test ecx, ecx
jne 0x1001ba3f
lea ecx, [eax + 1]
mov dword [esp + 0x14], ecx
cmp eax, dword [esp + 0x18]
jle 0x1001ba49
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
cmp eax, ecx
jle 0x1001b8fd
mov dword [esp + 0x18], eax
jmp 0x1001b8fd
or ebx, 0x8000000
jmp case.0x1001b80a.47
test bl, 8
jne case.0x1001b80a.42
or bh, 0x20
lea edx, [esp + 0x38]
push 0xa
lea eax, [ecx + ebp - 1]
push edx
push eax
or ebx, 0x10000
call fcn.1001c5c0
mov ecx, dword [esp + 0x44]
add esp, 0xc
sub ecx, ebp
mov dword [esp + 0x28], eax
mov dword [esp + 0x10], ecx
jmp case.0x1001b80a.47
test bl, 0x40
jne case.0x1001bd17.85
test bl, 0x20
je 0x1001bab8
or ebx, 0x40
jmp case.0x1001b80a.47
or ebx, 0x20
jmp case.0x1001b80a.47
test bh, 1
jne case.0x1001bd17.85
test bl, 0x80
je 0x1001bad6
or bh, 1
jmp case.0x1001b80a.47
or bl, 0x80
jmp case.0x1001b80a.47
or bh, 2
jmp case.0x1001b80a.47
or ebx, 0x480
jmp case.0x1001b80a.47
or ebx, 0x880
jmp case.0x1001b80a.47
or bh, 0x11
jmp case.0x1001b80a.47
test ebx, 0x40000000
jne case.0x1001bd17.85
test ebx, 0x22001fe0
jne case.0x1001bd17.85
mov al, byte [ecx + ebp]
cmp al, 0x36
jne 0x1001bb44
cmp byte [ecx + ebp + 1], 0x34
jne 0x1001bb44
add ecx, 2
mov dword [esp + 0x34], 8
mov dword [esp + 0x10], ecx
or ebx, 0x40000000
jmp case.0x1001b80a.47
cmp al, 0x33
jne 0x1001bb69
cmp byte [ecx + ebp + 1], 0x32
jne 0x1001bb69
add ecx, 2
mov dword [esp + 0x34], 4
mov dword [esp + 0x10], ecx
or ebx, 0x40000000
jmp case.0x1001b80a.47
cmp al, 0x31
jne 0x1001bb8e
cmp byte [ecx + ebp + 1], 0x36
jne 0x1001bb8e
add ecx, 2
mov dword [esp + 0x34], 2
mov dword [esp + 0x10], ecx
or ebx, 0x40000000
jmp case.0x1001b80a.47
cmp al, 0x38
jne case.0x1001bd17.85
inc ecx
mov dword [esp + 0x34], 1
mov dword [esp + 0x10], ecx
or ebx, 0x40000000
jmp case.0x1001b80a.47
or ebx, 0x2000000
jmp case.0x1001b80a.47
or ebx, 0x1000000
jmp case.0x1001b80a.47
or ebx, 1
mov dword [esp + 0x3c], 1
jmp case.0x1001b80a.47
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x2c]
or ebx, 0x20000000
inc edx
test eax, eax
mov dword [esp + 0x1c], edx
je 0x1001bbf1
mov dword [esp + 0x34], edx
jmp 0x1001bbfe
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], eax
inc eax
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
cmp eax, edx
jle case.0x1001b80a.47
mov edx, eax
mov dword [esp + 0x18], edx
jmp case.0x1001b80a.47
or bh, 0x10
jmp case.0x1001b80a.47
xor edx, edx
test ebx, 0x20000
je 0x1001bc57
mov ecx, dword [esp + 0x1cc]
lea eax, [esi + esi*4]
inc word [esp + edi*2 + 0x40]
mov dword [esp + edi*4 + 0xc0], esi
lea eax, [eax + eax*8]
mov dword [esp + 0x28], esi
inc esi
lea eax, [ecx + eax*8]
mov dword [eax], 7
mov dword [eax + 4], edx
jmp 0x1001bc5e
mov ecx, dword [esp + 0x1cc]
test ebx, 0x80000
je 0x1001bc8d
mov edi, dword [esp + 0x30]
lea eax, [esi + esi*4]
mov dword [esp + 0x30], esi
inc word [esp + edi*2 + 0x40]
lea eax, [eax + eax*8]
mov dword [esp + edi*4 + 0xc0], esi
inc esi
lea eax, [ecx + eax*8]
mov dword [eax], 7
mov dword [eax + 4], edx
test ebx, 0x200000
je 0x1001bcbc
mov edi, dword [esp + 0x20]
lea eax, [esi + esi*4]
mov dword [esp + 0x20], esi
inc word [esp + edi*2 + 0x40]
lea eax, [eax + eax*8]
mov dword [esp + edi*4 + 0xc0], esi
inc esi
lea eax, [ecx + eax*8]
mov dword [eax], 7
mov dword [eax + 4], edx
test ebx, 0x20000000
je 0x1001bceb
mov edi, dword [esp + 0x34]
lea eax, [esi + esi*4]
mov dword [esp + 0x34], esi
inc word [esp + edi*2 + 0x40]
lea eax, [eax + eax*8]
mov dword [esp + edi*4 + 0xc0], esi
inc esi
lea eax, [ecx + eax*8]
mov dword [eax], 7
mov dword [eax + 4], edx
mov ecx, dword [esp + 0x14]
mov dword [esp + ecx*4 + 0xc0], esi
mov ecx, dword [esp + 0x10]
movsx edi, byte [ecx + ebp]
sub edi, 0x3c
inc ecx
cmp edi, 0x3c
mov dword [esp + 0x10], ecx
ja case.0x1001bd17.85
xor edx, edx
mov dl, byte [edi + 0x1001c520]
jmp dword [edx*4 + 0x1001c4b8]
or ebx, 0x2000000
test bl, 0x80
je 0x1001bd31
or ebx, 0x2000000
jmp 0x1001bd3c
test bl, 0x20
je 0x1001bd3c
and ebx, 0xfdffffff
mov edx, dword [esp + 0x1cc]
lea eax, [esi + esi*4]
lea eax, [eax + eax*8]
mov dword [edx + eax*8], 3
jmp 0x1001c020
or ebx, 0x2000000
test bl, 0x80
je 0x1001bd68
or ebx, 0x2000000
jmp 0x1001bd73
test bl, 0x20
je 0x1001bd73
and ebx, 0xfdffffff
mov edx, dword [esp + 0x1cc]
lea eax, [esi + esi*4]
lea eax, [eax + eax*8]
mov dword [edx + eax*8], 4
jmp 0x1001c020
cmp dword [esp + 0x1c4], 2
jne 0x1001c020
mov edi, dword [esp + 0x1cc]
lea eax, [esi + esi*4]
mov edx, 1
lea eax, [eax + eax*8]
mov dword [edi + eax*8], 8
mov al, byte [ecx + ebp]
cmp al, 0x5e
jne 0x1001bdbf
inc ecx
mov dword [esp + 0x10], ecx
cmp byte [ecx + ebp], 0x5d
jne 0x1001bdca
inc ecx
mov dword [esp + 0x10], ecx
cmp byte [ecx + ebp], 0x2d
jne 0x1001bdd5
inc ecx
mov dword [esp + 0x10], ecx
mov al, byte [ecx + ebp]
test al, al
je 0x1001c020
cmp al, 0x5b
jne 0x1001bde7
inc edx
jmp 0x1001bdf0
cmp al, 0x5d
jne 0x1001bdf0
dec edx
test edx, edx
jle 0x1001be01
inc ecx
mov dword [esp + 0x10], ecx
mov al, byte [ecx + ebp]
test al, al
jne 0x1001bde0
jmp 0x1001c020
inc ecx
mov dword [esp + 0x10], ecx
jmp 0x1001c020
or bh, 0x40
jmp case.0x1001bd17.77
and ebx, 0xffdfffff
mov dword [esp + 0x20], 0xa
jmp case.0x1001bd17.77
and ebx, 0xffdfffff
mov dword [esp + 0x20], 8
or bh, 0x40
jmp case.0x1001bd17.77
or bh, 0x80
and ebx, 0xffdfffff
mov dword [esp + 0x20], 2
or bh, 0x20
jmp case.0x1001bd17.77
or bh, 0x80
and ebx, 0xffdfffff
mov dword [esp + 0x20], 0x10
or bh, 0x40
lea eax, [esi + esi*4]
lea edx, [eax + eax*8]
mov eax, dword [esp + 0x1cc]
mov dword [eax + edx*8], 1
jmp 0x1001c020
or bh, 0x80
or ebx, 0x400000
jmp case.0x1001bd17.75
or bh, 0x80
or ebx, 0x800000
jmp case.0x1001bd17.75
or bh, 0x80
jmp case.0x1001bd17.75
lea eax, [esi + esi*4]
or bl, 0x80
lea edx, [eax + eax*8]
mov eax, dword [esp + 0x1cc]
mov dword [eax + edx*8], 5
jmp 0x1001c020
lea eax, [esi + esi*4]
lea edx, [eax + eax*8]
mov eax, dword [esp + 0x1cc]
mov dword [eax + edx*8], 6
jmp 0x1001c020
or bh, 0x80
mov dword [esp + 0x20], 0x10
lea eax, [esi + esi*4]
lea edx, [eax + eax*8]
mov eax, dword [esp + 0x1cc]
mov dword [eax + edx*8], 2
jmp 0x1001c020
lea eax, [esi + esi*4]
lea edx, [eax + eax*8]
mov eax, dword [esp + 0x1cc]
mov dword [eax + edx*8], 9
jmp 0x1001c020
lea eax, [esi + esi*4]
mov dword [esp + 0x24], 1
lea edx, [eax + eax*8]
mov eax, dword [esp + 0x1cc]
lea edi, [eax + edx*8]
mov edx, dword [esp + 0x1c8]
lea eax, [ecx + edx]
lea ebp, [edi + 0x28]
mov edx, eax
mov dword [edi], 0xa
mov byte [ebp], 0
mov dword [esp + 0x38], edx
mov al, byte [eax]
test al, al
je case.0x1001bd17.85
inc ecx
cmp al, 0x3e
mov dword [esp + 0x10], ecx
je 0x1001bf9d
cmp al, 0x3a
jne 0x1001bf89
mov eax, dword [esp + 0x1c8]
sub ecx, edx
add ecx, eax
mov dword [esp + 0x24], 0
cmp ecx, 0x40
jbe 0x1001bf6c
mov ecx, 0x40
push edx
push ecx
push ebp
call fcn.1001c590
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x1d4]
add esp, 0xc
lea edx, [ecx + eax]
mov dword [esp + 0x38], edx
mov eax, dword [esp + 0x1c8]
mov al, byte [ecx + eax]
test al, al
je case.0x1001bd17.85
jmp 0x1001bf42
mov eax, dword [esp + 0x24]
test eax, eax
je 0x1001bfef
mov ebp, dword [esp + 0x14]
inc esi
mov dword [edi], 7
mov dword [edi + 0x18], ecx
inc word [esp + ebp*2 + 0x40]
lea eax, [esi + esi*4]
mov dword [edi + 4], 0x8000000
mov edi, dword [esp + 0x1cc]
lea eax, [eax + eax*8]
inc ebp
mov dword [esp + 0x14], ebp
lea edi, [edi + eax*8]
mov eax, dword [esp + 0x18]
cmp ebp, eax
mov dword [esp + ebp*4 + 0xc0], esi
mov dword [edi], 0xa
jle 0x1001bfef
mov eax, ebp
mov dword [esp + 0x18], eax
mov ebp, dword [esp + 0x1c8]
sub ecx, edx
add ecx, ebp
cmp ecx, 0x100
jbe 0x1001c007
mov ecx, 0x100
push edx
add edi, 0x68
push ecx
push edi
call fcn.1001c590
mov ecx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x1d4]
add esp, 0xc
mov edx, dword [esp + 0x14]
inc word [esp + edx*2 + 0x40]
lea eax, [esp + edx*2 + 0x40]
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x1001c0e2
test bl, 1
jne 0x1001c0e2
lea eax, [esi - 1]
test eax, eax
jl 0x1001c0e2
mov edi, dword [esp + 0x1cc]
lea edx, [eax + eax*4]
lea edx, [edx + edx*8]
lea edx, [edi + edx*8]
mov dword [esp + 0x24], edx
mov edi, dword [edx]
cmp edi, 7
je 0x1001c08b
test byte [edx + 4], 1
je 0x1001c08b
lea edx, [esi + esi*4]
lea ebp, [edx + edx*8]
mov edx, dword [esp + 0x1cc]
cmp edi, dword [edx + ebp*8]
je 0x1001c09c
mov ebp, dword [esp + 0x1c8]
mov edx, dword [esp + 0x24]
dec eax
sub edx, 0x168
test eax, eax
mov dword [esp + 0x24], edx
jge 0x1001c061
jmp 0x1001c0e2
lea eax, [eax + eax*4]
lea eax, [eax + eax*8]
lea eax, [edx + eax*8]
mov edx, dword [eax + 4]
and edx, 0xfffffffe
or ebx, edx
mov edx, dword [esp + 0x28]
test edx, edx
jne 0x1001c0bc
mov edx, dword [eax + 8]
mov dword [esp + 0x28], edx
mov edi, dword [esp + 0x30]
or edx, 0xffffffff
cmp edi, edx
jne 0x1001c0ce
mov edi, dword [eax + 0xc]
mov dword [esp + 0x30], edi
cmp dword [esp + 0x20], edx
jne 0x1001c0db
mov eax, dword [eax + 0x10]
mov dword [esp + 0x20], eax
mov ebp, dword [esp + 0x1c8]
lea eax, [esi + esi*4]
lea edx, [eax + eax*8]
mov eax, dword [esp + 0x1cc]
lea eax, [eax + edx*8]
mov edx, dword [esp + 0x28]
mov dword [eax + 0x18], ecx
mov dword [eax + 4], ebx
mov dword [eax + 8], edx
mov edx, dword [esp + 0x30]
mov dword [eax + 0xc], edx
mov edx, dword [esp + 0x20]
cmp edx, 0xffffffff
jne 0x1001c114
mov edx, 0xa
mov dword [eax + 0x10], edx
mov edx, dword [esp + 0x34]
mov dword [eax + 0x14], edx
mov eax, dword [esp + 0x2c]
inc esi
test eax, eax
jne 0x1001c12b
inc dword [esp + 0x1c]
cmp byte [ecx + ebp], 0
je 0x1001c17d
jmp 0x1001b757
mov ecx, dword [esp + 0x10]
pop edi
shl ecx, 8
mov eax, 0xfffffffd
pop esi
pop ebp
sub eax, ecx
pop ebx
add esp, 0x1b0
ret
mov edx, dword [esp + 0x10]
pop edi
shl edx, 8
mov eax, 0xfffffffe
pop esi
pop ebp
sub eax, edx
pop ebx
add esp, 0x1b0
ret
pop edi
mov eax, 0xfffffffe
shl ecx, 8
pop esi
pop ebp
sub eax, ecx
pop ebx
add esp, 0x1b0
ret
mov eax, dword [esp + 0x18]
xor ebp, ebp
test eax, eax
mov dword [esp + 0x3c], ebp
jl 0x1001c3bc
mov ebx, dword [esp + 0x1d4]
mov ecx, dword [esp + 0x1d0]
lea eax, [esp + 0x40]
mov edi, ebx
mov dword [esp + 0x24], eax
lea eax, [esp + 0xc0]
sub eax, ebx
mov dword [esp + 0x2c], eax
jmp 0x1001c1ba
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x24]
cmp word [edx], 1
jne 0x1001c3c9
mov eax, dword [eax + edi]
mov edx, dword [esp + 0x1cc]
lea eax, [eax + eax*4]
lea eax, [eax + eax*8]
lea esi, [edx + eax*8]
mov eax, dword [edx + eax*8]
cmp eax, 7
je 0x1001c1f0
test dword [esi + 4], 0x8000000
jne case.0x1001c1f9.2
cmp eax, 0xa
ja case.0x1001c1f9.2
jmp dword [eax*4 + 0x1001c560]
test ebx, ebx
jne 0x1001c24b
mov eax, dword [ecx]
add eax, 4
mov dword [ecx], eax
mov eax, dword [eax - 4]
mov dword [esi + 0x20], eax
jmp case.0x1001c1f9.2
cmp dword [esp + 0x1c4], 2
jne 0x1001c255
test ebx, ebx
jne 0x1001c236
mov eax, dword [ecx]
add eax, 4
mov dword [ecx], eax
mov eax, dword [eax - 4]
mov dword [esi + 0x20], eax
jmp case.0x1001c1f9.2
cmp eax, 3
jne 0x1001c245
mov edx, dword [edi]
mov dword [esi + 0x20], edx
jmp case.0x1001c1f9.2
test byte [esi + 4], 0x20
je 0x1001c23b
mov eax, dword [edi]
mov dword [esi + 0x20], eax
jmp case.0x1001c1f9.2
mov eax, dword [esi + 4]
test eax, 0x60000000
je 0x1001c29b
mov edx, dword [esi + 0x14]
test eax, 0x20000000
je 0x1001c27e
mov ebp, dword [esp + 0x1cc]
lea edx, [edx + edx*4]
lea edx, [edx + edx*8]
mov edx, dword [ebp + edx*8 + 0x20]
mov ebp, dword [esp + 0x3c]
and eax, 0xffffe27f
cmp edx, 4
mov dword [esi + 4], eax
jle 0x1001c29b
cmp edx, 8
jg 0x1001c295
or ah, 1
jmp 0x1001c298
or ah, 0x10
mov dword [esi + 4], eax
mov eax, dword [esi + 4]
test ah, 4
je 0x1001c2c3
test ebx, ebx
jne 0x1001c2b8
mov eax, dword [ecx]
add eax, 4
xor edx, edx
mov dword [ecx], eax
mov eax, dword [eax - 4]
jmp 0x1001c397
mov eax, dword [edi]
xor edx, edx
mov eax, dword [eax]
jmp 0x1001c397
test ah, 8
je 0x1001c2df
test ebx, ebx
jne 0x1001c392
mov eax, dword [ecx]
add eax, 4
mov dword [ecx], eax
mov eax, dword [eax - 4]
jmp 0x1001c396
test ah, 0x10
je 0x1001c300
test ebx, ebx
jne 0x1001c31e
mov eax, dword [ecx]
add eax, 8
mov dword [ecx], eax
mov edx, dword [eax - 8]
mov eax, dword [eax - 4]
mov dword [esi + 0x20], edx
mov dword [esi + 0x24], eax
jmp case.0x1001c1f9.2
test ah, 1
je 0x1001c32d
test ebx, ebx
jne 0x1001c31e
mov eax, dword [ecx]
add eax, 8
mov dword [ecx], eax
mov edx, dword [eax - 8]
mov eax, dword [eax - 4]
mov dword [esi + 0x20], edx
mov dword [esi + 0x24], eax
jmp case.0x1001c1f9.2
mov eax, dword [edi]
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esi + 0x20], edx
mov dword [esi + 0x24], eax
jmp case.0x1001c1f9.2
test al, 0x80
je 0x1001c341
test ebx, ebx
jne 0x1001c392
mov eax, dword [ecx]
add eax, 4
mov dword [ecx], eax
mov eax, dword [eax - 4]
jmp 0x1001c396
test ebx, ebx
jne 0x1001c351
mov eax, dword [ecx]
add eax, 4
mov dword [ecx], eax
mov eax, dword [eax - 4]
jmp 0x1001c396
cmp dword [esi], 3
jne 0x1001c35d
mov eax, dword [edi]
movsx eax, byte [eax]
jmp 0x1001c396
test al, 0x20
je 0x1001c368
mov edx, dword [edi]
movsx eax, word [edx]
jmp 0x1001c396
mov eax, dword [edi]
mov eax, dword [eax]
jmp 0x1001c396
test dword [esi + 4], 0x8000000
je 0x1001c2c8
test ebx, ebx
jne 0x1001c24b
mov eax, dword [ecx]
add eax, 4
mov dword [ecx], eax
mov eax, dword [eax - 4]
mov dword [esi + 0x20], eax
jmp case.0x1001c1f9.2
mov edx, dword [edi]
mov eax, dword [edx]
cdq
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], edx
mov esi, dword [esp + 0x24]
mov eax, dword [esp + 0x18]
inc ebp
add esi, 2
add edi, 4
cmp ebp, eax
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x24], esi
jle 0x1001c1b6
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
add esp, 0x1b0
ret
cmp word [esp + ebp*2 + 0x40], 0
jne 0x1001c3e6
shl ebp, 8
mov eax, 0xfffffffb
pop edi
sub eax, ebp
pop esi
pop ebp
pop ebx
add esp, 0x1b0
ret
shl ebp, 8
mov eax, 0xfffffffc
pop edi
sub eax, ebp
pop esi
pop ebp
pop ebx
add esp, 0x1b0
ret