Function at 0x10228ad0
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x444
mov eax, dword [0x1070dd84]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov eax, dword [ebp + 0x50]
movups xmm0, xmmword [ebp + 0x28]
mov dword [ebp - 0x2cc], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x2d0], eax
xor ebx, ebx
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x2dc], eax
mov eax, dword [ebp + 0x24]
mov esi, dword [ebp + 8]
mov edx, dword [ebp + 0x1c]
mov dword [ebp - 0x308], eax
mov eax, dword [ebp + 0x54]
mov ecx, dword [ebp + 0x18]
mov dword [ebp - 0x2d8], eax
mov eax, dword [ebp + 0x58]
mov dword [ebp - 0x314], eax
mov eax, dword [ebp + 0x60]
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x310], eax
lea eax, [esi + 0x3ab40]
movups xmm0, xmmword [ebp + 0x38]
mov dword [ebp - 0x334], eax
mov eax, dword [esi + 0x3e6f8]
movups xmmword [ebp - 0x1c], xmm0
movq xmm0, qword [ebp + 0x48]
mov edi, dword [ebp + 0xc]
movq qword [ebp - 0xc], xmm0
cmp byte [eax + 0x4d], bl
lea eax, [ebp - 0x2bc]
mov dword [ebp - 0x2d4], esi
sete bl
mov dword [ebp - 0x30c], edi
mov dword [ebp - 0x2e8], ecx
mov dword [ebp - 0x2e4], edx
lea ebx, [ebx*2 + 1]
mov dword [ebp - 0x2fc], ebx
mov ebx, dword [ebp + 0x20]
push ebx
push edx
push ecx
push eax
push esi
push edi
call fcn.1022dcb0
movups xmm0, xmmword [ebp - 0x2b8]
mov eax, dword [ebp - 0x2d8]
add esp, 0x18
movups xmmword [ebp - 0x3a8], xmm0
movups xmm0, xmmword [ebp - 0x2a8]
movups xmmword [ebp - 0x398], xmm0
movups xmm0, xmmword [ebp - 0x298]
movups xmmword [ebp - 0x388], xmm0
test eax, eax
je 0x10228bd9
mov byte [eax + 4], 0
cmp dword [ebp - 0x18], 0
jg 0x10228c2d
jl 0x10228be7
cmp dword [ebp - 0x1c], 0
jae 0x10228c2d
mov eax, dword [ebp - 0x308]
mov dword [eax], 0x7fffffff
mov dword [eax + 8], 0xffffffff
mov dword [eax + 0xc], 0x7fffffff
mov dword [eax + 0x10], 0xffffffff
mov dword [eax + 0x14], 0x7fffffff
mov dword [eax + 0x18], 0xffffffff
mov dword [eax + 0x1c], 0x7fffffff
mov byte [eax + 0x20], 0
mov dword [eax + 4], 0
jmp 0x10229c99
mov eax, dword [esi + 0x3e6f8]
cmp ebx, dword [eax + 0x1c]
jne 0x10228c42
mov dword [edi + 0x17bbc], 0
mov eax, dword [ebp - 0x314]
test eax, eax
je 0x10228c59
mov dword [eax], 0
mov dword [eax + 4], 0
cmp dword [ebp - 0x298], 0
je 0x10228c6b
cmp dword [ebp - 0x294], 0
jne 0x10228c81
lea eax, [ebp - 0x2bc]
push eax
lea eax, [esi + 0x3ab40]
push eax
call fcn.10230000
add esp, 8
cmp ebx, dword [esi + 0x64c5c]
jle 0x10228cab
xor eax, eax
cmp dword [ebp - 0x388], eax
sete al
and dword [ebp - 0x19c], eax
xor eax, eax
cmp dword [ebp - 0x384], eax
sete al
and dword [ebp - 0x198], eax
push ebx
push dword [ebp - 0x2e4]
push dword [ebp - 0x2e8]
push edi
push dword [ebp - 0x2d0]
push esi
call fcn.1022af80
add esp, 0x18
cmp byte [esi + 0x3ee08], 2
jne 0x10228d5e
mov eax, dword [esi + 0x3e6f8]
cmp ebx, dword [eax + 0x1c]
jne 0x10228d5e
lea eax, [ebp - 0x31c]
push eax
lea eax, [ebp - 0x324]
push eax
push ebx
push edi
push esi
call fcn.1022e040
movsd xmm0, qword [0x103bfc08]
add esp, 0x14
movsd xmm1, qword [ebp - 0x324]
comisd xmm0, xmm1
mov dword [edi + 0x31d0], 0x80
jbe 0x10228d5e
movsd xmm0, qword [ebp - 0x31c]
comisd xmm0, xmmword [0x103bfc20]
jbe 0x10228d5e
subsd xmm0, xmm1
comisd xmm0, xmmword [0x103c6038]
jbe 0x10228d45
mov dword [edi + 0x31d0], 0x50
jmp 0x10228d5e
mulsd xmm0, qword [0x10598d58]
mov ecx, 0x80
cvttsd2si eax, xmm0
sub ecx, eax
mov dword [edi + 0x31d0], ecx
mov eax, dword [edi + 0x31cc]
push 0
push 0
push ebx
push dword [ebp - 0x2e4]
mov dword [ebp - 0x330], eax
push dword [ebp - 0x2e8]
push edi
push esi
call fcn.10230430
lea eax, [ebp - 0x2c]
push eax
push dword [edi + 0x31cc]
call fcn.10228a40
add esp, 0x24
cmp ebx, 6
jne 0x10228db3
cmp dword [esi + 0x7d58c], 0
je 0x10228db3
push ebx
push edi
push esi
call fcn.101c0290
add esp, 0xc
mov dword [edi + 0x31e0], eax
mov eax, dword [ebp - 0x2d0]
mov edx, dword [ebp - 0x2e4]
push dword [ebp - 0x2fc]
mov ecx, dword [eax + 0x10]
mov eax, dword [esi + 0x3e964]
push ebx
push edx
mov eax, dword [eax + ecx*4]
mov ecx, dword [ebp - 0x2e8]
add eax, edx
mov dword [edi + 0x117c], eax
mov eax, ecx
and eax, 0x1f
add eax, 0x1184
add eax, edi
mov dword [edi + 0x1180], eax
lea eax, [ebp - 0x174]
push ecx
push eax
push edi
call fcn.101e6230
lea eax, [ebp - 0x2bc]
push eax
push dword [ebp - 0x2d8]
push edi
push esi
call fcn.10235e50
lea eax, [ebp - 0x2bc]
push eax
lea eax, [edi + 0x141f8]
push eax
call fcn.102362c0
mov eax, dword [edi + 0x17bbc]
add esp, 0x30
test eax, eax
je 0x10228f89
mov edx, dword [ebp - 0x29c]
mov eax, dword [ebp - 0x2a0]
mov ecx, dword [ebp - 0x2a4]
test edx, edx
je 0x10228e66
cmp byte [esi + 0x3ed9c], 0
je 0x10228e66
mov dword [ebp - 0x2c4], 1
cmp ecx, eax
jg 0x10228e70
mov dword [ebp - 0x2c4], 0
test edx, edx
je 0x10228e82
mov dword [ebp - 0x190], 1
cmp ecx, eax
jg 0x10228e8c
mov dword [ebp - 0x190], 0
cmp dword [ebp - 0x298], 0
mov edx, dword [ebp - 0x294]
je 0x10228ead
test edx, edx
je 0x10228ead
mov dword [ebp - 0x1a0], 1
cmp ecx, eax
jge 0x10228eb7
mov dword [ebp - 0x1a0], 0
mov esi, dword [ebp - 0x180]
mov ebx, dword [ebp - 0x184]
test edx, edx
je 0x10228efa
cmp dword [ebp - 0x2c4], 0
je 0x10228efa
push 1
push dword [ebp - 0x290]
call fcn.1022dba0
add esp, 8
lea eax, [ebx + eax*2]
lea eax, [esi + eax*2]
cmp dword [eax*4 + 0x103fa250], 0xff
je 0x10228efa
mov eax, 1
jmp 0x10228efc
xor eax, eax
cmp dword [ebp - 0x298], 0
mov dword [ebp - 0x19c], eax
je 0x10228f3e
cmp dword [ebp - 0x2c4], 0
je 0x10228f3e
push 2
push dword [ebp - 0x290]
call fcn.1022dba0
add esp, 8
lea eax, [ebx + eax*2]
lea eax, [esi + eax*2]
cmp dword [eax*4 + 0x103fa250], 0xff
je 0x10228f3e
mov eax, 1
jmp 0x10228f40
xor eax, eax
push dword [ebp - 0x334]
mov dword [ebp - 0x198], eax
mov dword [ebp - 0x1a4], 0
call fcn.101fc6d0
mov ebx, dword [ebp + 0x20]
add esp, 4
mov esi, dword [ebp - 0x2d4]
test eax, eax
je 0x10228f89
cmp ebx, 0xc
jne 0x10228f89
mov eax, dword [ebp - 0x2bc]
mov dword [eax], 0
mov eax, dword [ebp - 0x2bc]
mov dword [eax + 4], 0
or eax, 0xffffffff
cmp byte [esi + 0x3ee08], 2
mov dword [ebp - 0x2e0], eax
jne 0x10229003
cmp ebx, 6
jl 0x10229003
lea eax, [ebp - 0x374]
push eax
lea eax, [ebp - 0x36c]
push eax
push ebx
push edi
push esi
call fcn.1022e040
movsd xmm1, qword [ebp - 0x36c]
add esp, 0x14
movsd xmm0, qword [0x10598d50]
comisd xmm0, xmm1
jbe 0x10229003
movsd xmm0, qword [ebp - 0x374]
subsd xmm0, xmm1
comisd xmm0, xmmword [0x103c6028]
jbe 0x10229003
mov dword [ebp - 0x1a0], 0
mov dword [ebp - 0x1a4], 0
mov dword [ebp - 0x190], 1
movups xmm1, xmmword [ebp - 0x2b8]
mov ecx, dword [ebp - 0x290]
or ebx, 0xffffffff
cmp dword [ebp - 0x1a4], 0
movups xmm2, xmmword [ebp - 0x2a8]
mov dword [ebp - 0x2c0], ebx
movups xmm3, xmmword [ebp - 0x298]
mov dword [ebp - 0x2f8], 0x7fffffff
movaps xmm0, xmm1
mov dword [ebp - 0x2ec], ecx
psrldq xmm0, 4
movd dword [ebp - 0x2f4], xmm0
movaps xmm0, xmm1
psrldq xmm0, 8
movups xmmword [ebp - 0x3dc], xmm1
movups xmmword [ebp - 0x3cc], xmm2
movups xmmword [ebp - 0x3bc], xmm3
movd dword [ebp - 0x2f0], xmm0
jne 0x1022969e
cmp dword [ebp - 0x1a0], 0
je 0x1022969e
mov eax, dword [ebp - 0x2cc]
xor ebx, ebx
mov dword [ebp - 0x35c], 0x7fffffff
mov dword [ebp - 0x354], 0xffffffff
mov dword [ebp - 0x350], 0x7fffffff
mov dword [ebp - 0x34c], 0xffffffff
mov dword [ebp - 0x348], 0x7fffffff
mov dword [ebp - 0x344], 0xffffffff
mov dword [ebp - 0x340], 0x7fffffff
mov byte [ebp - 0x33c], bl
mov dword [ebp - 0x358], ebx
movups xmmword [ebp - 0x444], xmm1
movups xmmword [ebp - 0x434], xmm2
movups xmmword [ebp - 0x424], xmm3
cmp dword [eax + 8], ebx
jne 0x10229114
lea eax, [edi + 0x2495c]
push eax
push ecx
push esi
call fcn.101df200
mov ecx, dword [ebp - 0x2cc]
add esp, 0xc
mov dword [ecx + 8], eax
cmp dword [ebp - 0x1a0], ebx
je 0x102292a8
mov esi, dword [edi + 0x31cc]
mov ecx, esi
cmp dword [ebp - 0x428], ebx
je 0x10229172
mov eax, dword [ebp - 0x204]
mov ebx, dword [eax]
cmp ebx, 0x7fffffff
jge 0x10229168
mov dword [ebp - 0x2c4], ebx
test ebx, ebx
jns 0x1022917a
mov eax, ebx
neg eax
imul ecx
add eax, 0x100
adc edx, 0
shrd eax, edx, 9
sar edx, 9
neg eax
adc edx, 0
neg edx
jmp 0x1022918d
xor ebx, ebx
mov dword [ebp - 0x2c4], ebx
jmp 0x1022917a
mov dword [ebp - 0x2c4], ebx
xor ebx, ebx
mov eax, ebx
imul ecx
add eax, 0x100
adc edx, 0
shrd eax, edx, 9
sar edx, 9
mov ecx, dword [ebp - 0x2c]
xorps xmm0, xmm0
movlpd qword [ebp - 0x364], xmm0
mov dword [ebp - 0x2e0], ecx
cmp ecx, 0x7fffffff
je 0x102292a2
cmp dword [ebp - 0x2c4], 0x7fffffff
je 0x102292a2
mov edi, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x2c8], edi
mov edi, dword [ebp - 0x30c]
cmp ecx, 0xffffffff
jne 0x102291e4
cmp dword [ebp - 0x2c8], 0x7fffffff
je 0x102292a2
cmp dword [ebp - 0x1c], 0xffffffff
jne 0x102291f7
cmp dword [ebp - 0x18], 0x7fffffff
je 0x102292a2
cmp eax, 0xffffffff
jne 0x10229208
cmp edx, 0x7fffffff
je 0x102292a2
mov edx, dword [ebp - 0x2e0]
sub edx, dword [ebp - 0x2c4]
sub ecx, dword [ebp - 0x364]
mov eax, dword [ebp - 0x2c8]
sbb eax, dword [ebp - 0x360]
mov dword [ebp - 0x354], ecx
mov dword [ebp - 0x350], eax
shld eax, ecx, 7
mov dword [ebp - 0x35c], edx
shl ecx, 7
mov dword [ebp - 0x2c8], eax
mov dword [ebp - 0x2e0], ecx
test edx, edx
js 0x10229275
mov eax, edx
imul esi
mov esi, eax
mov ecx, edx
add esi, 0x100
adc ecx, 0
shrd esi, ecx, 9
sar ecx, 9
add esi, dword [ebp - 0x2e0]
adc ecx, dword [ebp - 0x2c8]
jmp 0x10229296
neg edx
mov eax, edx
imul esi
mov esi, ecx
mov ecx, dword [ebp - 0x2c8]
add eax, 0x100
adc edx, 0
shrd eax, edx, 9
sar edx, 9
sub esi, eax
sbb ecx, edx
mov dword [ebp - 0x34c], esi
mov dword [ebp - 0x348], ecx
mov esi, dword [ebp - 0x2d4]
movups xmm0, xmmword [ebp - 0x35c]
sub esp, 0x28
mov eax, esp
movups xmmword [eax], xmm0
movups xmm0, xmmword [ebp - 0x34c]
movups xmmword [eax + 0x10], xmm0
movq xmm0, qword [ebp - 0x33c]
movq qword [eax + 0x20], xmm0
mov eax, dword [ebp - 0x2cc]
push dword [eax + 8]
lea eax, [ebp - 0x264]
push dword [ebp - 0x2ec]
push 0
push eax
push dword [ebp - 0x2f0]
push dword [ebp - 0x2f4]
push edi
push dword [ebp - 0x2d0]
push esi
call fcn.1022e240
lea eax, [ebp - 0x264]
push eax
push dword [edi + 0x31cc]
call fcn.10228a40
mov eax, dword [edi + 0x24394]
add esp, 0x54
mov ecx, dword [ebp - 0x314]
mov edx, dword [ebp - 0x250]
mov dword [ebp - 0x2e0], eax
mov eax, dword [ebp - 0x254]
mov dword [ebp - 0x2c8], edx
mov dword [ebp - 0x2c4], eax
test ecx, ecx
je 0x10229348
mov dword [ecx], eax
mov dword [ecx + 4], edx
mov ecx, dword [ebp - 0x264]
mov dword [ebp - 0x1fc], eax
mov dword [ebp - 0x1f8], edx
cmp ecx, 0x7fffffff
je 0x10229660
cmp dword [esi + 0x64d78], 0
je 0x102293ca
push dword [ebp - 0x2f0]
mov eax, dword [esi + 0x3e6f8]
push dword [ebp - 0x2f4]
push dword [eax + 0x20]
mov eax, dword [ebp - 0x2cc]
push dword [ebp - 0x2ec]
mov eax, dword [eax + 8]
add eax, 0x14
push eax
call fcn.1022af20
add esp, 4
movsx eax, al
push eax
push edi
call fcn.101e7380
mov edx, dword [ebp - 0x250]
add esp, 0x18
mov eax, dword [ebp - 0x254]
mov ecx, dword [ebp - 0x264]
mov dword [ebp - 0x2c8], edx
mov dword [ebp - 0x2c4], eax
mov eax, dword [ebp - 0x3c0]
test eax, eax
je 0x1022942d
add ecx, ebx
mov eax, ecx
mov dword [ebp - 0x264], ecx
imul dword [edi + 0x31cc]
mov ecx, dword [ebp - 0x258]
mov ebx, eax
mov eax, dword [ebp - 0x25c]
add ebx, 0x100
adc edx, 0
shld ecx, eax, 7
shrd ebx, edx, 9
shl eax, 7
sar edx, 9
add ebx, eax
mov eax, dword [ebp - 0x3c0]
adc edx, ecx
mov dword [ebp - 0x2c4], ebx
mov dword [ebp - 0x2c8], edx
mov dword [ebp - 0x254], ebx
mov dword [ebp - 0x250], edx
jmp 0x10229433
mov ebx, dword [ebp - 0x2c4]
mov ecx, edx
mov dword [ebp - 0x2c0], ebx
mov dword [ebp - 0x2f8], ecx
cmp ecx, dword [ebp - 0x18]
jg 0x10229666
jl 0x10229455
cmp ebx, dword [ebp - 0x1c]
jae 0x10229666
movups xmm0, xmmword [ebp - 0x264]
test eax, eax
mov byte [ebp - 0x178], 1
mov eax, dword [ebp - 0x2cc]
movups xmmword [ebp - 0x2c], xmm0
movups xmm0, xmmword [ebp - 0x254]
movups xmmword [ebp - 0x1c], xmm0
movq xmm0, qword [ebp - 0x244]
movq qword [ebp - 0xc], xmm0
je 0x1022948c
mov byte [eax], 0
movups xmm0, xmmword [ebp - 0x2b8]
mov ecx, dword [eax + 8]
mov al, byte [esi + 0x3ab40]
movups xmmword [ebp - 0x410], xmm0
movups xmm0, xmmword [ebp - 0x2a8]
movups xmmword [ebp - 0x400], xmm0
movups xmm0, xmmword [ebp - 0x298]
movups xmmword [ebp - 0x3f0], xmm0
psrldq xmm0, 8
movd ebx, xmm0
test al, al
je 0x102295d6
cmp al, 2
je 0x102295d6
cmp dword [ebp - 0x190], 0
jne 0x102294ee
cmp dword [ebp - 0x194], 0
je 0x102295d6
mov eax, dword [edi + 0x10b0]
mov eax, dword [eax]
movzx eax, byte [eax + 0x9f]
and eax, 7
cmp dword [edi + eax*4 + 0x1b7c], 0
jne 0x102295d6
cmp dword [ecx + 0x148], 0
je 0x102295d6
cmp ebx, dword [esi + 0x64c5c]
jg 0x1022956d
test ebx, ebx
jle 0x1022956d
cmp dword [esi + 0x64cc0], 1
jl 0x1022956d
lea eax, [ebp - 0x2bc]
push eax
push dword [edi + 0x1b58]
mov eax, dword [ebp - 0x2e0]
push eax
lea eax, [ebp - 0x264]
push eax
push edi
push esi
call fcn.10234080
mov eax, dword [ebp - 0x250]
add esp, 0x18
mov dword [ebp - 0x2c8], eax
mov eax, dword [ebp - 0x254]
mov dword [ebp - 0x2c4], eax
movzx eax, byte [ebx + 0x10598948]
mov ecx, 0xa
mov edx, dword [esi + 0x64c74]
sub ecx, eax
movzx eax, byte [ebx + 0x10598930]
sub ecx, eax
mov eax, dword [esi + 0x64c70]
call fcn.10399140
cmp dword [ebp - 0x20], edx
jg 0x102295d0
jl 0x102295a1
cmp dword [ebp - 0x24], eax
jae 0x102295d0
movzx eax, byte [ebx + 0x105989d8]
imul eax, dword [esi + 0x64c78]
mov edx, dword [ebp - 0x2c8]
cmp dword [ebp - 0x2c], eax
jge 0x102295d6
mov dword [ebp - 0x190], 0
mov dword [ebp - 0x194], 0
jmp 0x102295d6
mov edx, dword [ebp - 0x2c8]
cmp dword [esi + 0x64c9c], 0
je 0x10229660
cmp dword [esi + 0x3acec], 0
je 0x10229660
mov al, byte [esi + 0x3ab40]
test al, al
je 0x10229660
cmp al, 2
je 0x10229660
cmp ebx, 6
jl 0x10229660
cmp dword [ebp - 0x3f0], 0
je 0x10229660
cmp dword [ebp - 0x3ec], 0
je 0x10229660
cmp edx, 0x7fffffff
ja 0x10229660
jb 0x10229624
cmp dword [ebp - 0x2c4], 0xfffffffe
ja 0x10229660
cmp dword [ebp - 0x264], 0x7ffffffe
ja 0x10229660
cmp dword [ebp - 0x190], 0
jne 0x10229642
cmp dword [ebp - 0x194], 0
je 0x10229660
lea eax, [ebp - 0x2bc]
push eax
lea eax, [ebp - 0x264]
push eax
push dword [ebp - 0x2d8]
push edi
push esi
call fcn.10236760
add esp, 0x14
mov ebx, dword [ebp - 0x2c0]
mov eax, dword [esi + 0x3e6f8]
xor ecx, ecx
cmp byte [eax + 0x4d], cl
lea eax, [ebp - 0x174]
sete cl
lea ecx, [ecx*2 + 1]
push ecx
push dword [ebp - 0x2ec]
push dword [ebp - 0x2f0]
push dword [ebp - 0x2f4]
push eax
push edi
call fcn.101e5ef0
add esp, 0x18
lea eax, [ebp - 0x304]
mov dword [ebp - 0x304], 0xffffffff
push eax
push dword [ebp + 0x5c]
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x300], 0x7fffffff
push eax
lea eax, [ebp - 0x2bc]
push eax
lea eax, [ebp - 0x174]
push eax
push dword [ebp - 0x2d8]
push dword [ebp - 0x2cc]
push edi
push dword [ebp - 0x2dc]
push dword [ebp - 0x2d0]
push edi
push esi
call fcn.10230580
add esp, 0x30
cmp dword [esi + 0x64cbc], 0
je 0x1022974a
cmp ebx, 0xffffffff
jne 0x1022974a
cmp dword [ebp - 0x2f8], 0x7fffffff
jne 0x1022974a
cmp dword [ebp - 0x304], ebx
jne 0x1022974a
cmp dword [ebp - 0x300], 0x7fffffff
jne 0x1022974a
cmp dword [edi + 0x17bbc], 0
jne 0x1022974a
mov eax, dword [esi + 0x3e6f8]
mov ecx, dword [ebp + 0x20]
mov ebx, dword [ebp - 0x1a4]
cmp ecx, dword [eax + 0x1c]
mov eax, 1
cmovne ebx, eax
mov dword [ebp - 0x1a4], ebx
jmp 0x10229750
mov ebx, dword [ebp - 0x1a4]
cmp dword [esi + 0x64cd8], 2
jl 0x102297c4
mov eax, dword [ebp - 0x2cc]
mov edx, dword [eax + 8]
test edx, edx
je 0x102297c4
cmp dword [edi + 0x31bc], 0xc8
jg 0x102297c4
mov cl, byte [edx + 5]
mov al, cl
sub al, 0xd
cmp al, 0xb
ja 0x102297c4
cmp cl, 0x10
je 0x102297c4
cmp cl, 0x18
je 0x102297c4
cmp cl, 0x13
je 0x102297c4
cmp cl, 0x14
je 0x102297c4
cmp cl, 0x15
je 0x102297c4
cmp cl, 0x16
je 0x102297c4
cmp dword [edx + 0x148], 0
je 0x102297c4
cmp dword [edi + 0x17bbc], 0
jne 0x102297c4
mov eax, dword [ebp - 0x194]
xor ecx, ecx
cmp dword [ebp + 0x20], 6
cmovge eax, ecx
mov dword [ebp - 0x194], eax
jmp 0x102297ca
mov eax, dword [ebp - 0x194]
mov ecx, dword [ebp - 0x2b0]
mov edx, dword [ebp - 0x2b4]
mov dword [ebp - 0x2ec], ecx
mov ecx, dword [ebp - 0x290]
mov dword [ebp - 0x2f0], ecx
mov ecx, dword [esi + 0x64c54]
mov dword [ebp - 0x2f4], edx
test ecx, ecx
je 0x1022988d
mov cl, byte [esi + 0x3ab40]
test cl, cl
je 0x10229931
cmp cl, 2
je 0x10229931
test ebx, ebx
jne 0x10229931
test eax, eax
je 0x10229931
cmp dword [ebp - 0x19c], ebx
jne 0x10229837
cmp dword [ebp - 0x198], ebx
je 0x10229931
lea eax, [ebp - 0x2bc]
push eax
lea eax, [ebp - 0x1f4]
push eax
push dword [ebp - 0x300]
push dword [ebp - 0x304]
push dword [ebp - 0x2f8]
push dword [ebp - 0x2c0]
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
push dword [ebp - 0x2d8]
push edi
push esi
call fcn.10233a30
mov ecx, dword [esi + 0x64c54]
add esp, 0x2c
mov ebx, dword [ebp - 0x1a4]
mov edx, dword [ebp - 0x2f4]
test ecx, ecx
jne 0x10229931
cmp dword [esi + 0x64c50], 0
je 0x10229931
mov al, byte [esi + 0x3ab40]
test al, al
je 0x10229931
cmp al, 2
je 0x10229931
cmp dword [ebp - 0x19c], 0
jne 0x102298c2
cmp dword [ebp - 0x198], 0
je 0x10229931
cmp dword [ebp - 0x18c], 0
jne 0x10229931
cmp dword [ebp - 0x188], 0
jne 0x10229931
test ebx, ebx
jne 0x10229931
mov eax, dword [esi + 0x3e6f8]
xor ecx, ecx
push dword [ebp - 0x2f0]
cmp byte [eax + 0x4d], cl
sete cl
lea ecx, [ecx*2 + 1]
push ecx
push dword [ebp - 0x2ec]
push edx
push dword [esi + 0x3ee28]
push edi
call fcn.101e0c80
lea eax, [ebp - 0x2bc]
push eax
lea eax, [ebp - 0x1f4]
push eax
push dword [ebp - 0x1f8]
push dword [ebp - 0x1fc]
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
push edi
push esi
call fcn.10235050
add esp, 0x38
push 1
push 0
push dword [ebp - 0x310]
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x2bc]
push eax
lea eax, [ebp - 0x174]
push eax
push dword [ebp - 0x2cc]
push edi
push dword [ebp - 0x2dc]
push dword [ebp - 0x2d0]
push edi
push esi
call fcn.1022f760
mov ebx, dword [ebp - 0x2e0]
add esp, 0x30
cmp ebx, 0xffffffff
jne 0x102299b0
mov ebx, dword [ebp + 0x20]
push ebx
push dword [ebp - 0x2fc]
push dword [ebp - 0x2e4]
push dword [ebp - 0x2e8]
push dword [esi + 0x3ee28]
push edi
call fcn.101e0c80
push 0
push ebx
lea eax, [edi + 0x18]
push eax
lea eax, [edi + 0xe0]
push eax
push esi
call fcn.101e0880
add esp, 0x2c
mov ebx, eax
cmp dword [ebp - 0x194], 0
mov edx, dword [ebp + 0x20]
je 0x102299dd
cmp edx, dword [esi + 0x64cac]
jle 0x102299dd
cmp dword [ebp - 0x388], 0
je 0x102299dd
cmp dword [ebp - 0x384], 0
je 0x102299dd
mov esi, 1
jmp 0x102299df
xor esi, esi
mov ecx, dword [ebp - 0x2d4]
cmp dword [ecx + 0x64cd8], 1
jl 0x10229a15
mov eax, dword [ebp - 0x2cc]
mov eax, dword [eax + 8]
test eax, eax
je 0x10229a15
cmp dword [eax + 0x148], 0
je 0x10229a15
cmp dword [edi + 0x17bbc], 0
jne 0x10229a15
xor eax, eax
cmp edx, 6
cmovge esi, eax
push 3
push 0
push esi
push ebx
push dword [ebp - 0x310]
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x2bc]
push eax
push dword [ebp - 0x2cc]
lea eax, [ebp - 0x174]
push eax
push edi
push dword [ebp - 0x2dc]
push dword [ebp - 0x2d0]
push edi
push ecx
call fcn.10227c50
lea eax, [ebp - 0x32c]
mov dword [ebp - 0x32c], 1
push eax
push esi
mov esi, dword [ebp - 0x2d4]
lea eax, [ebp - 0x2c]
push ebx
mov ebx, dword [ebp - 0x2cc]
push eax
lea eax, [ebp - 0x2bc]
mov dword [ebp - 0x328], 1
push eax
push ebx
push edi
push esi
call fcn.1022eaf0
add esp, 0x58
cmp dword [ebp - 0x1a4], 0
jne 0x10229b6b
cmp dword [ebp - 0x32c], 0
je 0x10229b02
mov eax, dword [ebp - 0x380]
push 8
mov dword [ebp - 0x318], 0
movzx eax, byte [eax + 0x10598978]
shr eax, 2
mov dword [ebp - 0x31c], eax
lea eax, [ebp - 0x31c]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x2bc]
push eax
lea eax, [ebx + 0x4c]
push eax
push ebx
lea eax, [ebp - 0x174]
push eax
push edi
push dword [ebp - 0x2dc]
push dword [ebp - 0x2d0]
push edi
push esi
call fcn.1022ed50
add esp, 0x30
cmp dword [ebp - 0x1a4], 0
jne 0x10229b6b
cmp dword [ebp - 0x328], 0
je 0x10229b6b
cmp dword [ebp - 0x384], 0
je 0x10229b6b
mov eax, dword [ebp - 0x380]
push 9
mov dword [ebp - 0x324], 0
movzx eax, byte [eax + 0x10598960]
shr eax, 2
mov dword [ebp - 0x320], eax
lea eax, [ebp - 0x324]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x2bc]
push eax
lea eax, [ebx + 0x5c]
push eax
push ebx
lea eax, [ebp - 0x174]
push eax
push edi
push dword [ebp - 0x2dc]
push dword [ebp - 0x2d0]
push edi
push esi
call fcn.1022ed50
add esp, 0x30
mov eax, dword [esi + 0x3e6f8]
mov edx, dword [ebp + 0x20]
mov cl, byte [ebp - 0x178]
cmp edx, dword [eax + 0x1c]
jne 0x10229b99
test cl, cl
jne 0x10229b99
mov dword [edi + 0x17bbc], 1
mov eax, 1
mov ebx, edx
jmp 0x10228e31
cmp dword [ebp - 0x2d8], 0
mov eax, dword [ebp - 0x308]
movups xmm0, xmmword [ebp - 0x2c]
movups xmmword [eax], xmm0
movups xmm0, xmmword [ebp - 0x1c]
movups xmmword [eax + 0x10], xmm0
movq xmm0, qword [ebp - 0xc]
movq qword [eax + 0x20], xmm0
je 0x10229bd2
mov edi, dword [ebp - 0x2d8]
mov al, byte [ebx]
mov byte [edi + 4], al
mov edi, dword [ebp - 0x30c]
test cl, cl
je 0x10229c77
mov eax, dword [esi + 0x3e6f8]
mov eax, dword [eax + 0x1c]
cmp edx, eax
jne 0x10229c23
xor eax, eax
cmp byte [ebp + 0x5c], 1
push eax
push ebx
push edx
mov dword [edi + 0x3184], eax
sete al
movzx eax, al
push eax
push dword [ebp - 0x2e4]
push dword [ebp - 0x2e8]
push dword [ebp - 0x2dc]
push dword [ebp - 0x2d0]
push edi
push esi
call fcn.1022c640
add esp, 0x28
xor eax, eax
jmp 0x10229c7c
mov esi, dword [edi + 0x141fc]
cmp edx, esi
jg 0x10229c77
cmp dword [ebx + 0x7c], 3
jne 0x10229c49
cmp edx, esi
jne 0x10229c77
push 3
push eax
call fcn.1022dba0
add esp, 8
cmp eax, esi
je 0x10229c77
mov edx, dword [ebp + 0x20]
mov ecx, dword [ebp - 0x2d4]
push 0
push ebx
push edx
push 1
push dword [ebp - 0x2e4]
push dword [ebp - 0x2e8]
push dword [ebp - 0x2dc]
push dword [ebp - 0x2d0]
push edi
push ecx
call fcn.1022c640
add esp, 0x28
mov eax, 1
push eax
push eax
push dword [ebp - 0x2fc]
push ebx
call fcn.101df680
mov eax, dword [ebp - 0x330]
add esp, 0x10
mov dword [edi + 0x31cc], eax
mov ecx, dword [ebp - 4]
mov al, byte [ebp - 0x178]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.10398bef
mov esp, ebp
pop ebp
ret