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

Disassembly:
sub esp, 0x6c
push ebx
push ebp
push esi
mov esi, dword [esp + 0x84]
push edi
xor edi, edi
mov byte [esp + 0x13], 0
mov byte [esp + 0x14], 0
mov dword [esp + 0x18], edi
test esi, esi
je 0x10022fce
cmp dword [esi], 0xc0dedbad
jne 0x10022fce
mov ecx, dword [esp + 0x80]
cmp byte [ecx + 0x118], 0
je 0x10021e50
mov edi, 0x2a
push esi
mov dword [esp + 0x1c], edi
call fcn.10020b90
push 0
push edi
push esi
call fcn.100217f0
add esp, 0x10
cmp dword [esi + 0x34], 0xf
je 0x10021e49
mov eax, dword [esi + 0x7c]
mov dword [esi + 0x34], 0xf
dec dword [eax + 0x10]
mov eax, dword [esi + 0x7c]
cmp dword [eax + 0x10], 0
jne 0x10021e16
push eax
call fcn.10023790
add esp, 4
mov ebx, dword [esi + 0x18]
test ebx, ebx
je 0x10021e39
push esi
push ebx
call fcn.100317f0
push 0
lea eax, [esi + 0x28]
push eax
lea eax, [ebx + 0x2b4]
push eax
call fcn.1003a800
add esp, 0x14
push esi
mov dword [esi + 0x18], 0
call fcn.10020620
add esp, 4
mov ecx, dword [esp + 0x80]
mov al, byte [ecx + 0x116]
xor ebp, ebp
mov byte [esp + 0x12], 0
mov byte [ecx + 0x116], 0
test al, al
je 0x10021e71
push ecx
call fcn.10023860
add esp, 4
mov ecx, dword [esi + 0x34]
lea ebx, [esi + 0x18]
lea eax, [ecx - 3]
cmp eax, 0xb
ja 0x10021e90
cmp dword [ebx], ebp
jne 0x10021e94
mov eax, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x6c
ret
cmp dword [ebx], ebp
je 0x10021ec4
lea eax, [ecx - 2]
cmp eax, 0xc
ja 0x10021ec4
push 0
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x1a]
push eax
push dword [esp + 0x90]
push esi
call fcn.10021c30
mov edi, dword [esp + 0x2c]
add esp, 0x14
test al, al
jne 0x10022ddc
mov ecx, dword [esi + 0x34]
cmp ecx, 0x10
ja case.default.0x10021ecc
jmp dword [ecx*4 + 0x10022fdc]
push esi
call fcn.100398e0
mov edi, eax
add esp, 4
mov dword [esp + 0x18], edi
test edi, edi
jne case.0x10021ecc.1
cmp dword [esi + 0x34], 2
je 0x10021f00
push esi
mov dword [esi + 0x34], 2
call fcn.10039830
add esp, 4
push 1
lea eax, [esp + 0x40]
push esi
push eax
call fcn.10042660
add esp, 0xc
or ebp, 0xffffffff
movups xmm0, xmmword [eax]
mov eax, dword [esp + 0x84]
movups xmmword [eax], xmm0
jmp case.0x10021ecc.1
push 2
lea eax, [esp + 0x50]
push esi
push eax
call fcn.10042660
mov ebx, dword [esp + 0x90]
add esp, 0xc
movups xmm0, xmmword [eax]
movups xmmword [ebx], xmm0
mov eax, dword [esi + 0x1d8]
test eax, eax
je 0x10021f5a
push 0xa
push 0
push eax
push esi
call fcn.10020410
add esp, 0x10
mov eax, dword [esi + 0x1dc]
test eax, eax
je 0x10021f72
push 2
push 0
push eax
push esi
call fcn.10020410
add esp, 0x10
lea eax, [esp + 0x15]
push eax
lea eax, [esp + 0x1b]
push eax
push esi
call fcn.1002d730
mov edi, eax
add esp, 0xc
mov dword [esp + 0x18], edi
cmp edi, 0x59
jne 0x10021ffc
cmp dword [esi + 0x34], 1
je 0x10021f9d
mov dword [esi + 0x34], 1
mov ebx, dword [esp + 0x80]
lea eax, [esi + 0x1c]
push eax
push esi
push dword [ebx + 0x28]
lea eax, [ebx + 0x24]
push eax
call fcn.1003a780
mov ecx, dword [esi + 0x14]
add esp, 0x10
mov eax, dword [esi + 0x10]
test ecx, ecx
je 0x10021fc7
mov dword [ecx + 0x10], eax
jmp 0x10021fca
mov dword [ebx + 4], eax
mov ecx, dword [esi + 0x10]
mov eax, dword [esi + 0x14]
test ecx, ecx
je 0x10021fe8
mov dword [ecx + 0x14], eax
xor edi, edi
mov dword [esi + 0x10], ebp
mov dword [esi + 0x14], ebp
mov dword [esp + 0x18], edi
jmp case.0x10021ecc.1
mov dword [ebx + 8], eax
xor edi, edi
mov dword [esi + 0x10], ebp
mov dword [esi + 0x14], ebp
mov dword [esp + 0x18], edi
jmp case.0x10021ecc.1
cmp byte [esi + 0xd23], 0
je 0x1002201b
push str.Transfer_was_pending__now_try_another
push esi
call fcn.10032060
push dword [esi + 0x7c]
call fcn.10023860
add esp, 0xc
test edi, edi
jne case.0x10021ecc.1
push 3
lea eax, [esp + 0x60]
push esi
push eax
call fcn.10042660
add esp, 0xc
cmp byte [esp + 0x17], 0
movups xmm0, xmmword [eax]
movups xmmword [ebx], xmm0
mov eax, dword [esi + 0x34]
je 0x10022058
cmp eax, 3
je case.0x10021ecc.1
mov dword [esi + 0x34], 3
jmp case.0x10021ecc.1
or ebp, 0xffffffff
cmp byte [esp + 0x15], 0
je 0x10022077
cmp eax, 6
je case.0x10021ecc.1
mov dword [esi + 0x34], 6
jmp case.0x10021ecc.1
cmp eax, 4
je case.0x10021ecc.1
mov dword [esi + 0x34], 4
jmp case.0x10021ecc.1
mov eax, dword [ebx]
mov dword [esp + 0x1c], ebp
cmp byte [eax + 0x240], 0
je 0x100220a0
mov ebx, dword [eax + 0x78]
jmp 0x100220b1
cmp byte [eax + 0x249], 0
je 0x100220ae
mov ebx, dword [eax + 0x48]
jmp 0x100220b1
mov ebx, dword [eax + 0x30]
push dword [eax + 0xec]
push ebx
push esi
call fcn.1003afa0
add esp, 0xc
mov dword [esp + 0x1c], eax
test eax, eax
je 0x100220f3
push ebx
push 0x100788d8
xor edi, edi
mov dword [esi + 0x938], eax
push esi
mov byte [esi + 0x94c], 1
mov dword [esp + 0x24], edi
call fcn.10032060
mov eax, dword [esp + 0x28]
add esp, 0xc
test eax, eax
jne 0x10022107
lea eax, [esp + 0x1c]
push eax
push esi
call fcn.1003bb90
mov edi, eax
add esp, 8
mov dword [esp + 0x18], edi
mov ebx, dword [esp + 0x80]
push esi
push ebx
call fcn.10023920
mov ebp, eax
add esp, 8
test ebp, ebp
jne 0x10022f50
cmp dword [esp + 0x1c], eax
je 0x1002216c
lea eax, [esp + 0x15]
push eax
push esi
call fcn.1003b5e0
mov edi, eax
add esp, 8
mov dword [esp + 0x18], edi
test edi, edi
je 0x10022145
mov dword [esi + 0x18], ebp
jmp 0x1002216c
mov eax, dword [esi + 0x34]
or ebp, 0xffffffff
cmp byte [esp + 0x15], 0
je 0x10022160
cmp eax, 6
je 0x1002216c
mov dword [esi + 0x34], 6
jmp 0x1002216c
cmp eax, 4
je 0x1002216c
mov dword [esi + 0x34], 4
test edi, edi
je case.0x10021ecc.1
mov byte [esp + 0x12], 1
jmp case.0x10021ecc.1
lea eax, [esp + 0x13]
push eax
push esi
call fcn.1003d250
mov edi, eax
add esp, 8
mov eax, dword [ebx]
mov dword [esp + 0x18], edi
cmp byte [eax + 0x244], 0
je 0x100221cd
xor edi, edi
or ebp, 0xffffffff
push edi
push edi
push esi
mov dword [esp + 0x24], edi
call fcn.100217f0
add esp, 0xc
cmp dword [esi + 0x34], 2
je case.0x10021ecc.1
push esi
mov dword [esi + 0x34], 2
call fcn.10039830
jmp 0x10022d84
test edi, edi
jne 0x10022174
or ebp, 0xffffffff
cmp dword [esi + 0x34], 6
je case.0x10021ecc.1
mov dword [esi + 0x34], 6
jmp case.0x10021ecc.1
lea eax, [esp + 0x15]
push eax
push 0
push 0
push esi
call fcn.10031670
add esp, 0x10
mov edi, eax
cmp byte [esp + 0x15], 0
mov dword [esp + 0x18], edi
je 0x10022226
test edi, edi
jne 0x1002222e
or ebp, 0xffffffff
cmp dword [esi + 0x34], 6
je case.0x10021ecc.1
mov dword [esi + 0x34], 6
jmp case.0x10021ecc.1
test edi, edi
je case.0x10021ecc.1
push esi
call fcn.10020b90
push 1
push edi
push esi
call fcn.100217f0
add esp, 0x10
mov byte [esp + 0x12], 1
jmp case.0x10021ecc.1
mov ebx, dword [ebx]
test edi, edi
jne 0x1002222e
cmp byte [ebx + 0x247], 0
je 0x10022268
mov dword [esi + 0x34], 8
or ebp, 0xffffffff
jmp case.0x10021ecc.1
test edi, edi
jne 0x1002222e
lea eax, [ebx + 0x24e]
mov byte [esp + 0x13], 0
push edi
push ebx
mov dword [esp + 0x24], eax
call fcn.10031b40
add esp, 8
test al, al
mov eax, dword [esp + 0x1c]
je 0x100222a6
cmp byte [eax], 0
je 0x100222af
mov eax, dword [ebx + 0x260]
cmp dword [eax + 0x18], edi
jne 0x100222a2
mov byte [esp + 0x13], 1
xor edi, edi
jmp 0x100222db
cmp byte [eax], 0
mov dword [esp + 0x1c], eax
jne 0x100222db
mov eax, dword [ebx + 0x260]
mov eax, dword [eax + 0x14]
test eax, eax
je 0x100222cf
lea ecx, [esp + 0x13]
push ecx
push esi
call eax
mov edi, eax
add esp, 8
test edi, edi
jne 0x100222db
jmp 0x100222d4
mov byte [esp + 0x13], 1
mov eax, dword [esp + 0x1c]
mov byte [eax], 1
mov ecx, dword [esi + 0x34]
mov dword [esp + 0x18], edi
test edi, edi
jne 0x1002222e
cmp byte [esp + 0x13], 0
jne 0x10022357
cmp ecx, 7
je 0x100222fd
mov dword [esi + 0x34], 7
or ebp, 0xffffffff
jmp case.0x10021ecc.1
mov edx, dword [ebx]
test edx, edx
je 0x10022341
mov eax, dword [edx + 0x260]
cmp dword [eax + 0x18], ebp
je 0x10022341
mov byte [esp + 0x13], 0
lea ecx, [esp + 0x13]
mov eax, dword [edx + 0x260]
push ecx
push esi
mov eax, dword [eax + 0x18]
call eax
mov ecx, dword [esi + 0x34]
mov edi, eax
add esp, 8
mov dword [esp + 0x18], edi
test edi, edi
je 0x1002234c
jmp 0x1002222e
xor edi, edi
mov byte [esp + 0x13], 1
mov dword [esp + 0x18], edi
cmp byte [esp + 0x13], 0
je case.0x10021ecc.1
cmp ecx, 8
je 0x10022363
mov dword [esi + 0x34], 8
or ebp, 0xffffffff
jmp case.0x10021ecc.1
cmp dword [esi + 0x1b4], ebp
je 0x10022415
mov eax, dword [esi + 0x80]
lea edi, [esi + 0x7c]
test eax, eax
jne 0x1002238a
mov eax, dword [edi]
test eax, eax
je 0x10022391
mov byte [eax + 0x117], 1
push dword [esi + 0xddc]
lea eax, [esi + 0xdaa]
push dword [esi + 0xdd8]
push eax
lea eax, [esi + 0xd7c]
push eax
push dword [esi + 0x1b8]
mov eax, dword [esi + 0x1b4]
call eax
mov ecx, dword [esi + 0x80]
add esp, 0x14
mov edx, eax
test ecx, ecx
je 0x100223d1
mov byte [ecx + 0x117], 0
jmp 0x100223de
mov eax, dword [edi]
test eax, eax
je 0x100223de
mov byte [eax + 0x117], 0
test edx, edx
je 0x10022412
push str.operation_aborted_by_pre_request_callback
push esi
call fcn.10031f90
mov edi, 0x2a
push esi
mov dword [esp + 0x24], edi
call fcn.10020b90
push 0
push edi
push esi
call fcn.100217f0
add esp, 0x18
mov byte [esp + 0x12], 1
jmp case.0x10021ecc.1
mov ecx, dword [esi + 0x34]
cmp byte [esi + 0x69d], 1
mov edx, dword [esi + 0x18]
jne 0x10022447
push 0
push edx
call fcn.10034550
add esp, 8
cmp dword [esi + 0x34], 0xe
je 0x10022439
mov dword [esi + 0x34], 0xe
xor edi, edi
or ebp, 0xffffffff
mov dword [esp + 0x18], edi
jmp case.0x10021ecc.1
mov eax, dword [edx + 0x260]
xor edi, edi
mov eax, dword [eax + 8]
test eax, eax
je 0x10022469
lea ecx, [esp + 0x14]
push ecx
push esi
call eax
mov edx, dword [esi + 0x18]
add esp, 8
mov ecx, dword [esi + 0x34]
mov edi, eax
mov dword [esp + 0x18], edi
test edi, edi
jne 0x10022552
cmp byte [esp + 0x14], 0
jne 0x1002250a
cmp byte [esi + 0xd1e], 0
je 0x100224f6
mov eax, dword [esi + 0xd30]
mov al, byte [eax + 0x20]
cmp al, 7
je 0x1002249a
cmp al, 5
jne 0x100224f6
push 0
push 0
push esi
call fcn.100217f0
mov ebx, dword [esi + 0x18]
add esp, 0xc
mov eax, ebx
neg eax
sbb eax, eax
add eax, 0xf
cmp dword [esi + 0x34], eax
je 0x100224ee
mov dword [esi + 0x34], eax
test ebx, ebx
jne 0x100224d6
mov eax, dword [esi + 0x7c]
dec dword [eax + 0x10]
mov eax, dword [esi + 0x7c]
cmp dword [eax + 0x10], ebp
jne 0x100224d6
push eax
call fcn.10023790
add esp, 4
xor eax, eax
test ebx, ebx
sete al
mov eax, dword [eax*4 + 0x10078750]
test eax, eax
je 0x100224ee
push esi
call eax
add esp, 4
or ebp, 0xffffffff
jmp case.0x10021ecc.1
cmp ecx, 9
je 0x10022502
mov dword [esi + 0x34], 9
or ebp, 0xffffffff
jmp case.0x10021ecc.1
cmp byte [edx + 0x24d], 0
je 0x10022527
cmp ecx, 0xa
je 0x1002251f
mov dword [esi + 0x34], 0xa
or ebp, 0xffffffff
jmp case.0x10021ecc.1
cmp ecx, 0xb
je 0x1002254a
push 7
lea eax, [esp + 0x70]
mov dword [esi + 0x34], 0xb
push esi
push eax
mov byte [esi + 0x138], 0
call fcn.10042660
add esp, 0xc
or ebp, 0xffffffff
jmp case.0x10021ecc.1
cmp edi, 0x37
jne 0x10022610
cmp byte [edx + 0x247], 0
je 0x10022610
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], ebp
push eax
push esi
call fcn.1003a080
add esp, 8
test eax, eax
je 0x10022589
mov edi, eax
mov byte [esp + 0x12], 1
mov dword [esp + 0x18], edi
push esi
call fcn.10020b90
push 0
push edi
push esi
call fcn.100217f0
mov ecx, dword [esp + 0x2c]
add esp, 0x10
test ecx, ecx
je 0x100225ff
test eax, eax
je 0x100225be
cmp eax, 0x37
je 0x100225be
mov edi, eax
push ecx
mov dword [esp + 0x1c], edi
call dword [0x10090004]
jmp 0x10022d84
push 2
push ecx
push esi
call fcn.10039320
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x100225eb
cmp dword [esi + 0x34], 2
je 0x100225e6
push esi
mov dword [esi + 0x34], 2
call fcn.10039830
add esp, 4
or ebp, 0xffffffff
xor edi, edi
mov ecx, dword [esp + 0x1c]
push ecx
mov dword [esp + 0x1c], edi
call dword [0x10090004]
jmp 0x10022d84
push ecx
mov byte [esp + 0x16], 1
call dword [0x10090004]
jmp 0x10022d84
push esi
call fcn.10020b90
add esp, 4
cmp dword [esi + 0x18], ebp
je 0x10022240
push 0
push edi
push esi
call fcn.100217f0
add esp, 0xc
mov byte [esp + 0x12], 1
jmp case.0x10021ecc.1
mov edx, dword [ebx]
test edx, edx
je 0x1002268e
mov eax, dword [edx + 0x260]
cmp dword [eax + 0x1c], ebp
je 0x1002268e
mov byte [esp + 0x14], 0
lea ecx, [esp + 0x14]
mov eax, dword [edx + 0x260]
push ecx
push esi
mov eax, dword [eax + 0x1c]
call eax
mov edx, dword [esi + 0x18]
mov edi, eax
mov ecx, dword [esi + 0x34]
add esp, 8
mov dword [esp + 0x18], edi
test edi, edi
je 0x10022699
push esi
call fcn.10020b90
push 0
push edi
push esi
call fcn.100217f0
add esp, 0x10
mov byte [esp + 0x12], 1
jmp case.0x10021ecc.1
xor edi, edi
mov byte [esp + 0x14], 1
mov dword [esp + 0x18], edi
cmp byte [esp + 0x14], 0
je case.0x10021ecc.1
mov dl, byte [edx + 0x24d]
xor eax, eax
test dl, dl
sete al
add eax, 0xa
cmp ecx, eax
je 0x100224ee
mov dword [esi + 0x34], eax
xor eax, eax
test dl, dl
sete al
mov eax, dword [eax*4 + 0x10078740]
jmp 0x100224e4
mov eax, dword [ebx]
xor edx, edx
mov dword [esp + 0x2c], edx
xor edi, edi
mov eax, dword [eax + 0x260]
mov eax, dword [eax + 0x10]
test eax, eax
je 0x100226fd
lea ecx, [esp + 0x2c]
push ecx
push esi
call eax
mov ecx, dword [esi + 0x34]
add esp, 8
mov edx, dword [esp + 0x2c]
mov edi, eax
mov dword [esp + 0x18], edi
test edi, edi
jne 0x10022672
test edx, edx
je case.0x10021ecc.1
xor eax, eax
cmp edx, 1
sete al
lea eax, [eax*2 + 9]
cmp ecx, eax
je 0x100224ee
mov dword [esi + 0x34], eax
mov eax, dword [eax*4 + 0x10078718]
jmp 0x100224e4
mov eax, dword [ebx]
cmp byte [eax + 0x256], 0
je 0x10022758
mov ebx, dword [esp + 0x80]
push ebx
call fcn.10023860
mov ecx, dword [esi + 0x34]
lea ebx, [esi + 0x18]
add esp, 4
mov eax, dword [ebx]
cmp dword [eax + 0x278], 0xffffffff
jne 0x100227a3
cmp dword [eax + 0x27c], 0xffffffff
jne 0x100227a3
cmp byte [esi + 0xd1e], 0
je 0x1002278e
mov eax, dword [eax + 0x260]
test dword [eax + 0x4c], 0x1000
jne 0x1002278e
mov eax, dword [esi + 0xd30]
mov byte [eax + 0x20], 7
cmp dword [esi + 0x34], 0xe
je 0x100227af
mov dword [esi + 0x34], 0xe
or ebp, 0xffffffff
jmp case.0x10021ecc.1
cmp ecx, 0xc
je 0x100227af
mov dword [esi + 0x34], 0xc
or ebp, 0xffffffff
jmp case.0x10021ecc.1
push esi
call fcn.10042990
add esp, 4
test eax, eax
je 0x100227d1
mov ebx, 0x2a
mov edi, ebx
mov dword [esp + 0x18], edi
jmp 0x100227f8
mov ecx, dword [esp + 0x84]
sub esp, 0x10
mov eax, esp
movups xmm0, xmmword [ecx]
push esi
movups xmmword [eax], xmm0
call fcn.10043ce0
mov edi, eax
add esp, 0x14
mov dword [esp + 0x18], edi
mov ebx, edi
test edi, edi
je 0x1002282e
mov ecx, dword [esi + 0x18]
mov eax, dword [ecx + 0x260]
test byte [eax + 0x4c], 2
jne 0x10022817
cmp ebx, 0x5c
je 0x10022817
push 2
push ecx
call fcn.10034550
add esp, 8
push esi
call fcn.10020b90
push 1
push ebx
push esi
call fcn.100217f0
add esp, 0x10
jmp case.0x10021ecc.1
mov edx, dword [esi + 0x208]
xorps xmm0, xmm0
mov ecx, dword [esi + 0x20c]
mov eax, edx
or eax, ecx
movlpd qword [esp + 0x30], xmm0
je 0x10022894
mov ebx, dword [esp + 0x84]
sub esp, 0x10
mov eax, esp
sub esp, 0x10
movups xmm0, xmmword [ebx]
movups xmmword [eax], xmm0
mov eax, esp
movups xmm0, xmmword [esi + 0x7b0]
push ecx
push edx
push dword [esi + 0x7c4]
movups xmmword [eax], xmm0
push dword [esi + 0x7c0]
push dword [esi + 0x70c]
push dword [esi + 0x708]
call fcn.100422a0
add esp, 0x38
mov dword [esp + 0x1c], edx
mov ebx, eax
jmp 0x100228a0
mov eax, dword [esp + 0x34]
mov ebx, dword [esp + 0x30]
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0x210]
xorps xmm0, xmm0
mov ecx, dword [esi + 0x214]
or eax, ecx
movlpd qword [esp + 0x24], xmm0
je 0x10022906
mov edx, dword [esp + 0x84]
sub esp, 0x10
mov eax, esp
sub esp, 0x10
movups xmm0, xmmword [edx]
mov edx, dword [esi + 0x210]
movups xmmword [eax], xmm0
mov eax, esp
movups xmm0, xmmword [esi + 0x7c8]
push ecx
push edx
push dword [esi + 0x7dc]
movups xmmword [eax], xmm0
push dword [esi + 0x7d8]
push dword [esi + 0x704]
push dword [esi + 0x700]
call fcn.100422a0
add esp, 0x38
mov ecx, eax
jmp 0x1002290e
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov eax, ebx
or eax, dword [esp + 0x1c]
jne 0x10022949
mov eax, ecx
or eax, edx
jne 0x10022949
cmp dword [esi + 0x34], 0xc
je 0x10022929
mov dword [esi + 0x34], 0xc
mov ecx, dword [esp + 0x84]
sub esp, 0x10
mov eax, esp
movups xmm0, xmmword [ecx]
push esi
movups xmmword [eax], xmm0
call fcn.10042d10
add esp, 0x14
jmp case.0x10021ecc.1
mov eax, dword [esp + 0x1c]
cmp eax, edx
jl 0x10022969
jg 0x10022957
cmp ebx, ecx
jb 0x10022969
push 0xb
push eax
push ebx
push esi
call fcn.10020410
add esp, 0x10
jmp case.0x10021ecc.1
push 0xb
push edx
push ecx
push esi
call fcn.10020410
add esp, 0x10
jmp case.0x10021ecc.1
mov edx, dword [esi + 0x208]
xor al, al
mov ecx, dword [esi + 0x20c]
xorps xmm0, xmm0
mov byte [esp + 0x16], al
mov eax, edx
or eax, ecx
mov dword [esp + 0x1c], ebp
movlpd qword [esp + 0x30], xmm0
je 0x100229eb
mov ebx, dword [esp + 0x84]
sub esp, 0x10
mov eax, esp
sub esp, 0x10
movups xmm0, xmmword [ebx]
movups xmmword [eax], xmm0
mov eax, esp
movups xmm0, xmmword [esi + 0x7b0]
push ecx
push edx
push dword [esi + 0x7c4]
movups xmmword [eax], xmm0
push dword [esi + 0x7c0]
push dword [esi + 0x70c]
push dword [esi + 0x708]
call fcn.100422a0
add esp, 0x38
mov dword [esp + 0x20], edx
mov ebx, eax
jmp 0x100229f7
mov eax, dword [esp + 0x34]
mov ebx, dword [esp + 0x30]
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0x210]
xorps xmm0, xmm0
mov ecx, dword [esi + 0x214]
or eax, ecx
movlpd qword [esp + 0x24], xmm0
je 0x10022a61
mov edx, dword [esp + 0x84]
sub esp, 0x10
mov eax, esp
sub esp, 0x10
movups xmm0, xmmword [edx]
mov edx, dword [esi + 0x210]
movups xmmword [eax], xmm0
mov eax, esp
movups xmm0, xmmword [esi + 0x7c8]
push ecx
push edx
push dword [esi + 0x7dc]
movups xmmword [eax], xmm0
push dword [esi + 0x7d8]
push dword [esi + 0x704]
push dword [esi + 0x700]
call fcn.100422a0
add esp, 0x38
mov dword [esp + 0x24], eax
mov ecx, eax
jmp 0x10022a6d
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x24], ecx
mov eax, ebx
mov dword [esp + 0x30], edx
or eax, dword [esp + 0x20]
jne 0x10022c6a
mov eax, ecx
or eax, edx
jne 0x10022c6a
push esi
call fcn.10039ca0
add esp, 4
mov edi, eax
cmp byte [esi + 0x12e], 0
mov dword [esp + 0x18], edi
jne 0x10022af1
cmp edi, 0x38
je 0x10022af1
mov ecx, edi
cmp edi, 0x5c
je 0x10022abb
mov al, byte [esp + 0x16]
mov byte [esp + 0x16], al
test ecx, ecx
je 0x10022b33
mov ecx, dword [esi + 0x18]
mov eax, dword [ecx + 0x260]
test byte [eax + 0x4c], 2
jne 0x10022ada
cmp edi, 0x5c
je 0x10022ada
push 2
push ecx
call fcn.10034550
add esp, 8
push esi
call fcn.10020b90
push 1
push edi
push esi
call fcn.100217f0
add esp, 0x10
jmp case.0x10021ecc.1
lea eax, [esp + 0x1c]
push eax
push esi
call fcn.1003a080
add esp, 8
mov ecx, edi
test eax, eax
jne 0x10022b12
cmp dword [esp + 0x1c], ebp
setne al
mov byte [esp + 0x16], al
jmp 0x10022b22
test edi, edi
jne 0x10022b1e
mov edi, eax
mov dword [esp + 0x18], edi
jmp 0x10022abb
mov al, byte [esp + 0x16]
test al, al
je 0x10022aaf
xor edi, edi
mov byte [esi + 0x12e], 1
mov dword [esp + 0x18], edi
cmp byte [esi + 0x12e], 0
je 0x10022c49
push esi
call fcn.10020b90
add esp, 4
cmp byte [esp + 0x16], 0
jne 0x10022bfa
cmp dword [esi + 0x120], ebp
jne 0x10022bd6
cmp dword [esi + 0x11c], ebp
je 0x10022bb5
push dword [esp + 0x1c]
call dword [0x10090004]
mov eax, dword [esi + 0x11c]
push 1
push eax
push esi
mov dword [esp + 0x2c], eax
mov dword [esi + 0x11c], ebp
call fcn.10039320
push dword [esp + 0x2c]
mov edi, eax
mov dword [esp + 0x2c], edi
call dword [0x10090004]
add esp, 0x14
test edi, edi
je 0x10022bbd
push 1
push edi
push esi
mov byte [esp + 0x1e], 1
call fcn.100217f0
mov edi, eax
add esp, 0xc
mov dword [esp + 0x18], edi
test edi, edi
jne case.0x10021ecc.1
cmp dword [esi + 0x34], 0xe
je 0x100224ee
mov dword [esi + 0x34], 0xe
or ebp, 0xffffffff
jmp case.0x10021ecc.1
push dword [esp + 0x1c]
call dword [0x10090004]
mov eax, dword [esi + 0x120]
add esp, 4
mov dword [esp + 0x1c], eax
mov edi, 3
mov dword [esi + 0x120], ebp
jmp 0x10022bff
mov edi, 2
push 0
push 0
push esi
call fcn.100217f0
push edi
push dword [esp + 0x2c]
push esi
call fcn.10039320
mov edi, eax
add esp, 0x18
mov dword [esp + 0x18], edi
test edi, edi
jne 0x10022c3a
cmp dword [esi + 0x34], 2
je 0x10022c37
push esi
mov dword [esi + 0x34], 2
call fcn.10039830
add esp, 4
or ebp, 0xffffffff
push dword [esp + 0x1c]
call dword [0x10090004]
jmp 0x10022d84
cmp byte [esi + 0xd17], 0
je case.0x10021ecc.1
push 8
push 0
push 0
push esi
call fcn.10020410
add esp, 0x10
jmp case.0x10021ecc.1
mov ecx, dword [esp + 0x84]
sub esp, 0x10
mov eax, esp
movups xmm0, xmmword [ecx]
push esi
movups xmmword [eax], xmm0
call fcn.10042d10
add esp, 0x14
cmp dword [esi + 0x34], 0xd
je 0x10022c92
mov dword [esi + 0x34], 0xd
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x30]
cmp eax, edx
jl 0x10022cba
jg 0x10022cc2
mov ecx, dword [esp + 0x24]
cmp ebx, ecx
jb 0x10022cbe
push 0xb
push eax
push ebx
push esi
call fcn.10020410
add esp, 0x10
jmp case.0x10021ecc.1
mov ecx, dword [esp + 0x24]
mov ebx, ecx
mov eax, edx
push 0xb
push eax
push ebx
push esi
call fcn.10020410
add esp, 0x10
jmp case.0x10021ecc.1
mov eax, dword [ebx]
or ebp, 0xffffffff
test eax, eax
je 0x10022d0b
cmp byte [eax + 0x256], 0
je 0x10022cf6
mov ebx, dword [esp + 0x80]
push ebx
call fcn.10023860
add esp, 4
push 0
push edi
push esi
call fcn.100217f0
add esp, 0xc
test edi, edi
cmove edi, eax
mov dword [esp + 0x18], edi
cmp byte [esi + 0xd1e], 0
je 0x10022d2f
mov eax, dword [esi + 0xd30]
cmp byte [eax + 0x20], 7
je 0x10022d2f
cmp dword [esi + 0x34], 0
je case.0x10021ecc.1
mov dword [esi + 0x34], 0
jmp case.0x10021ecc.1
cmp dword [esi + 0x34], 0xf
je case.0x10021ecc.1
mov eax, dword [esi + 0x7c]
mov dword [esi + 0x34], 0xf
dec dword [eax + 0x10]
mov eax, dword [esi + 0x7c]
cmp dword [eax + 0x10], 0
jne 0x10022d54
push eax
call fcn.10023790
add esp, 4
mov ebx, dword [esi + 0x18]
test ebx, ebx
je 0x10022d77
push esi
push ebx
call fcn.100317f0
push 0
lea eax, [esi + 0x28]
push eax
lea eax, [ebx + 0x2b4]
push eax
call fcn.1003a800
add esp, 0x14
push esi
mov dword [esi + 0x18], 0
call fcn.10020620
add esp, 4
cmp dword [esi + 0x18], 0
lea ebx, [esi + 0x18]
je 0x10022ddc
mov eax, dword [esi + 0x34]
lea ebx, [esi + 0x18]
mov edx, dword [esp + 0x80]
sub eax, 2
cmp eax, 5
ja 0x10022de3
lea ebx, [esi + 0x18]
cmp ebp, 0xffffffff
je 0x10022de3
cmp byte [edx + 0x116], 0
lea ebx, [esi + 0x18]
jne 0x10022de3
push 1
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x1a]
push eax
push dword [esp + 0x90]
push esi
call fcn.10021c30
mov edi, dword [esp + 0x2c]
lea ebx, [esi + 0x18]
add esp, 0x14
mov edx, dword [esp + 0x80]
cmp dword [esi + 0x34], 0xf
jge 0x10022f2e
test edi, edi
je 0x10022eb5
push edx
call fcn.10023860
mov ebp, dword [ebx]
add esp, 4
test ebp, ebp
je 0x10022e4b
cmp byte [esp + 0x12], 0
je 0x10022e5a
cmp edi, 0x1c
push esi
push ebp
sete byte [esp + 0x40]
call fcn.100317f0
push 0
lea eax, [esi + 0x28]
push eax
lea eax, [ebp + 0x2b4]
push eax
call fcn.1003a800
push 1
push ebp
push esi
mov dword [ebx], 0
call fcn.1002a190
push dword [esp + 0x58]
push ebp
push esi
call fcn.1002d850
add esp, 0x2c
jmp 0x10022e5a
cmp dword [esi + 0x34], 2
jne 0x10022e5a
push esi
call fcn.10020b90
add esp, 4
cmp dword [esi + 0x34], 0xf
je 0x10022f27
mov eax, dword [esi + 0x7c]
mov dword [esi + 0x34], 0xf
dec dword [eax + 0x10]
mov eax, dword [esi + 0x7c]
cmp dword [eax + 0x10], 0
jne 0x10022e83
push eax
call fcn.10023790
add esp, 4
mov ebx, dword [esi + 0x18]
test ebx, ebx
je 0x10022ea6
push esi
push ebx
call fcn.100317f0
push 0
lea eax, [esi + 0x28]
push eax
lea eax, [ebx + 0x2b4]
push eax
call fcn.1003a800
add esp, 0x14
push esi
mov dword [esi + 0x18], 0
call fcn.10020620
jmp 0x10022f24
cmp dword [ebx], 0
je 0x10022f2a
push esi
call fcn.10042990
add esp, 4
test eax, eax
je 0x10022f2a
push 2
push dword [ebx]
mov edi, 0x2a
mov dword [esp + 0x20], edi
call fcn.10034550
mov ebx, dword [esi + 0x34]
xor eax, eax
add esp, 8
cmp ebx, 0xe
setge al
add eax, 0xe
cmp ebx, eax
je 0x10022f27
mov dword [esi + 0x34], eax
cmp ebx, 0xe
jl 0x10022f0e
mov eax, dword [esi + 0x7c]
dec dword [eax + 0x10]
mov eax, dword [esi + 0x7c]
cmp dword [eax + 0x10], 0
jne 0x10022f0e
push eax
call fcn.10023790
add esp, 4
xor eax, eax
cmp ebx, 0xe
setge al
mov eax, dword [eax*4 + 0x10078750]
test eax, eax
je 0x10022f27
push esi
call eax
add esp, 4
or ebp, 0xffffffff
cmp dword [esi + 0x34], 0xf
je 0x10022f5a
mov ecx, dword [esp + 0x80]
cmp ebp, 0xffffffff
je 0x10021e50
cmp byte [ecx + 0x116], 0
jne 0x10021e50
mov dword [esi + 0x38], edi
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x6c
ret
mov eax, dword [esi + 0x678]
test eax, eax
je 0x10022f74
push edi
push esi
call eax
mov ebx, dword [esp + 0x88]
add esp, 8
jmp 0x10022f9c
mov ebx, dword [esp + 0x80]
lea eax, [esi + 0x3c]
push eax
push eax
mov dword [eax + 0xc], 1
mov dword [eax + 0x10], esi
mov dword [eax + 0x14], edi
lea eax, [ebx + 0x14]
push dword [ebx + 0x18]
push eax
call fcn.1003a780
add esp, 0x10
cmp dword [esi + 0x34], 0x10
je 0x10022fa9
mov dword [esi + 0x34], 0x10
lea eax, [esi + 0x1c]
push eax
push esi
push dword [ebx + 0x38]
lea eax, [ebx + 0x34]
push eax
call fcn.1003a780
push esi
push ebx
call fcn.10023d20
add esp, 0x18
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x6c
ret
pop edi
pop esi
pop ebp
mov eax, 2
pop ebx
add esp, 0x6c
ret