Function at 0x1001b750
Capabilities:
Check for peb ntglobalflag flag
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x250
mov esi, esp
mov dword [esi + 0x238], ebp
mov dword [esi + 8], ecx
lea eax, [esi + 0x240]
mov dword [eax - 4], esp
mov dword [eax + 8], 0xffffffff
mov dword [eax + 4], 0x10022c30
mov ecx, dword fs:[0]
mov dword [eax], ecx
mov dword fs:[0], eax
mov dword [esi + 0x50], edx
mov edi, 0x190
lea ebx, [esi + 0xa8]
push edi
push 0xff
push ebx
call fcn.10028220
add esp, 0xc
mov dword [esi + 0x68], ebx
mov dword [esi + 0x6c], fcn.10001da0
mov dword [esi + 0x54], ebx
mov dword [esi + 0x58], ebx
add edi, ebx
mov dword [esi + 0x64], edi
xor eax, eax
mov dword [esi + 0x74], eax
mov dword [esi + 0x70], eax
mov dword [esi + 0x78], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x40], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x84], eax
mov dword [esi + 0x80], eax
mov dword [esi + 0x88], eax
cmp byte [ebp + 8], 0
je 0x1001b904
mov dword [esi + 0x248], 1
mov ecx, dword [ebp + 0xc]
push 0x1005fdd0
call fcn.1001f27e
mov dword [esi + 4], eax
mov ecx, dword [esi + 4]
mov eax, dword [ecx]
lea edx, [esi + 0x44]
push edx
call dword [eax + 0x28]
mov eax, dword [esi + 0x44]
mov dword [esi + 0x98], eax
mov dword [esi + 0x94], eax
mov ecx, dword [esi + 4]
mov eax, dword [ecx]
lea edx, [esi + 0x44]
push edx
call dword [eax + 0x1c]
cmp byte [esi + 0x33], 0
jns 0x1001b856
push dword [esi + 0x28]
call fcn.10024ac9
add esp, 4
mov eax, dword [esi + 0x4c]
mov dword [esi + 0x30], eax
movsd xmm0, qword [esi + 0x44]
movsd qword [esi + 0x28], xmm0
mov ecx, dword [esi + 4]
mov eax, dword [ecx]
lea edx, [esi + 0x44]
push edx
call dword [eax + 0x18]
cmp byte [esi + 0x43], 0
jns 0x1001b883
push dword [esi + 0x38]
call fcn.10024ac9
add esp, 4
mov eax, dword [esi + 0x4c]
mov dword [esi + 0x40], eax
movsd xmm0, qword [esi + 0x44]
movsd qword [esi + 0x38], xmm0
mov ecx, dword [esi + 4]
mov eax, dword [ecx]
call dword [eax + 8]
mov word [esi + 0x5c], ax
mov ecx, dword [esi + 4]
mov eax, dword [ecx]
call dword [eax + 0xc]
mov word [esi + 0x5e], ax
mov ecx, dword [esi + 4]
mov eax, dword [ecx]
lea edx, [esi + 0x44]
push edx
call dword [eax + 0x10]
mov eax, dword [esi + 0x4c]
mov dword [esi + 0x78], eax
movsd xmm0, qword [esi + 0x44]
movsd qword [esi + 0x70], xmm0
mov ecx, dword [esi + 4]
mov eax, dword [ecx]
lea edx, [esi + 0x44]
push edx
call dword [eax + 0x14]
cmp byte [esi + 0x23], 0
jns 0x1001b8e4
push dword [esi + 0x18]
call fcn.10024ac9
add esp, 4
mov eax, dword [esi + 0x4c]
mov dword [esi + 0x20], eax
movsd xmm0, qword [esi + 0x44]
movsd qword [esi + 0x18], xmm0
mov ecx, dword [esi + 4]
mov eax, dword [ecx]
call dword [eax + 0x20]
mov dword [esi + 0x60], eax
jmp 0x1001b9ff
mov dword [esi + 0x248], 1
mov ecx, dword [ebp + 0xc]
push 0x1005fdc8
call fcn.1001f27e
mov dword [esi + 4], eax
mov ecx, dword [esi + 4]
mov eax, dword [ecx]
lea edx, [esi + 0x44]
push edx
call dword [eax + 0x28]
mov eax, dword [esi + 0x44]
mov dword [esi + 0x98], eax
mov dword [esi + 0x94], eax
mov ecx, dword [esi + 4]
mov eax, dword [ecx]
lea edx, [esi + 0x44]
push edx
call dword [eax + 0x1c]
cmp byte [esi + 0x33], 0
jns 0x1001b956
push dword [esi + 0x28]
call fcn.10024ac9
add esp, 4
mov eax, dword [esi + 0x4c]
mov dword [esi + 0x30], eax
movsd xmm0, qword [esi + 0x44]
movsd qword [esi + 0x28], xmm0
mov ecx, dword [esi + 4]
mov eax, dword [ecx]
lea edx, [esi + 0x44]
push edx
call dword [eax + 0x18]
cmp byte [esi + 0x43], 0
jns 0x1001b983
push dword [esi + 0x38]
call fcn.10024ac9
add esp, 4
mov eax, dword [esi + 0x4c]
mov dword [esi + 0x40], eax
movsd xmm0, qword [esi + 0x44]
movsd qword [esi + 0x38], xmm0
mov ecx, dword [esi + 4]
mov eax, dword [ecx]
call dword [eax + 8]
mov word [esi + 0x5c], ax
mov ecx, dword [esi + 4]
mov eax, dword [ecx]
call dword [eax + 0xc]
mov word [esi + 0x5e], ax
mov ecx, dword [esi + 4]
mov eax, dword [ecx]
lea edx, [esi + 0x44]
push edx
call dword [eax + 0x10]
mov eax, dword [esi + 0x4c]
mov dword [esi + 0x78], eax
movsd xmm0, qword [esi + 0x44]
movsd qword [esi + 0x70], xmm0
mov ecx, dword [esi + 4]
mov eax, dword [ecx]
lea edx, [esi + 0x44]
push edx
call dword [eax + 0x14]
cmp byte [esi + 0x23], 0
jns 0x1001b9e4
push dword [esi + 0x18]
call fcn.10024ac9
add esp, 4
mov eax, dword [esi + 0x4c]
mov dword [esi + 0x20], eax
movsd xmm0, qword [esi + 0x44]
movsd qword [esi + 0x18], xmm0
mov ecx, dword [esi + 4]
mov eax, dword [ecx]
call dword [eax + 0x20]
mov dword [esi + 0x60], eax
mov ecx, dword [ebp + 0x24]
mov eax, dword [ebp + 0x20]
mov edx, dword [ebp + 0x10]
mov eax, dword [eax]
mov dword [ecx], eax
shr edx, 9
and edx, 1
mov dword [esi + 0xa4], edx
xor edx, edx
lea eax, [esi + 0xa8]
mov dword [esi + 0x90], eax
xor edi, edi
cmp edi, 3
mov dword [esi + 0x10], edx
ja 0x1001c19f
mov dword [esi + 0xc], edi
mov dword [esi + 0x248], 1
mov ecx, dword [esi + 8]
lea eax, [esi + 0x50]
push eax
call fcn.10002a1a
test al, al
mov edx, dword [esi + 0x10]
mov edi, dword [esi + 0xc]
jne 0x1001c19f
movsx eax, byte [esi + edi + 0x94]
cmp eax, 4
ja case.default.0x1001ba6c
jmp dword [eax*4 + 0x10057eec]
cmp edi, 3
jne 0x1001be6b
jmp 0x1001bfec
cmp edi, 3
je case.default.0x1001ba6c
mov eax, dword [esi + 8]
mov ecx, dword [eax]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x1001be0b
movzx eax, word [eax]
jmp 0x1001be10
test edx, edx
jne 0x1001bca4
cmp edi, 2
jb 0x1001bca4
cmp dword [esi + 0x98], 0x1000000
setae al
cmp edi, 2
sete cl
and cl, al
or cl, byte [esi + 0xa4]
cmp cl, 1
jne 0x1001bd0c
mov al, byte [esi + 0x23]
test al, al
mov ecx, dword [esi + 0x18]
lea ebx, [esi + 0x18]
cmovs ebx, ecx
jmp 0x1001bcba
movzx ecx, byte [esi + 0x43]
mov eax, ecx
test cl, cl
jns 0x1001baf8
mov eax, dword [esi + 0x3c]
movzx edx, byte [esi + 0x33]
mov ebx, edx
test dl, dl
jns 0x1001bb05
mov ebx, dword [esi + 0x2c]
mov edi, eax
add edi, ebx
je 0x1001bfec
test eax, eax
je 0x1001be3e
mov eax, dword [esi + 8]
mov edx, dword [eax]
mov edi, dword [edx + 0xc]
mov eax, dword [edx + 0x10]
test ebx, ebx
je 0x1001c01b
cmp edi, eax
je 0x1001c02b
mov dword [esi + 0x14], eax
movzx eax, word [edi]
mov word [esi + 4], ax
jmp 0x1001c047
mov dword [esi + 0x14], 0
mov ecx, dword [esi + 8]
lea eax, [esi + 0x50]
push eax
call fcn.10002a1a
test al, al
jne 0x1001bc3c
mov eax, dword [esi + 8]
mov ecx, dword [eax]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x1001bb6e
movzx edx, word [eax]
jmp 0x1001bb75
mov eax, dword [ecx]
call dword [eax + 0x20]
mov edx, eax
mov ecx, dword [ebp + 0x1c]
mov eax, dword [ecx]
mov word [esi + 4], dx
movzx edx, dx
push edx
push 4
call dword [eax + 0xc]
test al, al
je 0x1001bbbe
mov edx, dword [ebp + 0x24]
mov eax, dword [edx]
cmp eax, dword [ebp + 0x28]
movzx edi, word [esi + 4]
jne 0x1001bbb1
mov ecx, dword [ebp + 0x20]
lea eax, [ebp + 0x28]
push eax
call fcn.1001c760
add esp, 4
mov edx, dword [ebp + 0x24]
mov eax, dword [edx]
movzx edi, word [esi + 4]
lea ecx, [eax + 2]
mov dword [edx], ecx
mov word [eax], di
inc dword [esi + 0x14]
jmp 0x1001bc1a
movzx eax, byte [esi + 0x7b]
test al, al
movzx ecx, word [esi + 4]
jns 0x1001bbcd
mov eax, dword [esi + 0x74]
test eax, eax
je 0x1001bc3c
cmp dword [esi + 0x14], 0
je 0x1001bc3c
cmp cx, word [esi + 0x5e]
jne 0x1001bc3c
mov eax, dword [esi + 0x90]
cmp eax, dword [esi + 0x64]
jne 0x1001bbfd
lea ecx, [esi + 0x68]
lea edx, [esi + 0x54]
lea eax, [esi + 0x64]
push eax
call fcn.1001b2b0
add esp, 4
mov eax, dword [esi + 0x54]
mov ecx, eax
add eax, 4
mov dword [esi + 0x54], eax
mov edx, dword [esi + 0x14]
mov dword [ecx], edx
mov dword [esi + 0x14], 0
mov dword [esi + 0x58], eax
mov dword [esi + 0x90], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x1001bc32
add eax, 2
mov dword [ecx + 0xc], eax
jmp 0x1001bb48
mov eax, dword [ecx]
call dword [eax + 0x24]
jmp 0x1001bb48
mov eax, dword [esi + 0x58]
cmp dword [esi + 0x68], eax
je 0x1001bc71
cmp dword [esi + 0x14], 0
je 0x1001bc71
cmp eax, dword [esi + 0x64]
jne 0x1001bc64
lea ecx, [esi + 0x68]
lea edx, [esi + 0x54]
lea eax, [esi + 0x64]
push eax
call fcn.1001b2b0
add esp, 4
mov eax, dword [esi + 0x54]
mov ecx, eax
add eax, 4
mov dword [esi + 0x54], eax
mov edx, dword [esi + 0x14]
mov dword [ecx], edx
mov dword [esi + 0x58], eax
cmp dword [esi + 0x60], 0
jle 0x1001bde7
mov ecx, dword [esi + 8]
lea eax, [esi + 0x50]
push eax
call fcn.10002a1a
test al, al
jne 0x1001c256
mov eax, dword [esi + 8]
mov ecx, dword [eax]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x1001bd13
movzx eax, word [eax]
jmp 0x1001bd18
mov al, byte [esi + 0x23]
test al, al
mov ecx, dword [esi + 0x18]
lea ebx, [esi + 0x18]
cmovs ebx, ecx
test edi, edi
je 0x1001bf68
lea edx, [esi + 0x94]
cmp byte [edi + edx - 1], 1
ja 0x1001bf68
test al, al
lea edx, [esi + 0x18]
movzx edi, al
cmovs edi, dword [esi + 0x1c]
cmovs edx, ecx
lea edx, [edx + edi*2]
cmp ebx, edx
mov dword [esi + 4], ebx
je 0x1001bee0
movzx eax, word [ebx]
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ecx]
push eax
push 8
call dword [edx + 0xc]
mov ebx, dword [esi + 4]
test al, al
je 0x1001beda
add ebx, 2
mov al, byte [esi + 0x23]
mov ecx, dword [esi + 0x18]
jmp 0x1001bccb
xor edx, edx
jmp case.default.0x1001ba6c
mov eax, dword [ecx]
call dword [eax + 0x20]
cmp ax, word [esi + 0x5c]
jne 0x1001c256
mov eax, dword [esi + 8]
mov ecx, dword [eax]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x1001bd39
add ecx, 0xc
add eax, 2
mov dword [ecx], eax
jmp 0x1001bd3e
mov eax, dword [ecx]
call dword [eax + 0x24]
cmp dword [esi + 0x60], 0
jle 0x1001bde7
mov ecx, dword [esi + 8]
lea eax, [esi + 0x50]
push eax
call fcn.10002a1a
test al, al
jne 0x1001c256
mov eax, dword [esi + 8]
mov ecx, dword [eax]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x1001bd6e
movzx eax, word [eax]
jmp 0x1001bd73
mov eax, dword [ecx]
call dword [eax + 0x20]
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ecx]
movzx eax, ax
push eax
push 4
call dword [edx + 0xc]
test al, al
je 0x1001c256
mov eax, dword [ebp + 0x24]
mov eax, dword [eax]
cmp eax, dword [ebp + 0x28]
jne 0x1001bda5
mov ecx, dword [ebp + 0x20]
mov edx, dword [ebp + 0x24]
lea eax, [ebp + 0x28]
push eax
call fcn.1001c760
add esp, 4
mov eax, dword [esi + 8]
mov ecx, dword [eax]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x1001bdb7
movzx eax, word [eax]
jmp 0x1001bdbc
mov eax, dword [ecx]
call dword [eax + 0x20]
mov edi, dword [ebp + 0x24]
mov ecx, dword [edi]
lea edx, [ecx + 2]
mov dword [edi], edx
mov word [ecx], ax
dec dword [esi + 0x60]
mov eax, dword [esi + 8]
mov ecx, dword [eax]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
jne 0x1001bd2f
mov eax, dword [ecx]
call dword [eax + 0x24]
jmp 0x1001bd3e
mov eax, dword [ebp + 0x24]
mov eax, dword [eax]
mov ecx, dword [esi + 0x58]
mov dword [esi + 0x90], ecx
mov ecx, dword [ebp + 0x20]
cmp eax, dword [ecx]
mov edx, dword [esi + 0x10]
mov edi, dword [esi + 0xc]
jne case.default.0x1001ba6c
jmp 0x1001c256
mov eax, dword [ecx]
call dword [eax + 0x20]
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ecx]
movzx eax, ax
push eax
push 8
call dword [edx + 0xc]
test al, al
je 0x1001c256
mov eax, dword [esi + 8]
mov ecx, dword [eax]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x1001be57
lea edx, [eax + 2]
mov dword [ecx + 0xc], edx
movzx eax, word [eax]
jmp 0x1001be5c
mov eax, dword [esi + 8]
mov ecx, dword [eax]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x1001c07f
movzx eax, word [eax]
jmp 0x1001c087
mov eax, dword [ecx]
call dword [eax + 0x24]
movzx eax, ax
lea ecx, [esi + 0x80]
push eax
call fcn.10023a5e
mov ecx, dword [esi + 8]
lea eax, [esi + 0x50]
push eax
call fcn.10002a1a
test al, al
jne 0x1001bfec
mov eax, dword [esi + 8]
mov ecx, dword [eax]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x1001be91
movzx eax, word [eax]
jmp 0x1001be96
mov eax, dword [ecx]
call dword [eax + 0x20]
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ecx]
movzx eax, ax
push eax
push 8
call dword [edx + 0xc]
test al, al
je 0x1001bfec
mov eax, dword [esi + 8]
mov ecx, dword [eax]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x1001bec4
lea edx, [eax + 2]
mov dword [ecx + 0xc], edx
movzx eax, word [eax]
jmp 0x1001bec9
mov eax, dword [ecx]
call dword [eax + 0x24]
movzx eax, ax
lea ecx, [esi + 0x80]
push eax
call fcn.10023a5e
jmp 0x1001be6b
mov al, byte [esi + 0x23]
mov ecx, dword [esi + 0x18]
test al, al
lea edx, [esi + 0x18]
cmovs edx, ecx
mov edi, ebx
mov dword [esi + 0x8c], edx
sub edi, edx
mov dword [esi + 0x9c], edi
sar edi, 1
movzx edx, byte [esi + 0x8b]
mov ebx, edx
mov dword [esi + 0xa0], edx
test dl, dl
jns 0x1001bf13
mov ebx, dword [esi + 0x84]
mov dword [esi + 0x14], ebx
sub ebx, edi
jae 0x1001bf22
mov ebx, dword [esi + 0x8c]
jmp 0x1001bf68
lea edi, [esi + 0x80]
cmp byte [esi + 0xa0], 0
jns 0x1001bf37
mov edi, dword [esi + 0x80]
cmp dword [esi + 0x9c], 0
mov edx, dword [esi + 0x14]
je 0x1001bf65
lea edx, [edi + edx*2]
mov dword [esi + 0x14], edx
lea ebx, [edi + ebx*2]
mov edx, dword [esi + 0x8c]
movzx edi, word [ebx]
cmp di, word [edx]
jne 0x1001bf1a
add ebx, 2
add edx, 2
cmp ebx, dword [esi + 0x14]
jne 0x1001bf52
mov ebx, dword [esi + 4]
test al, al
movzx eax, al
cmovs eax, dword [esi + 0x1c]
lea edx, [esi + 0x18]
cmovns ecx, edx
lea eax, [ecx + eax*2]
cmp ebx, eax
je 0x1001bfe5
mov dword [esi + 0x248], 1
mov ecx, dword [esi + 8]
lea eax, [esi + 0x50]
push eax
mov dword [esi + 4], ebx
call fcn.10002a1a
mov ebx, dword [esi + 4]
test al, al
jne 0x1001bfe5
mov eax, dword [esi + 8]
mov ecx, dword [eax]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x1001bfb0
movzx eax, word [eax]
jmp 0x1001bfb8
mov eax, dword [ecx]
call dword [eax + 0x20]
mov ebx, dword [esi + 4]
cmp ax, word [ebx]
jne 0x1001bfe5
mov eax, dword [esi + 8]
mov ecx, dword [eax]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x1001bfd2
add eax, 2
mov dword [ecx + 0xc], eax
jmp 0x1001bfda
mov eax, dword [ecx]
call dword [eax + 0x24]
mov ebx, dword [esi + 4]
add ebx, 2
mov al, byte [esi + 0x23]
mov ecx, dword [esi + 0x18]
jmp 0x1001bf68
bt dword [ebp + 0x10], 9
jb 0x1001bff8
mov edx, dword [esi + 0x10]
mov edi, dword [esi + 0xc]
inc edi
jmp 0x1001ba28
movzx eax, byte [esi + 0x23]
lea ecx, [esi + 0x18]
test al, al
mov edx, dword [esi + 0x10]
mov edi, dword [esi + 0xc]
jns 0x1001c00f
mov ecx, dword [esi + 0x18]
mov eax, dword [esi + 0x1c]
lea eax, [ecx + eax*2]
cmp ebx, eax
je case.default.0x1001ba6c
jmp 0x1001c256
cmp edi, eax
je 0x1001c0b5
movzx eax, word [edi]
jmp 0x1001c0bf
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0x20]
mov word [esi + 4], ax
mov cl, byte [esi + 0x43]
mov eax, dword [esi + 8]
mov edx, dword [eax]
mov edi, dword [edx + 0xc]
mov eax, dword [edx + 0x10]
mov dword [esi + 0x14], eax
lea ebx, [esi + 0x38]
test cl, cl
jns 0x1001c051
mov ebx, dword [esi + 0x38]
movzx eax, word [esi + 4]
cmp ax, word [ebx]
jne 0x1001c06e
cmp edi, dword [esi + 0x14]
je 0x1001c0fb
add edi, 2
mov dword [edx + 0xc], edi
jmp 0x1001c17f
cmp edi, dword [esi + 0x14]
je 0x1001c104
movzx eax, word [edi]
jmp 0x1001c10b
mov eax, dword [ecx]
call dword [eax + 0x20]
mov dl, byte [esi + 0x33]
lea ecx, [esi + 0x28]
test dl, dl
jns 0x1001c091
mov ecx, dword [esi + 0x28]
cmp ax, word [ecx]
mov edi, dword [esi + 0xc]
jne 0x1001c0f3
mov eax, dword [esi + 8]
mov ecx, dword [eax]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x1001c14d
add eax, 2
mov dword [ecx + 0xc], eax
jmp 0x1001c155
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0x20]
mov cl, byte [esi + 0x43]
lea edx, [esi + 0x38]
test cl, cl
jns 0x1001c0c9
mov edx, dword [esi + 0x38]
cmp ax, word [edx]
mov edi, dword [esi + 0xc]
jne 0x1001c0ed
mov eax, dword [esi + 8]
mov eax, dword [eax]
mov edx, dword [eax + 0xc]
cmp edx, dword [eax + 0x10]
je 0x1001c175
add edx, 2
mov dword [eax + 0xc], edx
jmp 0x1001c17f
mov eax, dword [ebp + 0x18]
mov byte [eax], 1
mov edx, dword [esi + 0x10]
jmp case.default.0x1001ba6c
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0x24]
jmp 0x1001c17c
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0x20]
mov dl, byte [esi + 0x33]
lea ecx, [esi + 0x28]
test dl, dl
jns 0x1001c118
mov ecx, dword [esi + 0x28]
cmp ax, word [ecx]
jne 0x1001c256
mov eax, dword [esi + 8]
mov ecx, dword [eax]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x1001c136
add eax, 2
mov dword [ecx + 0xc], eax
jmp 0x1001c13e
mov eax, dword [ecx]
call dword [eax + 0x24]
mov dl, byte [esi + 0x33]
mov eax, dword [ebp + 0x18]
mov byte [eax], 1
test dl, dl
js 0x1001c15f
movzx eax, dl
jmp 0x1001c167
mov eax, dword [ecx]
call dword [eax + 0x24]
mov dl, byte [esi + 0x33]
mov eax, dword [ebp + 0x18]
mov byte [eax], 1
test dl, dl
jns 0x1001c164
mov eax, dword [esi + 0x2c]
jmp 0x1001c167
movzx eax, dl
mov edi, dword [esi + 0xc]
cmp eax, 2
mov edx, dword [esi + 0x10]
lea eax, [esi + 0x28]
jmp 0x1001c197
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x24]
mov cl, byte [esi + 0x43]
test cl, cl
jns 0x1001c188
mov eax, dword [esi + 0x3c]
jmp 0x1001c18b
movzx eax, cl
mov edx, dword [esi + 0x10]
mov edi, dword [esi + 0xc]
cmp eax, 2
lea eax, [esi + 0x38]
cmovae edx, eax
jmp case.default.0x1001ba6c
test edx, edx
je 0x1001c22f
xor edi, edi
inc edi
mov ecx, dword [esi + 0x10]
movzx eax, byte [ecx + 0xb]
test al, al
jns 0x1001c1b8
mov eax, dword [ecx + 4]
cmp edi, eax
jae 0x1001c22f
mov dword [esi + 0x248], 1
mov ecx, dword [esi + 8]
lea eax, [esi + 0x50]
push eax
mov dword [esi + 4], edi
call fcn.10002a1a
mov edi, dword [esi + 4]
test al, al
jne 0x1001c256
mov eax, dword [esi + 8]
mov ecx, dword [eax]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x1001c1ee
movzx eax, word [eax]
jmp 0x1001c1f6
mov eax, dword [ecx]
call dword [eax + 0x20]
mov edi, dword [esi + 4]
mov edx, dword [esi + 0x10]
cmp byte [edx + 0xb], 0
mov ecx, edx
jns 0x1001c203
mov ecx, dword [edx]
cmp ax, word [ecx + edi*2]
jne 0x1001c256
inc edi
mov eax, dword [esi + 8]
mov ecx, dword [eax]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x1001c21f
add eax, 2
mov dword [ecx + 0xc], eax
jmp 0x1001c1aa
mov eax, dword [ecx]
mov dword [esi + 4], edi
call dword [eax + 0x24]
mov edi, dword [esi + 4]
jmp 0x1001c1aa
mov edx, dword [esi + 0x68]
mov bl, 1
mov eax, dword [esi + 0x58]
cmp edx, eax
je 0x1001c25e
lea edi, [esi + 0x44]
mov dword [edi], 0
lea ecx, [esi + 0x70]
push edi
push eax
call fcn.1001b399
add esp, 8
cmp dword [edi], 0
je 0x1001c25e
mov eax, dword [ebp + 0x14]
or byte [eax], 4
xor ebx, ebx
cmp byte [esi + 0x8b], 0
jns 0x1001c275
push dword [esi + 0x80]
call fcn.10024ac9
add esp, 4
cmp byte [esi + 0x33], 0
jns 0x1001c286
push dword [esi + 0x28]
call fcn.10024ac9
add esp, 4
cmp byte [esi + 0x43], 0
jns 0x1001c297
push dword [esi + 0x38]
call fcn.10024ac9
add esp, 4
cmp byte [esi + 0x23], 0
jns 0x1001c2a8
push dword [esi + 0x18]
call fcn.10024ac9
add esp, 4
cmp byte [esi + 0x7b], 0
jns 0x1001c2b9
push dword [esi + 0x70]
call fcn.10024ac9
add esp, 4
mov eax, dword [esi + 0x68]
test eax, eax
je 0x1001c2d7
mov dword [esi + 0x248], 0
push eax
mov dword [esi + 8], ebx
call dword [esi + 0x6c]
mov ebx, dword [esi + 8]
add esp, 4
mov eax, dword [esi + 0x240]
mov dword fs:[0], eax
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret