Function at 0x1000b400
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.10056e40
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 0x1000be6d
mov dl, byte [ecx + ebp]
inc ecx
cmp dl, 0x25
mov dword [esp + 0x10], ecx
jne 0x1000be1b
cmp byte [ecx + ebp], dl
jne 0x1000b467
inc ecx
mov dword [esp + 0x10], ecx
jmp 0x1000be1b
lea eax, [esp + 0x10]
xor ebx, ebx
push eax
push ebp
mov dword [esp + 0x2c], ebx
call fcn.1000c360
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 0x1000b497
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x14], eax
cmp eax, 0x40
jge 0x1000be26
cmp eax, dword [esp + 0x18]
jle 0x1000b4aa
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.1000c2d0
add esp, 4
test eax, eax
je 0x1000b911
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.0x1000ba07.85
xor eax, eax
mov al, byte [edi + 0x1000c14c]
jmp dword [eax*4 + 0x1000c0ec]
or ebx, 2
jmp case.0x1000b4fa.47
or ebx, 4
jmp case.0x1000b4fa.47
and bh, 0xdf
or ebx, 8
jmp case.0x1000b4fa.47
or ebx, 0x10
jmp case.0x1000b4fa.47
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x1000b610
mov al, byte [ecx + ebp]
lea edx, [ecx + ebp]
cmp al, 0x2e
mov dword [esp + 0x24], 1
je case.0x1000b4fa.47
or ebx, 0x40000
cmp al, 0x2a
je 0x1000b574
cmp al, 0x40
je 0x1000b574
lea ecx, [esp + 0x38]
push 0xa
push ecx
push edx
call fcn.1000c2b0
mov ecx, dword [esp + 0x44]
add esp, 0xc
sub ecx, ebp
mov dword [esp + 0x30], eax
mov dword [esp + 0x10], ecx
jmp case.0x1000b4fa.47
lea edx, [esp + 0x10]
inc ecx
push edx
push ebp
mov dword [esp + 0x18], ecx
or ebx, 0x80000
call fcn.1000c360
add esp, 8
cmp eax, 0xffffffff
mov dword [esp + 0x30], eax
jne 0x1000b5be
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x2c]
inc ecx
test eax, eax
mov dword [esp + 0x1c], ecx
je 0x1000b5af
mov eax, ecx
mov dword [esp + 0x30], eax
jmp 0x1000b5dd
mov eax, dword [esp + 0x14]
mov dword [esp + 0x30], eax
inc eax
mov dword [esp + 0x14], eax
jmp 0x1000b5dd
mov ecx, dword [esp + 0x2c]
test ecx, ecx
jne 0x1000b5cd
lea ecx, [eax + 1]
mov dword [esp + 0x14], ecx
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x18]
cmp edx, ecx
jle 0x1000b5dd
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
cmp ecx, eax
jle 0x1000b5ed
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x10]
mov al, byte [ecx + ebp]
push eax
call int.1000c2d0
add esp, 4
test eax, eax
jne 0x1000b4d7
mov edi, dword [esp + 0x28]
xor edx, edx
jmp 0x1000b913
cmp eax, 1
jne case.0x1000ba07.85
mov al, byte [ecx + ebp]
lea edi, [ecx + ebp]
or ebx, 0x100000
cmp al, 0x2a
mov dword [esp + 0x24], 2
je 0x1000b65e
cmp al, 0x40
je 0x1000b65e
lea edx, [esp + 0x38]
push 0xa
push edx
push edi
call fcn.1000c2b0
add esp, 0xc
cmp eax, 0x24
mov dword [esp + 0x20], eax
jg 0x1000be3f
mov ecx, dword [esp + 0x38]
sub ecx, ebp
mov dword [esp + 0x10], ecx
jmp case.0x1000b4fa.47
lea eax, [esp + 0x10]
inc ecx
push eax
push ebp
mov dword [esp + 0x18], ecx
or ebx, 0x200000
call fcn.1000c360
add esp, 8
cmp eax, 0xffffffff
mov dword [esp + 0x20], eax
jne 0x1000b6ac
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x2c]
inc ecx
test eax, eax
mov dword [esp + 0x1c], ecx
je 0x1000b69a
mov dword [esp + 0x20], ecx
jmp 0x1000b5dd
mov eax, dword [esp + 0x14]
mov dword [esp + 0x20], eax
inc eax
mov dword [esp + 0x14], eax
jmp 0x1000b5dd
mov ecx, dword [esp + 0x2c]
test ecx, ecx
jne 0x1000b6bb
lea edx, [eax + 1]
mov dword [esp + 0x14], edx
cmp eax, dword [esp + 0x18]
jmp 0x1000b5d7
mov dword [esp + 0x1c4], 1
jmp 0x1000b6db
cmp dword [esp + 0x1c4], 1
jne 0x1000b752
lea edx, [esp + 0x10]
or ebx, 0x30000
push edx
push ebp
call fcn.1000c360
add esp, 8
cmp eax, 0xffffffff
mov dword [esp + 0x28], eax
jne 0x1000b720
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x2c]
inc ecx
test eax, eax
mov dword [esp + 0x1c], ecx
je 0x1000b711
mov eax, ecx
mov dword [esp + 0x28], eax
jmp 0x1000b739
mov eax, dword [esp + 0x14]
mov dword [esp + 0x28], eax
inc eax
mov dword [esp + 0x14], eax
jmp 0x1000b739
mov ecx, dword [esp + 0x2c]
test ecx, ecx
jne 0x1000b72f
lea ecx, [eax + 1]
mov dword [esp + 0x14], ecx
cmp eax, dword [esp + 0x18]
jle 0x1000b739
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
cmp eax, ecx
jle 0x1000b5ed
mov dword [esp + 0x18], eax
jmp 0x1000b5ed
or ebx, 0x8000000
jmp case.0x1000b4fa.47
test bl, 8
jne case.0x1000b4fa.42
or bh, 0x20
lea edx, [esp + 0x38]
push 0xa
lea eax, [ecx + ebp - 1]
push edx
push eax
or ebx, 0x10000
call fcn.1000c2b0
mov ecx, dword [esp + 0x44]
add esp, 0xc
sub ecx, ebp
mov dword [esp + 0x28], eax
mov dword [esp + 0x10], ecx
jmp case.0x1000b4fa.47
test bl, 0x40
jne case.0x1000ba07.85
test bl, 0x20
je 0x1000b7a8
or ebx, 0x40
jmp case.0x1000b4fa.47
or ebx, 0x20
jmp case.0x1000b4fa.47
test bh, 1
jne case.0x1000ba07.85
test bl, 0x80
je 0x1000b7c6
or bh, 1
jmp case.0x1000b4fa.47
or bl, 0x80
jmp case.0x1000b4fa.47
or bh, 2
jmp case.0x1000b4fa.47
or ebx, 0x480
jmp case.0x1000b4fa.47
or ebx, 0x880
jmp case.0x1000b4fa.47
or bh, 0x11
jmp case.0x1000b4fa.47
test ebx, 0x40000000
jne case.0x1000ba07.85
test ebx, 0x22001fe0
jne case.0x1000ba07.85
mov al, byte [ecx + ebp]
cmp al, 0x36
jne 0x1000b834
cmp byte [ecx + ebp + 1], 0x34
jne 0x1000b834
add ecx, 2
mov dword [esp + 0x34], 8
mov dword [esp + 0x10], ecx
or ebx, 0x40000000
jmp case.0x1000b4fa.47
cmp al, 0x33
jne 0x1000b859
cmp byte [ecx + ebp + 1], 0x32
jne 0x1000b859
add ecx, 2
mov dword [esp + 0x34], 4
mov dword [esp + 0x10], ecx
or ebx, 0x40000000
jmp case.0x1000b4fa.47
cmp al, 0x31
jne 0x1000b87e
cmp byte [ecx + ebp + 1], 0x36
jne 0x1000b87e
add ecx, 2
mov dword [esp + 0x34], 2
mov dword [esp + 0x10], ecx
or ebx, 0x40000000
jmp case.0x1000b4fa.47
cmp al, 0x38
jne case.0x1000ba07.85
inc ecx
mov dword [esp + 0x34], 1
mov dword [esp + 0x10], ecx
or ebx, 0x40000000
jmp case.0x1000b4fa.47
or ebx, 0x2000000
jmp case.0x1000b4fa.47
or ebx, 0x1000000
jmp case.0x1000b4fa.47
or ebx, 1
mov dword [esp + 0x3c], 1
jmp case.0x1000b4fa.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 0x1000b8e1
mov dword [esp + 0x34], edx
jmp 0x1000b8ee
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.0x1000b4fa.47
mov edx, eax
mov dword [esp + 0x18], edx
jmp case.0x1000b4fa.47
or bh, 0x10
jmp case.0x1000b4fa.47
xor edx, edx
test ebx, 0x20000
je 0x1000b947
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 0x1000b94e
mov ecx, dword [esp + 0x1cc]
test ebx, 0x80000
je 0x1000b97d
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 0x1000b9ac
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 0x1000b9db
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.0x1000ba07.85
xor edx, edx
mov dl, byte [edi + 0x1000c210]
jmp dword [edx*4 + 0x1000c1a8]
or ebx, 0x2000000
test bl, 0x80
je 0x1000ba21
or ebx, 0x2000000
jmp 0x1000ba2c
test bl, 0x20
je 0x1000ba2c
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 0x1000bd10
or ebx, 0x2000000
test bl, 0x80
je 0x1000ba58
or ebx, 0x2000000
jmp 0x1000ba63
test bl, 0x20
je 0x1000ba63
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 0x1000bd10
cmp dword [esp + 0x1c4], 2
jne 0x1000bd10
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 0x1000baaf
inc ecx
mov dword [esp + 0x10], ecx
cmp byte [ecx + ebp], 0x5d
jne 0x1000baba
inc ecx
mov dword [esp + 0x10], ecx
cmp byte [ecx + ebp], 0x2d
jne 0x1000bac5
inc ecx
mov dword [esp + 0x10], ecx
mov al, byte [ecx + ebp]
test al, al
je 0x1000bd10
cmp al, 0x5b
jne 0x1000bad7
inc edx
jmp 0x1000bae0
cmp al, 0x5d
jne 0x1000bae0
dec edx
test edx, edx
jle 0x1000baf1
inc ecx
mov dword [esp + 0x10], ecx
mov al, byte [ecx + ebp]
test al, al
jne 0x1000bad0
jmp 0x1000bd10
inc ecx
mov dword [esp + 0x10], ecx
jmp 0x1000bd10
or bh, 0x40
jmp case.0x1000ba07.77
and ebx, 0xffdfffff
mov dword [esp + 0x20], 0xa
jmp case.0x1000ba07.77
and ebx, 0xffdfffff
mov dword [esp + 0x20], 8
or bh, 0x40
jmp case.0x1000ba07.77
or bh, 0x80
and ebx, 0xffdfffff
mov dword [esp + 0x20], 2
or bh, 0x20
jmp case.0x1000ba07.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 0x1000bd10
or bh, 0x80
or ebx, 0x400000
jmp case.0x1000ba07.75
or bh, 0x80
or ebx, 0x800000
jmp case.0x1000ba07.75
or bh, 0x80
jmp case.0x1000ba07.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 0x1000bd10
lea eax, [esi + esi*4]
lea edx, [eax + eax*8]
mov eax, dword [esp + 0x1cc]
mov dword [eax + edx*8], 6
jmp 0x1000bd10
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 0x1000bd10
lea eax, [esi + esi*4]
lea edx, [eax + eax*8]
mov eax, dword [esp + 0x1cc]
mov dword [eax + edx*8], 9
jmp 0x1000bd10
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.0x1000ba07.85
inc ecx
cmp al, 0x3e
mov dword [esp + 0x10], ecx
je 0x1000bc8d
cmp al, 0x3a
jne 0x1000bc79
mov eax, dword [esp + 0x1c8]
sub ecx, edx
add ecx, eax
mov dword [esp + 0x24], 0
cmp ecx, 0x40
jbe 0x1000bc5c
mov ecx, 0x40
push edx
push ecx
push ebp
call fcn.1000c280
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.0x1000ba07.85
jmp 0x1000bc32
mov eax, dword [esp + 0x24]
test eax, eax
je 0x1000bcdf
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 0x1000bcdf
mov eax, ebp
mov dword [esp + 0x18], eax
mov ebp, dword [esp + 0x1c8]
sub ecx, edx
add ecx, ebp
cmp ecx, 0x100
jbe 0x1000bcf7
mov ecx, 0x100
push edx
add edi, 0x68
push ecx
push edi
call fcn.1000c280
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 0x1000bdd2
test bl, 1
jne 0x1000bdd2
lea eax, [esi - 1]
test eax, eax
jl 0x1000bdd2
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 0x1000bd7b
test byte [edx + 4], 1
je 0x1000bd7b
lea edx, [esi + esi*4]
lea ebp, [edx + edx*8]
mov edx, dword [esp + 0x1cc]
cmp edi, dword [edx + ebp*8]
je 0x1000bd8c
mov ebp, dword [esp + 0x1c8]
mov edx, dword [esp + 0x24]
dec eax
sub edx, 0x168
test eax, eax
mov dword [esp + 0x24], edx
jge 0x1000bd51
jmp 0x1000bdd2
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 0x1000bdac
mov edx, dword [eax + 8]
mov dword [esp + 0x28], edx
mov edi, dword [esp + 0x30]
or edx, 0xffffffff
cmp edi, edx
jne 0x1000bdbe
mov edi, dword [eax + 0xc]
mov dword [esp + 0x30], edi
cmp dword [esp + 0x20], edx
jne 0x1000bdcb
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 0x1000be04
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 0x1000be1b
inc dword [esp + 0x1c]
cmp byte [ecx + ebp], 0
je 0x1000be6d
jmp 0x1000b447
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 0x1000c0ac
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 0x1000beaa
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x24]
cmp word [edx], 1
jne 0x1000c0b9
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 0x1000bee0
test dword [esi + 4], 0x8000000
jne case.0x1000bee9.2
cmp eax, 0xa
ja case.0x1000bee9.2
jmp dword [eax*4 + 0x1000c250]
test ebx, ebx
jne 0x1000bf3b
mov eax, dword [ecx]
add eax, 4
mov dword [ecx], eax
mov eax, dword [eax - 4]
mov dword [esi + 0x20], eax
jmp case.0x1000bee9.2
cmp dword [esp + 0x1c4], 2
jne 0x1000bf45
test ebx, ebx
jne 0x1000bf26
mov eax, dword [ecx]
add eax, 4
mov dword [ecx], eax
mov eax, dword [eax - 4]
mov dword [esi + 0x20], eax
jmp case.0x1000bee9.2
cmp eax, 3
jne 0x1000bf35
mov edx, dword [edi]
mov dword [esi + 0x20], edx
jmp case.0x1000bee9.2
test byte [esi + 4], 0x20
je 0x1000bf2b
mov eax, dword [edi]
mov dword [esi + 0x20], eax
jmp case.0x1000bee9.2
mov eax, dword [esi + 4]
test eax, 0x60000000
je 0x1000bf8b
mov edx, dword [esi + 0x14]
test eax, 0x20000000
je 0x1000bf6e
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 0x1000bf8b
cmp edx, 8
jg 0x1000bf85
or ah, 1
jmp 0x1000bf88
or ah, 0x10
mov dword [esi + 4], eax
mov eax, dword [esi + 4]
test ah, 4
je 0x1000bfb3
test ebx, ebx
jne 0x1000bfa8
mov eax, dword [ecx]
add eax, 4
xor edx, edx
mov dword [ecx], eax
mov eax, dword [eax - 4]
jmp 0x1000c087
mov eax, dword [edi]
xor edx, edx
mov eax, dword [eax]
jmp 0x1000c087
test ah, 8
je 0x1000bfcf
test ebx, ebx
jne 0x1000c082
mov eax, dword [ecx]
add eax, 4
mov dword [ecx], eax
mov eax, dword [eax - 4]
jmp 0x1000c086
test ah, 0x10
je 0x1000bff0
test ebx, ebx
jne 0x1000c00e
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.0x1000bee9.2
test ah, 1
je 0x1000c01d
test ebx, ebx
jne 0x1000c00e
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.0x1000bee9.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.0x1000bee9.2
test al, 0x80
je 0x1000c031
test ebx, ebx
jne 0x1000c082
mov eax, dword [ecx]
add eax, 4
mov dword [ecx], eax
mov eax, dword [eax - 4]
jmp 0x1000c086
test ebx, ebx
jne 0x1000c041
mov eax, dword [ecx]
add eax, 4
mov dword [ecx], eax
mov eax, dword [eax - 4]
jmp 0x1000c086
cmp dword [esi], 3
jne 0x1000c04d
mov eax, dword [edi]
movsx eax, byte [eax]
jmp 0x1000c086
test al, 0x20
je 0x1000c058
mov edx, dword [edi]
movsx eax, word [edx]
jmp 0x1000c086
mov eax, dword [edi]
mov eax, dword [eax]
jmp 0x1000c086
test dword [esi + 4], 0x8000000
je 0x1000bfb8
test ebx, ebx
jne 0x1000bf3b
mov eax, dword [ecx]
add eax, 4
mov dword [ecx], eax
mov eax, dword [eax - 4]
mov dword [esi + 0x20], eax
jmp case.0x1000bee9.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 0x1000bea6
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
add esp, 0x1b0
ret
cmp word [esp + ebp*2 + 0x40], 0
jne 0x1000c0d6
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