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

Disassembly:
sub esp, 0x7c0
mov eax, dword [0x10c67840]
xor eax, esp
mov dword [esp + 0x7bc], eax
mov eax, dword [esp + 0x7c4]
push ebx
push ebp
xor ecx, ecx
push esi
mov dword [esp + 0x14], eax
lea ebp, [esp + 0x634]
lea edx, [esp + 0x314]
mov eax, 0xc8
push edi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x58], ebp
mov dword [esp + 0x6c], edx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x54], ecx
mov dword [esp + 0x68], ecx
mov dword [esp + 0x38], 0xfffffffe
mov esi, ebp
mov ebx, edx
mov cx, word [esp + 0x20]
lea edx, [ebp + eax*2 - 2]
cmp edx, esi
mov dword [esp + 0x40], esi
nop
mov word [esi], cx
ja 0x1021e866
sub esi, ebp
sar esi, 1
add esi, 1
cmp eax, 0x2710
mov edi, esi
jae 0x1022061f
add eax, eax
cmp eax, 0x2710
mov dword [esp + 0x3c], eax
jbe 0x1021e7c2
mov dword [esp + 0x3c], 0x2710
mov eax, dword [esp + 0x3c]
lea eax, [eax + eax*2]
lea ecx, [eax + eax + 3]
push ecx
mov dword [esp + 0x60], ebp
call fcn.102f361c
add esp, 4
test eax, eax
je 0x1022061f
test edi, edi
jbe 0x1021e7ff
mov edx, ebp
mov ecx, eax
sub edx, eax
mov esi, edi
mov edi, edi
mov bx, word [edx + ecx]
mov word [ecx], bx
add ecx, 2
sub esi, 1
jne 0x1021e7f0
mov edx, dword [esp + 0x3c]
lea ecx, [edx + edx + 3]
shr ecx, 2
test edi, edi
mov ebp, eax
mov dword [esp + 0x58], ebp
lea ebx, [eax + ecx*4]
jbe 0x1021e82e
mov ecx, dword [esp + 0x6c]
mov eax, ebx
sub ecx, ebx
mov edx, edi
mov esi, dword [ecx + eax]
mov dword [eax], esi
add eax, 4
sub edx, 1
jne 0x1021e821
mov eax, dword [esp + 0x5c]
lea edx, [esp + 0x638]
cmp eax, edx
mov dword [esp + 0x6c], ebx
je 0x1021e84a
push eax
call fcn.102f353f
add esp, 4
mov eax, dword [esp + 0x3c]
lea esi, [ebp + edi*2 - 2]
lea ecx, [ebp + eax*2 - 2]
cmp ecx, esi
mov dword [esp + 0x40], esi
lea ebx, [ebx + edi*4 - 4]
jbe 0x10220657
mov edx, dword [esp + 0x20]
movsx ebp, byte [edx + 0x10befb58]
cmp ebp, 0xffffffd4
mov ecx, dword [esp + 0x38]
je 0x1021e970
cmp ecx, 0xfffffffe
jne 0x1021e89b
mov eax, dword [0x10c88184]
lea edi, [esp + 0x64]
call fcn.101f79e0
mov edx, dword [esp + 0x20]
mov dword [esp + 0x38], eax
mov ecx, eax
test ecx, ecx
jg 0x1021e8a9
xor eax, eax
xor ecx, ecx
mov dword [esp + 0x38], ecx
jmp 0x1021e8bf
cmp ecx, 0x113
ja 0x1021e8ba
movzx eax, byte [ecx + 0x10bef940]
jmp 0x1021e8bf
mov eax, 2
add ebp, eax
cmp ebp, 0x78
ja 0x1021e970
movsx edi, byte [ebp + 0x10befc58]
cmp edi, eax
jne 0x1021e970
movzx eax, byte [ebp + 0x10befbd8]
test eax, eax
jg 0x1021e932
je 0x1021e983
cmp eax, 0xffffffff
je 0x1021e983
neg eax
mov dword [esp + 0x5c], eax
movzx ecx, byte [eax + 0x10befa94]
mov dword [esp + 0x94], ecx
lea edx, [ecx*4]
mov ecx, ebx
sub ecx, edx
mov ebp, dword [ecx + 4]
add ecx, 4
add eax, 0xfffffffe
cmp eax, 0x3b
mov dword [esp + 0xa4], ecx
ja case.0x1021e92b.15
jmp dword [eax*4 + 0x10220690]
cmp eax, 0x2f
je 0x10220626
test ecx, ecx
je 0x1021e947
mov dword [esp + 0x38], 0xfffffffe
mov edx, dword [esp + 0x64]
add ebx, 4
cmp dword [esp + 0x54], 0
mov dword [ebx], edx
je 0x1021e95c
sub dword [esp + 0x54], 1
mov ebp, dword [esp + 0x58]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x3c]
add esi, 2
jmp 0x1021e780
movzx eax, byte [edx + 0x10befad8]
test eax, eax
mov dword [esp + 0x5c], eax
jne 0x1021e8f9
mov eax, dword [esp + 0x54]
test eax, eax
jne 0x1021e992
add dword [esp + 0x68], 1
jmp 0x1021e9af
cmp eax, 3
jne 0x1021e9af
test ecx, ecx
jg 0x1021e9a7
je 0x10220657
mov edx, dword [esp + 0x20]
jmp 0x1021e9af
mov dword [esp + 0x38], 0xfffffffe
mov dword [esp + 0x54], 3
jmp 0x1021e9c0
movsx eax, byte [edx + 0x10befb58]
cmp eax, 0xffffffd4
je 0x1021e9e8
add eax, 1
cmp eax, 0x78
ja 0x1021e9e8
cmp byte [eax + 0x10befc58], 1
jne 0x1021e9e8
movzx eax, byte [eax + 0x10befbd8]
test eax, eax
jg 0x1021e9fe
cmp esi, dword [esp + 0x58]
je 0x10220657
movsx edx, word [esi - 2]
sub ebx, 4
sub esi, 2
jmp 0x1021e9c0
cmp eax, 0x2f
je 0x10220626
mov ecx, dword [esp + 0x64]
mov ebp, dword [esp + 0x58]
add ebx, 4
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x3c]
mov dword [ebx], ecx
add esi, 2
jmp 0x1021e780
mov edx, dword [ebx]
mov eax, dword [esp + 0x18]
mov dword [eax], edx
jmp case.0x1021e92b.15
mov byte [ebp + 0x1c], 0
jmp case.0x1021e92b.15
mov byte [ebp + 0x1c], 1
jmp case.0x1021e92b.15
push 0x20
call fcn.102f361c
xor ecx, ecx
add esp, 4
cmp eax, ecx
je 0x1021ea72
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax], 0x10c5138c
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], ecx
mov byte [eax + 0x1c], cl
mov ebp, eax
jmp 0x1021ea74
xor ebp, ebp
cmp ebp, ecx
mov dword [esp + 0x24], ebp
je case.0x1021e92b.15
lea ecx, [esp + 0x270]
push ecx
mov ecx, dword [esp + 0x1c]
add ecx, 0x18
lea eax, [esp + 0x28]
jmp 0x10220593
mov ebp, dword [ebx]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebx - 4]
lea eax, [esp + 0x20]
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 0x18]
cmp ecx, eax
mov dword [esp + 0x20], edx
jne 0x1021ebea
mov esi, dword [ebp + 0x14]
lea edi, [esp + 0x20]
cmp edi, esi
lea edx, [ecx + 1]
mov dword [esp + 0x30], edx
jb 0x1021eb6d
lea edx, [esi + ecx*4]
mov dword [esp + 0x28], edx
cmp edi, edx
mov edx, dword [esp + 0x30]
jae 0x1021eb6d
mov ecx, eax
shr ecx, 2
sub edi, esi
lea ecx, [ecx + eax + 1]
sar edi, 2
mov dword [esp + 0x24], ecx
cmp ecx, 0x10
mov dword [esp + 0x34], edx
mov dword [esp + 0x30], 0x10
lea ecx, [esp + 0x24]
ja 0x1021eb0b
lea ecx, [esp + 0x30]
cmp edx, dword [ecx]
jb 0x1021eb13
lea ecx, [esp + 0x34]
mov ecx, dword [ecx]
cmp ecx, eax
mov dword [esp + 0x34], ecx
jb 0x1021eb61
cmp ecx, 0x3fffffff
mov dword [ebp + 0x18], ecx
jbe 0x1021eb31
call fcn.102f2d46
mov ecx, dword [esp + 0x34]
lea edx, [ecx*4]
push edx
call fcn.102f361c
mov dword [ebp + 0x14], eax
mov eax, dword [esp + 0x2c]
add esp, 4
sub eax, esi
push eax
mov eax, dword [ebp + 0x14]
push esi
push eax
call fcn.1030ad1f
add esp, 0xc
push esi
call fcn.102f353f
add esp, 4
mov ecx, dword [ebp + 0x14]
lea edx, [ecx + edi*4]
mov dword [esp + 0x24], edx
jmp 0x1021ebea
mov edi, eax
shr edi, 2
lea edi, [edi + eax + 1]
mov dword [esp + 0x28], edi
cmp edi, 0x10
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], 0x10
lea edi, [esp + 0x28]
ja 0x1021eb93
lea edi, [esp + 0x34]
cmp edx, dword [edi]
mov edx, edi
jb 0x1021eb9d
lea edx, [esp + 0x30]
mov edi, dword [edx]
cmp edi, eax
jb 0x1021ebea
cmp edi, 0x3fffffff
lea eax, [esi + ecx*4]
mov dword [esp + 0x28], eax
mov dword [ebp + 0x18], edi
jbe 0x1021ebba
call fcn.102f2d46
lea ecx, [edi*4]
push ecx
call fcn.102f361c
mov dword [ebp + 0x14], eax
mov eax, dword [esp + 0x2c]
mov edx, dword [ebp + 0x14]
add esp, 4
sub eax, esi
push eax
push esi
push edx
call fcn.1030ad1f
add esp, 0xc
push esi
call fcn.102f353f
add esp, 4
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp + 0x14]
add eax, eax
add eax, eax
push eax
lea ecx, [esi + 4]
push esi
push ecx
call fcn.1030ad1f
add esp, 0xc
test esi, esi
je 0x1021ec0e
mov edx, dword [esp + 0x24]
mov eax, dword [edx]
mov dword [esi], eax
mov eax, 1
add dword [ebp + 0x10], eax
cmp dword [ebp + 0x10], eax
jbe 0x1021ec24
xor eax, eax
mov ecx, ebp
call fcn.10226590
mov ebx, dword [ebx - 4]
test ebx, ebx
mov dword [esp + 0x28], ebx
je case.0x1021e92b.15
mov ebx, dword [esp + 0x18]
mov esi, dword [ebx + 0x18]
add ebx, 0x18
test esi, esi
jne 0x1021ec64
mov eax, dword [ebx + 4]
add eax, eax
add eax, eax
mov edx, eax
cmp eax, edx
je 0x1021ecc2
mov edi, edi
mov ecx, dword [eax]
test ecx, ecx
je 0x1021ec5b
cmp ecx, 0xffffffff
jne 0x1021ecc2
add eax, 4
cmp eax, edx
jne 0x1021ec50
jmp 0x1021ecc2
lea ecx, [esp + 0x30c]
push ecx
lea eax, [esp + 0x2c]
mov ecx, ebx
call fcn.100eef50
cmp byte [eax + 4], 0
mov ecx, dword [eax]
mov edx, dword [ebx + 4]
jne 0x1021eca4
lea eax, [esi + edx*4]
mov edx, eax
cmp eax, edx
je 0x1021ecc2
jmp 0x1021ec90
mov ecx, dword [eax]
test ecx, ecx
je 0x1021ec9b
cmp ecx, 0xffffffff
jne 0x1021ecc2
add eax, 4
cmp eax, edx
jne 0x1021ec90
jmp 0x1021ecc2
lea edx, [esi + edx*4]
cmp ecx, edx
mov eax, ecx
je 0x1021ecc2
lea ecx, [ecx]
mov ecx, dword [eax]
test ecx, ecx
je 0x1021ecbb
cmp ecx, 0xffffffff
jne 0x1021ecc2
add eax, 4
cmp eax, edx
jne 0x1021ecb0
mov ecx, dword [ebx + 4]
lea edi, [esi + ecx*4]
mov ecx, edi
cmp ecx, edi
je 0x1021ece2
mov edi, edi
mov esi, dword [ecx]
test esi, esi
je 0x1021ecdb
cmp esi, 0xffffffff
jne 0x1021ece2
add ecx, 4
cmp ecx, edi
jne 0x1021ecd0
cmp eax, ecx
je case.0x1021e92b.15
push edx
push eax
mov eax, ebx
call fcn.100140f0
jmp case.0x1021e92b.15
push 0x20
call fcn.102f361c
xor ebp, ebp
add esp, 4
cmp eax, ebp
je 0x1021ed26
mov dword [eax + 4], ebp
mov dword [eax + 8], ebp
mov dword [eax + 0xc], ebp
mov dword [eax], 0x10c5138c
mov dword [eax + 0x10], ebp
mov dword [eax + 0x14], ebp
mov dword [eax + 0x18], ebp
mov byte [eax + 0x1c], 0
mov ebp, eax
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebx]
lea eax, [esp + 0x20]
mov dword [esp + 0x30], eax
mov eax, dword [ebp + 0x18]
cmp ecx, eax
mov dword [esp + 0x20], edx
jne 0x1021ee75
mov esi, dword [ebp + 0x14]
lea edi, [esp + 0x20]
cmp edi, esi
lea edx, [ecx + 1]
mov dword [esp + 0x24], edx
jb 0x1021edf8
lea edx, [esi + ecx*4]
mov dword [esp + 0x2c], edx
cmp edi, edx
mov edx, dword [esp + 0x24]
jae 0x1021edf8
mov ecx, eax
shr ecx, 2
sub edi, esi
lea ecx, [ecx + eax + 1]
sar edi, 2
mov dword [esp + 0x28], ecx
cmp ecx, 0x10
mov dword [esp + 0x24], edx
mov dword [esp + 0x34], 0x10
lea ecx, [esp + 0x28]
ja 0x1021ed96
lea ecx, [esp + 0x34]
cmp edx, dword [ecx]
jb 0x1021ed9e
lea ecx, [esp + 0x24]
mov ecx, dword [ecx]
cmp ecx, eax
mov dword [esp + 0x28], ecx
jb 0x1021edec
cmp ecx, 0x3fffffff
mov dword [ebp + 0x18], ecx
jbe 0x1021edbc
call fcn.102f2d46
mov ecx, dword [esp + 0x28]
lea edx, [ecx*4]
push edx
call fcn.102f361c
mov dword [ebp + 0x14], eax
mov eax, dword [esp + 0x30]
add esp, 4
sub eax, esi
push eax
mov eax, dword [ebp + 0x14]
push esi
push eax
call fcn.1030ad1f
add esp, 0xc
push esi
call fcn.102f353f
add esp, 4
mov ecx, dword [ebp + 0x14]
lea edx, [ecx + edi*4]
mov dword [esp + 0x30], edx
jmp 0x1021ee75
mov edi, eax
shr edi, 2
lea edi, [edi + eax + 1]
mov dword [esp + 0x2c], edi
cmp edi, 0x10
mov dword [esp + 0x34], edx
mov dword [esp + 0x28], 0x10
lea edi, [esp + 0x2c]
ja 0x1021ee1e
lea edi, [esp + 0x28]
cmp edx, dword [edi]
mov edx, edi
jb 0x1021ee28
lea edx, [esp + 0x34]
mov edi, dword [edx]
cmp edi, eax
jb 0x1021ee75
cmp edi, 0x3fffffff
lea eax, [esi + ecx*4]
mov dword [esp + 0x2c], eax
mov dword [ebp + 0x18], edi
jbe 0x1021ee45
call fcn.102f2d46
lea ecx, [edi*4]
push ecx
call fcn.102f361c
mov dword [ebp + 0x14], eax
mov eax, dword [esp + 0x30]
mov edx, dword [ebp + 0x14]
add esp, 4
sub eax, esi
push eax
push esi
push edx
call fcn.1030ad1f
add esp, 0xc
push esi
call fcn.102f353f
add esp, 4
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
lea eax, [ecx + eax*4]
test eax, eax
je 0x1021ee8a
mov edx, dword [esp + 0x30]
mov ecx, dword [edx]
mov dword [eax], ecx
add dword [ebp + 0x10], 1
mov eax, dword [ebp + 0x10]
cmp eax, 1
jbe 0x1021eea0
add eax, 0xfffffffe
mov ecx, ebp
call fcn.10226590
mov ebx, dword [ebx]
test ebx, ebx
mov dword [esp + 0x2c], ebx
je 0x1021ef6f
mov ebx, dword [esp + 0x18]
mov esi, dword [ebx + 0x18]
add ebx, 0x18
test esi, esi
jne 0x1021eee4
mov eax, dword [ebx + 4]
add eax, eax
add eax, eax
mov edx, eax
cmp eax, edx
je 0x1021ef42
lea esp, [esp]
mov ecx, dword [eax]
test ecx, ecx
je 0x1021eedb
cmp ecx, 0xffffffff
jne 0x1021ef42
add eax, 4
cmp eax, edx
jne 0x1021eed0
jmp 0x1021ef42
lea edx, [esp + 0x1b0]
push edx
lea eax, [esp + 0x30]
mov ecx, ebx
call fcn.100eef50
cmp byte [eax + 4], 0
mov ecx, dword [eax]
jne 0x1021ef24
mov eax, dword [ebx + 4]
lea eax, [esi + eax*4]
mov edx, eax
cmp eax, edx
je 0x1021ef42
jmp 0x1021ef10
mov ecx, dword [eax]
test ecx, ecx
je 0x1021ef1b
cmp ecx, 0xffffffff
jne 0x1021ef42
add eax, 4
cmp eax, edx
jne 0x1021ef10
jmp 0x1021ef42
mov edx, dword [ebx + 4]
lea edx, [esi + edx*4]
cmp ecx, edx
mov eax, ecx
je 0x1021ef42
mov ecx, dword [eax]
test ecx, ecx
je 0x1021ef3b
cmp ecx, 0xffffffff
jne 0x1021ef42
add eax, 4
cmp eax, edx
jne 0x1021ef30
mov ecx, dword [ebx + 4]
lea edi, [esi + ecx*4]
mov ecx, edi
cmp ecx, edi
je 0x1021ef62
mov edi, edi
mov esi, dword [ecx]
test esi, esi
je 0x1021ef5b
cmp esi, 0xffffffff
jne 0x1021ef62
add ecx, 4
cmp ecx, edi
jne 0x1021ef50
cmp eax, ecx
je 0x1021ef6f
push edx
push eax
mov eax, ebx
call fcn.100140f0
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x2c], ebp
lea edx, [esp + 0x18c]
add ecx, 0x18
lea eax, [esp + 0x2c]
jmp 0x10220592
mov eax, dword [ebx]
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x30], ecx
mov ecx, dword [ebp + 0x10]
cmp ecx, eax
jne 0x1021f0d9
mov esi, dword [ebp + 0x14]
lea edi, [esp + 0x20]
cmp edi, esi
lea edx, [ecx + 1]
mov dword [esp + 0x24], edx
jb 0x1021f05c
lea edx, [esi + ecx*4]
mov dword [esp + 0x14], edx
cmp edi, edx
mov edx, dword [esp + 0x24]
jae 0x1021f05c
mov ecx, eax
shr ecx, 2
sub edi, esi
lea ecx, [ecx + eax + 1]
sar edi, 2
mov dword [esp + 0x2c], ecx
cmp ecx, 0x10
mov dword [esp + 0x34], edx
mov dword [esp + 0x28], 0x10
lea ecx, [esp + 0x2c]
ja 0x1021effa
lea ecx, [esp + 0x28]
cmp edx, dword [ecx]
jb 0x1021f002
lea ecx, [esp + 0x34]
mov ecx, dword [ecx]
cmp ecx, eax
mov dword [esp + 0x2c], ecx
jb 0x1021f050
cmp ecx, 0x3fffffff
mov dword [ebp + 0x18], ecx
jbe 0x1021f020
call fcn.102f2d46
mov ecx, dword [esp + 0x2c]
lea edx, [ecx*4]
push edx
call fcn.102f361c
mov dword [ebp + 0x14], eax
mov eax, dword [esp + 0x18]
add esp, 4
sub eax, esi
push eax
mov eax, dword [ebp + 0x14]
push esi
push eax
call fcn.1030ad1f
add esp, 0xc
push esi
call fcn.102f353f
add esp, 4
mov ecx, dword [ebp + 0x14]
lea edx, [ecx + edi*4]
mov dword [esp + 0x30], edx
jmp 0x1021f0d9
mov edi, eax
shr edi, 2
lea edi, [edi + eax + 1]
mov dword [esp + 0x14], edi
cmp edi, 0x10
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], 0x10
lea edi, [esp + 0x14]
ja 0x1021f082
lea edi, [esp + 0x2c]
cmp edx, dword [edi]
mov edx, edi
jb 0x1021f08c
lea edx, [esp + 0x28]
mov edi, dword [edx]
cmp edi, eax
jb 0x1021f0d9
cmp edi, 0x3fffffff
lea eax, [esi + ecx*4]
mov dword [esp + 0x14], eax
mov dword [ebp + 0x18], edi
jbe 0x1021f0a9
call fcn.102f2d46
lea ecx, [edi*4]
push ecx
call fcn.102f361c
mov dword [ebp + 0x14], eax
mov eax, dword [esp + 0x18]
mov edx, dword [ebp + 0x14]
add esp, 4
sub eax, esi
push eax
push esi
push edx
call fcn.1030ad1f
add esp, 0xc
push esi
call fcn.102f353f
add esp, 4
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
lea eax, [ecx + eax*4]
test eax, eax
je 0x1021f0ee
mov edx, dword [esp + 0x30]
mov ecx, dword [edx]
mov dword [eax], ecx
add dword [ebp + 0x10], 1
mov eax, dword [ebp + 0x10]
cmp eax, 1
jbe 0x1021f104
add eax, 0xfffffffe
mov ecx, ebp
call fcn.10226590
mov ebx, dword [ebx]
test ebx, ebx
mov dword [esp + 0x14], ebx
je case.0x1021e92b.15
mov esi, dword [esp + 0x18]
lea edx, [esp + 0x14]
add esi, 0x18
push edx
lea edi, [esp + 0x130]
call fcn.10014220
mov eax, dword [esp + 0x130]
mov ecx, dword [esp + 0x12c]
push eax
push ecx
mov eax, esi
call fcn.100b53e0
jmp case.0x1021e92b.15
mov edx, dword [ebx - 4]
lea esi, [ebp + 0x10]
lea eax, [esp + 0x14]
mov dword [esp + 0x14], edx
call fcn.10098650
mov eax, dword [esi]
cmp eax, 1
jbe 0x1021f16a
add eax, 0xfffffffe
mov ecx, ebp
call fcn.10226590
mov eax, dword [ebx]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
call fcn.10098650
mov esi, dword [esi]
cmp esi, 1
jbe 0x1021f18a
lea eax, [esi - 2]
mov ecx, ebp
call fcn.10226590
mov eax, dword [ebx - 4]
test eax, eax
mov dword [esp + 0x14], eax
je 0x1021f1c4
mov esi, dword [esp + 0x18]
lea ecx, [esp + 0x14]
add esi, 0x18
push ecx
lea edi, [esp + 0x168]
call fcn.10014220
mov edx, dword [esp + 0x168]
mov eax, dword [esp + 0x164]
push edx
push eax
mov eax, esi
call fcn.100b53e0
mov ebx, dword [ebx]
test ebx, ebx
mov dword [esp + 0x14], ebx
je case.0x1021e92b.15
mov esi, dword [esp + 0x18]
lea ecx, [esp + 0x14]
add esi, 0x18
push ecx
lea edi, [esp + 0x158]
call fcn.10014220
mov edx, dword [esp + 0x158]
mov eax, dword [esp + 0x154]
push edx
push eax
mov eax, esi
call fcn.100b53e0
jmp case.0x1021e92b.15
cmp dword [ebx], 0
push 0x20
je 0x1021f24f
call fcn.102f361c
mov esi, eax
add esp, 4
test esi, esi
je 0x1021f23d
mov ecx, dword [ebx]
push ecx
mov ecx, dword [ebx - 4]
mov eax, 3
call fcn.102268c0
mov edx, dword [ebx]
mov ebp, eax
mov eax, dword [esp + 0x18]
push edx
call fcn.101f7ee0
xor edi, edi
jmp 0x1021f2b6
mov edx, dword [ebx]
mov eax, dword [esp + 0x18]
push edx
xor ebp, ebp
call fcn.101f7ee0
xor edi, edi
jmp 0x1021f2b6
call fcn.102f361c
mov esi, eax
add esp, 4
test esi, esi
je 0x1021f28f
mov ecx, dword [ebx - 4]
or dword [esp + 0x1c], 1
xor edi, edi
lea eax, [esp + 0x7c]
push eax
mov eax, 3
mov dword [esp + 0x80], edi
mov dword [esp + 0x84], edi
mov dword [esp + 0x88], edi
call fcn.102268c0
mov ebp, eax
jmp 0x1021f293
xor ebp, ebp
xor edi, edi
test byte [esp + 0x1c], 1
je 0x1021f2b6
mov ecx, dword [esp + 0x80]
and dword [esp + 0x1c], 0xfffffffe
push ecx
mov dword [esp + 0x80], edi
call fcn.102f353f
add esp, 4
mov edx, dword [ebx - 4]
mov eax, dword [esp + 0x18]
push edx
call fcn.101f7ff0
cmp ebp, edi
mov dword [esp + 0x14], ebp
je case.0x1021e92b.15
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x1c8]
push eax
add ecx, 0x18
lea eax, [esp + 0x18]
jmp 0x10220593
lea eax, [esp + 0x44]
call fcn.1000fe60
lea eax, [esp + 0x4c]
call fcn.1000fe60
mov eax, dword [ebx - 4]
mov esi, dword [esp + 0x18]
lea ecx, [esp + 0x4c]
push ecx
lea edx, [esp + 0x48]
push edx
push eax
push esi
call fcn.101f7ae0
test al, al
je 0x1022062a
cmp dword [ebx], 0
push 0x20
je 0x1021f3b5
call fcn.102f361c
mov esi, eax
add esp, 4
test esi, esi
je 0x1021f37a
or dword [esp + 0x1c], 2
lea ecx, [esp + 0x44]
lea eax, [esp + 0x8c]
mov dword [esp + 0x88], 4
call fcn.10001c10
lea ecx, [esp + 0x4c]
lea eax, [esp + 0x90]
call fcn.10001c10
mov ecx, dword [ebx]
push ecx
lea ecx, [esp + 0x8c]
mov eax, 3
call fcn.102268c0
mov ebp, eax
jmp 0x1021f37c
xor ebp, ebp
test byte [esp + 0x1c], 2
je 0x1021f3a2
and dword [esp + 0x1c], 0xfffffffd
lea edx, [esp + 0x90]
push edx
call fcn.10001b00
lea eax, [esp + 0x8c]
push eax
call fcn.10001b00
mov ecx, dword [ebx]
mov eax, dword [esp + 0x18]
push ecx
call fcn.101f7ee0
xor edi, edi
jmp 0x1021f47a
call fcn.102f361c
mov esi, eax
add esp, 4
test esi, esi
je 0x1021f42d
mov eax, dword [esp + 0x1c]
or eax, 0xc
xor edi, edi
mov dword [esp + 0x1c], eax
lea ecx, [esp + 0x44]
lea eax, [esp + 0xe8]
mov dword [esp + 0xb4], edi
mov dword [esp + 0xb8], edi
mov dword [esp + 0xbc], edi
mov dword [esp + 0xe4], 4
call fcn.10001c10
lea ecx, [esp + 0x4c]
lea eax, [esp + 0xec]
call fcn.10001c10
lea edx, [esp + 0xb4]
push edx
lea ecx, [esp + 0xe8]
mov eax, 3
call fcn.102268c0
mov ebp, eax
jmp 0x1021f431
xor ebp, ebp
xor edi, edi
test byte [esp + 0x1c], 8
je 0x1021f457
and dword [esp + 0x1c], 0xfffffff7
lea eax, [esp + 0xec]
push eax
call fcn.10001b00
lea ecx, [esp + 0xe8]
push ecx
call fcn.10001b00
test byte [esp + 0x1c], 4
je 0x1021f47a
mov edx, dword [esp + 0xb8]
and dword [esp + 0x1c], 0xfffffffb
push edx
mov dword [esp + 0xb8], edi
call fcn.102f353f
add esp, 4
mov eax, dword [ebx - 4]
mov esi, dword [esp + 0x18]
push eax
mov eax, esi
call fcn.101f7fa0
cmp ebp, edi
mov dword [esp + 0x14], ebp
je 0x1021f4a5
lea ecx, [esp + 0x2d0]
push ecx
lea ecx, [esi + 0x18]
lea eax, [esp + 0x18]
call fcn.100b5580
lea edx, [esp + 0x4c]
push edx
call fcn.10001b00
lea eax, [esp + 0x44]
push eax
call fcn.10001b00
jmp case.0x1021e92b.15
cmp dword [ebx], 0
push 0x20
je 0x1021f505
call fcn.102f361c
mov esi, eax
add esp, 4
test esi, esi
je 0x1021f4f3
mov ecx, dword [ebx]
mov eax, dword [ebx - 8]
push ecx
mov ecx, dword [ebx - 4]
call fcn.102268c0
mov edx, dword [ebx]
mov ebp, eax
mov eax, dword [esp + 0x18]
push edx
call fcn.101f7ee0
xor edi, edi
jmp 0x1021f56d
mov edx, dword [ebx]
mov eax, dword [esp + 0x18]
push edx
xor ebp, ebp
call fcn.101f7ee0
xor edi, edi
jmp 0x1021f56d
call fcn.102f361c
mov esi, eax
add esp, 4
test esi, esi
je 0x1021f546
mov ecx, dword [ebx - 4]
or dword [esp + 0x1c], 0x10
xor edi, edi
lea eax, [esp + 0xfc]
push eax
mov eax, dword [ebx - 8]
mov dword [esp + 0x100], edi
mov dword [esp + 0x104], edi
mov dword [esp + 0x108], edi
call fcn.102268c0
mov ebp, eax
jmp 0x1021f54a
xor ebp, ebp
xor edi, edi
test byte [esp + 0x1c], 0x10
je 0x1021f56d
mov ecx, dword [esp + 0x100]
and dword [esp + 0x1c], 0xffffffef
push ecx
mov dword [esp + 0x100], edi
call fcn.102f353f
add esp, 4
mov edx, dword [ebx - 4]
mov eax, dword [esp + 0x18]
push edx
call fcn.101f7ff0
cmp ebp, edi
mov dword [esp + 0x14], ebp
je case.0x1021e92b.15
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x1e0]
push eax
add ecx, 0x18
lea eax, [esp + 0x18]
jmp 0x10220593
lea eax, [esp + 0x48]
call fcn.1000fe60
lea eax, [esp + 0x50]
call fcn.1000fe60
mov eax, dword [ebx - 4]
mov esi, dword [esp + 0x18]
lea ecx, [esp + 0x50]
push ecx
lea edx, [esp + 0x4c]
push edx
push eax
push esi
call fcn.101f7ae0
test al, al
je 0x1022063f
cmp dword [ebx], 0
push 0x20
je 0x1021f66a
call fcn.102f361c
mov esi, eax
add esp, 4
test esi, esi
je 0x1021f62f
or dword [esp + 0x1c], 0x20
lea ecx, [esp + 0x48]
lea eax, [esp + 0xd0]
mov dword [esp + 0xcc], 4
call fcn.10001c10
lea ecx, [esp + 0x50]
lea eax, [esp + 0xd4]
call fcn.10001c10
mov ecx, dword [ebx]
mov eax, dword [ebx - 8]
push ecx
lea ecx, [esp + 0xd0]
call fcn.102268c0
mov ebp, eax
jmp 0x1021f631
xor ebp, ebp
test byte [esp + 0x1c], 0x20
je 0x1021f657
and dword [esp + 0x1c], 0xffffffdf
lea edx, [esp + 0xd4]
push edx
call fcn.10001b00
lea eax, [esp + 0xd0]
push eax
call fcn.10001b00
mov ecx, dword [ebx]
mov eax, dword [esp + 0x18]
push ecx
call fcn.101f7ee0
xor edi, edi
jmp 0x1021f720
call fcn.102f361c
mov esi, eax
add esp, 4
test esi, esi
je 0x1021f6d6
mov eax, dword [esp + 0x1c]
or eax, 0xc0
xor edi, edi
mov dword [esp + 0x1c], eax
lea ecx, [esp + 0x48]
lea eax, [esp + 0x74]
mov dword [esp + 0x98], edi
mov dword [esp + 0x9c], edi
mov dword [esp + 0xa0], edi
mov dword [esp + 0x70], 4
call fcn.10001c10
lea ecx, [esp + 0x50]
lea eax, [esp + 0x78]
call fcn.10001c10
mov eax, dword [ebx - 8]
lea edx, [esp + 0x98]
push edx
lea ecx, [esp + 0x74]
call fcn.102268c0
mov ebp, eax
jmp 0x1021f6da
xor ebp, ebp
xor edi, edi
test byte [esp + 0x1c], 0x80
je 0x1021f6fd
and dword [esp + 0x1c], 0xffffff7f
lea eax, [esp + 0x78]
push eax
call fcn.10001b00
lea ecx, [esp + 0x74]
push ecx
call fcn.10001b00
test byte [esp + 0x1c], 0x40
je 0x1021f720
mov edx, dword [esp + 0x9c]
and dword [esp + 0x1c], 0xffffffbf
push edx
mov dword [esp + 0x9c], edi
call fcn.102f353f
add esp, 4
mov eax, dword [ebx - 4]
mov esi, dword [esp + 0x18]
push eax
mov eax, esi
call fcn.101f7fa0
cmp ebp, edi
mov dword [esp + 0x14], ebp
je 0x1021f74b
lea ecx, [esp + 0x288]
push ecx
lea ecx, [esi + 0x18]
lea eax, [esp + 0x18]
call fcn.100b5580
lea edx, [esp + 0x50]
push edx
call fcn.10001b00
lea eax, [esp + 0x48]
push eax
call fcn.10001b00
jmp case.0x1021e92b.15
mov ebp, 2
jmp case.0x1021e92b.15
mov ecx, dword [ebx - 8]
mov edi, dword [ecx]
mov esi, 0x10c4bcf0
mov eax, edi
call fcn.1005b440
test al, al
je 0x1021f79c
push 0xc
call fcn.102f361c
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x1021f7fe
mov dword [ebp], 3
jmp 0x1021f7ec
mov esi, 0x10c1d984
mov eax, edi
call fcn.1005b440
test al, al
je 0x1021f7c5
push 0xc
call fcn.102f361c
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x1021f7fe
mov dword [ebp], 0
jmp 0x1021f7ec
mov esi, 0x10c4bcd0
mov eax, edi
call fcn.1005b440
test al, al
je 0x1021f800
push 0xc
call fcn.102f361c
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x1021f7fe
mov dword [ebp], 1
lea eax, [ebp + 4]
call fcn.1000fe60
lea eax, [ebp + 8]
call fcn.1000fe60
jmp 0x1021f800
xor ebp, ebp
mov edx, dword [ebx - 8]
mov eax, dword [esp + 0x18]
push edx
call fcn.101f7fa0
test ebp, ebp
mov dword [esp + 0x14], ebp
je case.0x1021e92b.15
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x1f8]
push eax
add ecx, 0x68
lea eax, [esp + 0x18]
call fcn.100b5580
jmp case.0x1021e92b.15
push 0xc
call fcn.102f361c
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x1021f85f
lea eax, [ebp + 4]
mov dword [ebp], 2
call fcn.1000fe60
lea eax, [ebp + 8]
call fcn.1000fe60
jmp 0x1021f861
xor ebp, ebp
mov ecx, dword [ebx - 8]
mov eax, dword [esp + 0x18]
push ecx
call fcn.101f7fa0
test ebp, ebp
mov dword [esp + 0x14], ebp
je case.0x1021e92b.15
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x300]
push edx
add ecx, 0x68
lea eax, [esp + 0x18]
call fcn.100b5580
jmp case.0x1021e92b.15
push 0xc
call fcn.102f361c
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x1021f8f1
mov eax, dword [ebx - 4]
mov eax, dword [eax]
or dword [esp + 0x1c], 0x100
test eax, eax
jne 0x1021f8c3
lea eax, [esp + 0x60]
call fcn.1000fe60
jmp 0x1021f8d4
push eax
call fcn.1005a560
mov ecx, eax
lea eax, [esp + 0x60]
call fcn.10002d00
lea eax, [ebp + 4]
lea ecx, [esp + 0x60]
mov dword [ebp], 2
call fcn.10001c10
lea eax, [ebp + 8]
call fcn.1000fe60
jmp 0x1021f8f3
xor ebp, ebp
test dword [esp + 0x1c], 0x100
je 0x1021f90f
and dword [esp + 0x1c], 0xfffffeff
lea eax, [esp + 0x60]
push eax
call fcn.10001b00
mov ecx, dword [ebx - 0xc]
mov esi, dword [esp + 0x18]
push ecx
mov eax, esi
call fcn.101f7fa0
mov edx, dword [ebx - 4]
push edx
mov eax, esi
call fcn.101f7fa0
test ebp, ebp
mov dword [esp + 0x14], ebp
je case.0x1021e92b.15
lea eax, [esp + 0x210]
push eax
mov ecx, esi
add ecx, 0x68
lea eax, [esp + 0x18]
call fcn.100b5580
jmp case.0x1021e92b.15
xor ebp, ebp
jmp case.0x1021e92b.15
push 0xc
call fcn.102f361c
xor esi, esi
add esp, 4
cmp eax, esi
je 0x1021f973
mov dword [eax], esi
mov dword [eax + 4], esi
mov dword [eax + 8], esi
mov ebp, eax
jmp 0x1021f975
xor ebp, ebp
push 4
call fcn.102f361c
add esp, 4
cmp eax, esi
je 0x1021f98d
mov ecx, dword [ebx]
mov dword [eax], ecx
mov dword [esp + 0x24], eax
jmp 0x1021f991
mov dword [esp + 0x24], esi
lea eax, [esp + 0x24]
mov esi, ebp
call fcn.10098650
mov ebx, dword [ebx]
test ebx, ebx
mov dword [esp + 0x14], ebx
je 0x1021f9d5
mov esi, dword [esp + 0x18]
lea edx, [esp + 0x14]
add esi, 0x18
push edx
lea edi, [esp + 0x178]
call fcn.10014220
mov eax, dword [esp + 0x178]
mov ecx, dword [esp + 0x174]
push eax
push ecx
mov eax, esi
call fcn.100b53e0
test ebp, ebp
mov dword [esp + 0x14], ebp
je case.0x1021e92b.15
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x2a0]
push edx
add ecx, 0x2c
lea eax, [esp + 0x18]
call fcn.100b5580
jmp case.0x1021e92b.15
push 4
call fcn.102f361c
add esp, 4
test eax, eax
je 0x1021fa16
mov ecx, dword [ebx]
mov dword [eax], ecx
mov dword [esp + 0x24], eax
jmp 0x1021fa1e
mov dword [esp + 0x24], 0
lea eax, [esp + 0x24]
mov esi, ebp
call fcn.10098650
mov ebx, dword [ebx]
test ebx, ebx
mov dword [esp + 0x14], ebx
je case.0x1021e92b.15
mov esi, dword [esp + 0x18]
lea edx, [esp + 0x14]
add esi, 0x18
push edx
lea edi, [esp + 0x188]
call fcn.10014220
mov eax, dword [esp + 0x188]
mov ecx, dword [esp + 0x184]
push eax
push ecx
mov eax, esi
call fcn.100b53e0
jmp case.0x1021e92b.15
push 0x20
call fcn.102f361c
mov edi, dword [esp + 0x20]
mov esi, eax
add esp, 4
test esi, esi
je 0x1021fae0
xor ebx, ebx
or edi, 0x600
lea eax, [esp + 0xac]
mov dword [esp + 0x1c], edi
mov dword [esp + 0xc0], ebx
mov dword [esp + 0xc4], ebx
mov dword [esp + 0xc8], ebx
mov dword [esp + 0xa8], 3
call fcn.1000fe60
lea eax, [esp + 0xb0]
call fcn.1000fe60
lea edx, [esp + 0xc0]
push edx
lea ecx, [esp + 0xac]
mov eax, 5
call fcn.102268c0
mov ebp, eax
jmp 0x1021fae4
xor ebp, ebp
xor ebx, ebx
test edi, 0x400
je 0x1021fb10
lea eax, [esp + 0xb0]
and edi, 0xfffffbff
push eax
mov dword [esp + 0x20], edi
call fcn.10001b00
lea ecx, [esp + 0xac]
push ecx
call fcn.10001b00
test edi, 0x200
je 0x1021fb39
mov edx, dword [esp + 0xc4]
and edi, 0xfffffdff
push edx
mov dword [esp + 0x20], edi
mov dword [esp + 0xc4], ebx
call fcn.102f353f
add esp, 4
cmp ebp, ebx
mov dword [esp + 0x14], ebp
je case.0x1021e92b.15
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x228]
push eax
add ecx, 0x18
lea eax, [esp + 0x18]
jmp 0x10220593
push 0x20
call fcn.102f361c
mov edi, dword [esp + 0x20]
mov esi, eax
add esp, 4
test esi, esi
je 0x1021fbd2
xor ebx, ebx
or edi, 0x1800
lea eax, [esp + 0xdc]
mov dword [esp + 0x1c], edi
mov dword [esp + 0xf0], ebx
mov dword [esp + 0xf4], ebx
mov dword [esp + 0xf8], ebx
mov dword [esp + 0xd8], 3
call fcn.1000fe60
lea eax, [esp + 0xe0]
call fcn.1000fe60
lea ecx, [esp + 0xf0]
push ecx
lea ecx, [esp + 0xdc]
mov eax, 0xc
call fcn.102268c0
mov ebp, eax
jmp 0x1021fbd6
xor ebp, ebp
xor ebx, ebx
test edi, 0x1000
je 0x1021fc02
lea edx, [esp + 0xe0]
and edi, 0xffffefff
push edx
mov dword [esp + 0x20], edi
call fcn.10001b00
lea eax, [esp + 0xdc]
push eax
call fcn.10001b00
test edi, 0x800
je 0x1021fc2b
mov ecx, dword [esp + 0xf4]
and edi, 0xfffff7ff
push ecx
mov dword [esp + 0x20], edi
mov dword [esp + 0xf4], ebx
call fcn.102f353f
add esp, 4
cmp ebp, ebx
mov dword [esp + 0x14], ebp
je case.0x1021e92b.15
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x2e8]
add ecx, 0x18
jmp 0x1022058e
push 0x20
call fcn.102f361c
mov edi, dword [esp + 0x20]
mov esi, eax
add esp, 4
test esi, esi
je 0x1021fcbf
xor ebx, ebx
or edi, 0x6000
lea eax, [esp + 0x118]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x108], ebx
mov dword [esp + 0x10c], ebx
mov dword [esp + 0x110], ebx
mov dword [esp + 0x114], 3
call fcn.1000fe60
lea eax, [esp + 0x11c]
call fcn.1000fe60
lea eax, [esp + 0x108]
push eax
lea ecx, [esp + 0x118]
mov eax, 9
call fcn.102268c0
mov ebp, eax
jmp 0x1021fcc3
xor ebp, ebp
xor ebx, ebx
test edi, 0x4000
je 0x1021fcef
lea ecx, [esp + 0x11c]
and edi, 0xffffbfff
push ecx
mov dword [esp + 0x20], edi
call fcn.10001b00
lea edx, [esp + 0x118]
push edx
call fcn.10001b00
test edi, 0x2000
je 0x1021fd18
mov eax, dword [esp + 0x10c]
and edi, 0xffffdfff
push eax
mov dword [esp + 0x20], edi
mov dword [esp + 0x10c], ebx
call fcn.102f353f
add esp, 4
cmp ebp, ebx
mov dword [esp + 0x14], ebp
je case.0x1021e92b.15
lea ecx, [esp + 0x240]
push ecx
mov ecx, dword [esp + 0x1c]
add ecx, 0x18
lea eax, [esp + 0x18]
jmp 0x10220593
push 0x14
call fcn.102f361c
mov ebp, eax
xor esi, esi
add esp, 4
cmp ebp, esi
je 0x1021fd6a
mov ecx, dword [ebx]
mov dword [ebp + 4], esi
mov dword [ebp + 8], esi
mov dword [ebp + 0xc], esi
lea eax, [ebp + 0x10]
mov dword [ebp], 0x10c513a0
call fcn.10001c10
jmp 0x1021fd6c
xor ebp, ebp
mov edx, dword [ebx]
mov eax, dword [esp + 0x18]
push edx
call fcn.101f7fa0
cmp ebp, esi
mov dword [esp + 0x14], ebp
je case.0x1021e92b.15
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x2b8]
push eax
add ecx, 0x18
lea eax, [esp + 0x18]
jmp 0x10220593
mov ebp, dword [ebx - 4]
jmp case.0x1021e92b.15
push 0x28
call fcn.102f361c
mov ebp, eax
xor esi, esi
add esp, 4
cmp ebp, esi
je 0x1021fdd3
mov eax, dword [ebx]
mov dword [ebp + 4], esi
mov dword [ebp + 8], esi
mov dword [ebp + 0xc], esi
push eax
lea edi, [ebp + 0x10]
mov dword [ebp], 0x10c5069c
call fcn.10164c20
jmp 0x1021fdd5
xor ebp, ebp
mov ecx, dword [ebx]
mov eax, dword [esp + 0x18]
push ecx
call fcn.101f7fa0
cmp ebp, esi
mov dword [esp + 0x14], ebp
je case.0x1021e92b.15
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x258]
add ecx, 0x18
jmp 0x1022058e
push 0x28
call fcn.102f361c
mov ebp, eax
xor esi, esi
add esp, 4
cmp ebp, esi
je 0x1021fe43
mov eax, dword [ebx]
mov eax, dword [eax]
cmp eax, esi
jne 0x1021fe1e
fldz
jmp 0x1021fe24
push esi
call fcn.1005ab70
mov dword [ebp + 4], esi
mov dword [ebp + 8], esi
mov dword [ebp + 0xc], esi
mov dword [ebp], 0x10c5069c
fstp qword [ebp + 0x18]
mov dword [ebp + 0x10], 2
mov dword [ebp + 0x20], esi
jmp 0x1021fe45
xor ebp, ebp
mov eax, dword [ebx]
push eax
mov eax, dword [esp + 0x1c]
call fcn.101f7fa0
cmp ebp, esi
mov dword [esp + 0x14], ebp
je case.0x1021e92b.15
lea ecx, [esp + 0x198]
push ecx
mov ecx, dword [esp + 0x1c]
add ecx, 0x18
lea eax, [esp + 0x18]
jmp 0x10220593
mov eax, dword [ebx - 8]
lea edx, [esp + 0x120]
xor esi, esi
push edx
push eax
mov dword [esp + 0x128], esi
mov dword [esp + 0x12c], esi
mov dword [esp + 0x130], esi
call fcn.1022a240
push esi
mov ebp, eax
mov dword [esp + 0x12c], esi
call fcn.102f353f
add esp, 0xc
cmp ebp, esi
je 0x10220657
mov ecx, dword [ebx - 8]
mov esi, dword [esp + 0x18]
push ecx
mov eax, esi
call fcn.101f7fa0
mov dword [esp + 0x14], ebp
lea edx, [esp + 0x1a4]
jmp 0x1022058b
mov eax, dword [ebx - 4]
mov ecx, dword [ebx - 0xc]
push eax
push ecx
call fcn.1022a240
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x10220657
mov edx, dword [ebx - 0xc]
mov esi, dword [esp + 0x18]
push edx
mov eax, esi
call fcn.101f7fa0
mov eax, dword [ebx - 4]
push eax
mov eax, esi
call fcn.101f7f40
lea ecx, [esp + 0x1bc]
push ecx
mov dword [esp + 0x18], ebp
lea ecx, [esi + 0x18]
lea eax, [esp + 0x18]
jmp 0x10220593
push 0xc
call fcn.102f361c
xor ebp, ebp
add esp, 4
cmp eax, ebp
je 0x1021ff3c
mov dword [eax], ebp
mov dword [eax + 4], ebp
mov dword [eax + 8], ebp
mov ebp, eax
mov eax, ebx
mov esi, ebp
call fcn.10098650
mov ebx, dword [ebx]
test ebx, ebx
mov dword [esp + 0x14], ebx
je 0x1021ff7e
mov esi, dword [esp + 0x18]
lea edx, [esp + 0x14]
add esi, 0x18
push edx
lea edi, [esp + 0x140]
call fcn.10014220
mov eax, dword [esp + 0x140]
mov ecx, dword [esp + 0x13c]
push eax
push ecx
mov eax, esi
call fcn.100b53e0
test ebp, ebp
mov dword [esp + 0x14], ebp
je case.0x1021e92b.15
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x1d4]
push edx
add ecx, 0x40
lea eax, [esp + 0x18]
call fcn.100b5580
jmp case.0x1021e92b.15
mov eax, ebx
mov esi, ebp
call fcn.10098650
mov ebx, dword [ebx]
test ebx, ebx
mov dword [esp + 0x14], ebx
je case.0x1021e92b.15
mov esi, dword [esp + 0x18]
lea eax, [esp + 0x14]
add esi, 0x18
push eax
lea edi, [esp + 0x180]
call fcn.10014220
mov ecx, dword [esp + 0x180]
mov edx, dword [esp + 0x17c]
push ecx
push edx
mov eax, esi
call fcn.100b53e0
jmp case.0x1021e92b.15
push 0x10
call fcn.102f361c
xor ebp, ebp
add esp, 4
cmp eax, ebp
je 0x10220013
mov dword [eax + 4], ebp
mov dword [eax + 8], ebp
mov dword [eax + 0xc], ebp
mov dword [eax], 0x10c50694
mov ebp, eax
mov eax, dword [ebx - 8]
mov dword [esp + 0x14], eax
lea esi, [ebp + 4]
lea eax, [esp + 0x14]
call fcn.10098650
mov ecx, dword [ebx]
lea eax, [esp + 0x14]
mov dword [esp + 0x14], ecx
call fcn.10098650
mov eax, dword [ebx - 8]
test eax, eax
mov dword [esp + 0x14], eax
je 0x1022006f
mov esi, dword [esp + 0x18]
lea edx, [esp + 0x14]
add esi, 0x18
push edx
lea edi, [esp + 0x150]
call fcn.10014220
mov eax, dword [esp + 0x150]
mov ecx, dword [esp + 0x14c]
push eax
push ecx
mov eax, esi
call fcn.100b53e0
mov ebx, dword [ebx]
test ebx, ebx
mov dword [esp + 0x14], ebx
je 0x102200a8
mov esi, dword [esp + 0x18]
lea edx, [esp + 0x14]
add esi, 0x18
push edx
lea edi, [esp + 0x170]
call fcn.10014220
mov eax, dword [esp + 0x170]
mov ecx, dword [esp + 0x16c]
push eax
push ecx
mov eax, esi
call fcn.100b53e0
test ebp, ebp
mov dword [esp + 0x14], ebp
je case.0x1021e92b.15
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x1ec]
add ecx, 0x18
jmp 0x1022058e
mov ebp, dword [ebx]
jmp case.0x1021e92b.15
mov eax, dword [ebx]
push 0x18
mov byte [eax + 0x1c], 1
call fcn.102f361c
xor esi, esi
add esp, 4
cmp eax, esi
je 0x10220102
mov ecx, dword [ebx]
mov edx, dword [ebx - 8]
mov dword [eax + 4], esi
mov dword [eax + 8], esi
mov dword [eax + 0xc], esi
mov dword [eax], 0x10c51394
mov dword [eax + 0x10], edx
mov dword [eax + 0x14], ecx
mov ebp, eax
jmp 0x10220104
xor ebp, ebp
mov eax, dword [ebx - 8]
cmp eax, esi
mov dword [esp + 0x14], eax
je 0x1022013e
mov esi, dword [esp + 0x18]
lea ecx, [esp + 0x14]
add esi, 0x18
push ecx
lea edi, [esp + 0x160]
call fcn.10014220
mov edx, dword [esp + 0x160]
mov eax, dword [esp + 0x15c]
push edx
push eax
mov eax, esi
call fcn.100b53e0
mov ebx, dword [ebx]
test ebx, ebx
mov dword [esp + 0x14], ebx
je 0x10220177
mov esi, dword [esp + 0x18]
lea ecx, [esp + 0x14]
add esi, 0x18
push ecx
lea edi, [esp + 0x138]
call fcn.10014220
mov edx, dword [esp + 0x138]
mov eax, dword [esp + 0x134]
push edx
push eax
mov eax, esi
call fcn.100b53e0
test ebp, ebp
mov dword [esp + 0x14], ebp
je case.0x1021e92b.15
lea ecx, [esp + 0x204]
push ecx
mov ecx, dword [esp + 0x1c]
add ecx, 0x18
lea eax, [esp + 0x18]
jmp 0x10220593
mov edi, dword [ebx]
mov edx, dword [ebx - 4]
lea esi, [edi + 0x10]
lea eax, [esp + 0x14]
mov dword [esp + 0x14], edx
call fcn.102267f0
cmp dword [esi], 1
jbe 0x102201be
xor eax, eax
mov ecx, edi
call fcn.10226590
mov eax, dword [ebx]
push 0x18
mov byte [eax + 0x1c], 1
call fcn.102f361c
xor esi, esi
add esp, 4
cmp eax, esi
je 0x102201f2
mov ecx, dword [ebx]
mov edx, dword [ebx - 8]
mov dword [eax + 4], esi
mov dword [eax + 8], esi
mov dword [eax + 0xc], esi
mov dword [eax], 0x10c51394
mov dword [eax + 0x10], edx
mov dword [eax + 0x14], ecx
mov ebp, eax
jmp 0x102201f4
xor ebp, ebp
mov eax, dword [ebx - 8]
cmp eax, esi
mov dword [esp + 0x14], eax
je 0x10220230
mov esi, dword [esp + 0x18]
lea ecx, [esp + 0x14]
add esi, 0x18
push ecx
lea edi, [esp + 0x148]
call fcn.10014220
mov edx, dword [esp + 0x148]
mov eax, dword [esp + 0x144]
push edx
push eax
mov eax, esi
call fcn.100b53e0
xor esi, esi
mov ecx, dword [ebx - 4]
mov edi, dword [esp + 0x18]
push ecx
mov eax, edi
call fcn.101f7ea0
mov edx, dword [ebx]
push edx
mov eax, edi
call fcn.101f7ea0
cmp ebp, esi
mov dword [esp + 0x14], ebp
je case.0x1021e92b.15
lea eax, [esp + 0x21c]
mov ecx, edi
push eax
add ecx, 0x18
lea eax, [esp + 0x18]
jmp 0x10220593
push 0x20
call fcn.102f361c
add esp, 4
test eax, eax
je 0x1022028b
mov ecx, dword [ebx]
mov edx, dword [ebx - 4]
push ecx
push edx
mov esi, eax
call fcn.10225ea0
mov ebp, eax
jmp 0x1022028d
xor ebp, ebp
mov eax, dword [ebx - 4]
mov esi, dword [esp + 0x18]
push eax
mov eax, esi
call fcn.101f7ea0
mov ecx, dword [ebx]
push ecx
mov eax, esi
call fcn.101f7ee0
test ebp, ebp
mov dword [esp + 0x14], ebp
je case.0x1021e92b.15
mov ecx, esi
lea edx, [esp + 0x234]
add ecx, 0x18
jmp 0x1022058e
push 0x14
call fcn.102f361c
add esp, 4
test eax, eax
je 0x102202e4
mov ecx, dword [ebx]
push ecx
mov ecx, dword [ebx - 8]
push 1
mov edi, eax
call fcn.10221350
mov ebp, eax
jmp 0x102202e6
xor ebp, ebp
mov edx, dword [ebx - 8]
mov esi, dword [esp + 0x18]
push edx
mov eax, esi
call fcn.101f7ea0
mov eax, dword [ebx]
push eax
mov eax, esi
call fcn.101f7ea0
test ebp, ebp
mov dword [esp + 0x14], ebp
je case.0x1021e92b.15
lea ecx, [esp + 0x24c]
push ecx
mov ecx, esi
add ecx, 0x18
lea eax, [esp + 0x18]
jmp 0x10220593
push 0x14
call fcn.102f361c
add esp, 4
test eax, eax
je 0x10220342
mov edx, dword [ebx]
mov ecx, dword [ebx - 8]
push edx
push 0
mov edi, eax
call fcn.10221350
mov ebp, eax
jmp 0x10220344
xor ebp, ebp
mov eax, dword [ebx - 8]
mov esi, dword [esp + 0x18]
push eax
mov eax, esi
call fcn.101f7ea0
mov ecx, dword [ebx]
push ecx
mov eax, esi
call fcn.101f7ea0
test ebp, ebp
mov dword [esp + 0x14], ebp
je case.0x1021e92b.15
mov ecx, esi
lea edx, [esp + 0x264]
add ecx, 0x18
jmp 0x1022058e
push 0x14
call fcn.102f361c
add esp, 4
test eax, eax
je 0x1022039d
mov ecx, dword [ebx]
mov edx, dword [ebx - 4]
push ecx
mov ecx, dword [ebx - 8]
push edx
mov edi, eax
call fcn.10220af0
mov ebp, eax
jmp 0x1022039f
xor ebp, ebp
mov eax, dword [ebx - 8]
mov esi, dword [esp + 0x18]
push eax
mov eax, esi
call fcn.101f7ea0
mov ecx, dword [ebx]
push ecx
mov eax, esi
call fcn.101f7ea0
test ebp, ebp
mov dword [esp + 0x14], ebp
je case.0x1021e92b.15
mov ecx, esi
lea edx, [esp + 0x27c]
add ecx, 0x18
jmp 0x1022058e
push 0x14
call fcn.102f361c
add esp, 4
test eax, eax
je 0x102203f8
mov ecx, dword [ebx]
mov edx, dword [ebx - 4]
push ecx
mov ecx, dword [ebx - 8]
push edx
mov edi, eax
call fcn.10220af0
mov ebp, eax
jmp 0x102203fa
xor ebp, ebp
mov eax, dword [ebx - 8]
mov esi, dword [esp + 0x18]
push eax
mov eax, esi
call fcn.101f7ea0
mov ecx, dword [ebx]
push ecx
mov eax, esi
call fcn.101f7ea0
test ebp, ebp
mov dword [esp + 0x14], ebp
je case.0x1021e92b.15
mov ecx, esi
lea edx, [esp + 0x294]
add ecx, 0x18
jmp 0x1022058e
push 0x14
call fcn.102f361c
add esp, 4
test eax, eax
je 0x10220451
mov ecx, dword [ebx]
push ecx
mov ecx, dword [ebx - 8]
push 0
mov edi, eax
call fcn.10220950
mov ebp, eax
jmp 0x10220453
xor ebp, ebp
mov edx, dword [ebx - 8]
mov esi, dword [esp + 0x18]
push edx
mov eax, esi
call fcn.101f7ea0
mov eax, dword [ebx]
push eax
mov eax, esi
call fcn.101f7ea0
test ebp, ebp
mov dword [esp + 0x14], ebp
je case.0x1021e92b.15
lea ecx, [esp + 0x2ac]
push ecx
mov ecx, esi
add ecx, 0x18
lea eax, [esp + 0x18]
jmp 0x10220593
push 0x14
call fcn.102f361c
add esp, 4
test eax, eax
je 0x102204af
mov edx, dword [ebx]
mov ecx, dword [ebx - 8]
push edx
push 1
mov edi, eax
call fcn.10220950
mov ebp, eax
jmp 0x102204b1
xor ebp, ebp
mov eax, dword [ebx - 8]
mov esi, dword [esp + 0x18]
push eax
mov eax, esi
call fcn.101f7ea0
mov ecx, dword [ebx]
push ecx
mov eax, esi
call fcn.101f7ea0
test ebp, ebp
mov dword [esp + 0x14], ebp
je case.0x1021e92b.15
mov ecx, esi
lea edx, [esp + 0x2c4]
add ecx, 0x18
jmp 0x1022058e
push 0x14
call fcn.102f361c
add esp, 4
test eax, eax
je 0x1022050a
mov ecx, dword [ebx]
mov edx, dword [ebx - 4]
push ecx
mov ecx, dword [ebx - 8]
push edx
mov edi, eax
call fcn.10220950
mov ebp, eax
jmp 0x1022050c
xor ebp, ebp
mov eax, dword [ebx - 8]
mov esi, dword [esp + 0x18]
push eax
mov eax, esi
call fcn.101f7ea0
mov ecx, dword [ebx]
push ecx
mov eax, esi
call fcn.101f7ea0
test ebp, ebp
mov dword [esp + 0x14], ebp
je case.0x1021e92b.15
mov ecx, esi
lea edx, [esp + 0x2dc]
add ecx, 0x18
jmp 0x1022058e
push 0x10
call fcn.102f361c
xor ebp, ebp
add esp, 4
cmp eax, ebp
je 0x1022055c
mov dword [eax + 4], ebp
mov dword [eax + 8], ebp
mov dword [eax + 0xc], ebp
mov dword [eax], 0x10c5068c
mov ebp, eax
mov eax, dword [ebx]
mov dword [esp + 0x14], eax
lea esi, [ebp + 4]
lea eax, [esp + 0x14]
call fcn.10098650
mov ecx, dword [ebx]
mov esi, dword [esp + 0x18]
push ecx
mov eax, esi
call fcn.101f7ea0
test ebp, ebp
mov dword [esp + 0x14], ebp
je case.0x1021e92b.15
lea edx, [esp + 0x2f4]
lea ecx, [esi + 0x18]
lea eax, [esp + 0x14]
push edx
call fcn.100b5580
mov eax, dword [esp + 0x94]
mov ecx, dword [esp + 0x40]
mov ebx, dword [esp + 0xa4]
mov edx, dword [esp + 0x5c]
neg eax
lea eax, [ecx + eax*2]
mov dword [ebx], ebp
movzx ecx, word [eax]
movzx edx, byte [edx + 0x10befa54]
mov dword [esp + 0x40], eax
movsx eax, byte [edx + 0x10befb9a]
movsx esi, cx
add eax, esi
cmp eax, 0x78
ja 0x10220600
movsx si, byte [eax + 0x10befc58]
cmp si, cx
jne 0x10220600
movzx eax, byte [eax + 0x10befbd8]
mov esi, dword [esp + 0x40]
mov ebp, dword [esp + 0x58]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x3c]
add esi, 2
jmp 0x1021e780
movsx ecx, byte [edx + 0x10befb1a]
mov esi, dword [esp + 0x40]
mov ebp, dword [esp + 0x58]
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x20], ecx
add esi, 2
jmp 0x1021e780
mov esi, 2
jmp 0x1022065c
xor esi, esi
jmp 0x1022065c
lea edx, [esp + 0x4c]
push edx
mov byte [esi + 4], 1
call fcn.10001b00
lea eax, [esp + 0x44]
push eax
jmp 0x10220652
lea ecx, [esp + 0x50]
push ecx
mov byte [esi + 4], 1
call fcn.10001b00
lea edx, [esp + 0x48]
push edx
call fcn.10001b00
mov esi, 1
mov eax, dword [esp + 0x58]
lea ecx, [esp + 0x638]
cmp eax, ecx
je 0x10220674
push eax
call fcn.102f353f
add esp, 4
mov ecx, dword [esp + 0x7cc]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.102f2d37
add esp, 0x7c0
ret