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

Disassembly:
sub esp, 0x60
push ebx
push ebp
push esi
mov esi, dword [esp + 0x78]
push edi
xor edi, edi
mov byte [esp + 0x11], 0
mov byte [esp + 0x12], 0
mov byte [esp + 0x13], 0
mov dword [esp + 0x18], edi
test esi, esi
je 0x1007f161
cmp dword [esi], 0xc0dedbad
jne 0x1007f161
mov ecx, dword [esp + 0x74]
cmp byte [ecx + 0xe4], 0
je 0x1007dda0
mov edi, 0x2a
push esi
mov dword [esp + 0x1c], edi
call fcn.10082070
push 0
push edi
push esi
call fcn.1007d6d0
add esp, 0x10
cmp dword [esi + 0x28], 0xf
je 0x1007dd98
mov eax, dword [esi + 0x70]
mov dword [esi + 0x28], 0xf
dec dword [eax + 0x10]
mov ebx, dword [esi + 0xc]
test ebx, ebx
je 0x1007dd88
push esi
call fcn.10091530
push 0
lea eax, [esi + 0x1c]
push eax
lea eax, [ebx + 0x2d4]
push eax
call fcn.10093d40
push ebx
push esi
call fcn.100866b0
add esp, 0x18
push esi
mov dword [esi + 0xc], 0
call fcn.1007c8b0
add esp, 4
mov ecx, dword [esp + 0x74]
nop dword [eax]
mov al, byte [ecx + 0xe2]
xor ebp, ebp
mov byte [esp + 0x10], 0
mov byte [ecx + 0xe2], 0
test al, al
je 0x1007de07
lea eax, [ecx + 0x24]
mov dword [esp + 0x28], eax
mov eax, dword [eax]
mov dword [esp + 0x30], eax
test eax, eax
je 0x1007de07
mov ebx, dword [eax]
cmp dword [ebx + 0x28], 2
je 0x1007dde5
push ebx
mov dword [ebx + 0x28], 2
call fcn.10092270
mov eax, dword [esp + 0x34]
add esp, 4
push 0
push eax
push dword [esp + 0x30]
call fcn.10093d40
push 8
push 0
push 0
push ebx
call fcn.1007c6a0
add esp, 0x1c
mov byte [ebx + 0xd19], 1
mov ecx, dword [esi + 0x28]
lea eax, [ecx - 3]
cmp eax, 0xb
ja 0x1007de20
cmp dword [esi + 0xc], ebp
je case.default.0x1007de64
lea ebx, [esi + 0xc]
jmp 0x1007de28
cmp dword [esi + 0xc], ebp
lea ebx, [esi + 0xc]
je 0x1007de58
lea eax, [ecx - 2]
cmp eax, 0xc
ja 0x1007de58
push 0
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x84]
push esi
call fcn.1007db90
mov edi, dword [esp + 0x2c]
add esp, 0x14
test al, al
jne 0x1007ef58
mov ecx, dword [esi + 0x28]
cmp ecx, 0x10
ja case.default.0x1007de64
jmp dword [ecx*4 + 0x1007f170]
push esi
call fcn.10092310
mov edi, eax
add esp, 4
mov dword [esp + 0x18], edi
test edi, edi
jne case.0x1007de64.1
cmp dword [esi + 0x28], 2
je 0x1007de98
push esi
mov dword [esi + 0x28], 2
call fcn.10092270
add esp, 4
push 1
lea eax, [esp + 0x44]
push esi
push eax
call fcn.1009adc0
mov edx, dword [esp + 0x84]
add esp, 0xc
or ebp, 0xffffffff
movups xmm0, xmmword [eax]
movups xmmword [edx], xmm0
jmp 0x1007ef1c
cmp dword [esi + 0x8c4], ebp
jne 0x1007deee
mov eax, dword [esi + 0x4bc]
inc eax
push eax
call dword [section..data]
add esp, 4
mov dword [esi + 0x8c4], eax
test eax, eax
jne 0x1007deee
mov edi, 0x1b
mov dword [esp + 0x18], edi
jmp case.0x1007de64.1
push 2
lea eax, [esp + 0x54]
push esi
push eax
call fcn.1009adc0
add esp, 0xc
movups xmm0, xmmword [eax]
mov eax, dword [esp + 0x78]
movups xmmword [eax], xmm0
mov eax, dword [esi + 0x1ec]
test eax, eax
je 0x1007df20
push 0xa
push 0
push eax
push esi
call fcn.1007c6a0
add esp, 0x10
mov eax, dword [esi + 0x1f0]
test eax, eax
je 0x1007df38
push 2
push 0
push eax
push esi
call fcn.1007c6a0
add esp, 0x10
lea eax, [esp + 0x11]
push eax
lea eax, [esp + 0x1a]
push eax
push esi
call fcn.10087a80
mov edi, eax
add esp, 0xc
mov dword [esp + 0x18], edi
cmp edi, 0x59
jne 0x1007df86
cmp dword [esi + 0x28], 1
je 0x1007df63
mov dword [esi + 0x28], 1
lea eax, [esi + 0x10]
push eax
mov eax, dword [esp + 0x78]
push esi
push dword [eax + 0x28]
add eax, 0x24
push eax
call fcn.10093cc0
add esp, 0x10
xor edi, edi
mov dword [esp + 0x18], edi
jmp case.0x1007de64.1
cmp byte [esi + 0xd19], 0
je 0x1007dff9
push str.Transfer_was_pending__now_try_another
push esi
call fcn.1008bab0
mov eax, dword [esi + 0x70]
add esp, 8
add eax, 0x24
mov dword [esp + 0x24], eax
mov eax, dword [eax]
mov dword [esp + 0x28], eax
test eax, eax
je 0x1007dff9
mov eax, dword [eax]
mov dword [esp + 0x30], eax
cmp dword [eax + 0x28], 2
je 0x1007dfcd
push eax
mov dword [eax + 0x28], 2
call fcn.10092270
add esp, 4
push 0
push dword [esp + 0x2c]
push dword [esp + 0x2c]
call fcn.10093d40
push 8
push 0
push 0
push dword [esp + 0x48]
call fcn.1007c6a0
mov eax, dword [esp + 0x4c]
add esp, 0x1c
mov byte [eax + 0xd19], 1
test edi, edi
jne case.0x1007de64.1
cmp byte [esp + 0x16], 0
je 0x1007e01e
cmp dword [esi + 0x28], 3
je case.0x1007de64.1
mov dword [esi + 0x28], 3
jmp case.0x1007de64.1
or ebp, 0xffffffff
cmp byte [esp + 0x11], 0
je 0x1007e044
cmp dword [esi + 0x28], 8
je case.0x1007de64.1
push esi
mov dword [esi + 0x28], 8
call fcn.100915a0
jmp 0x1007ef15
push dword [ebx]
call fcn.100915f0
mov ecx, dword [esi + 0x28]
add esp, 4
test al, al
je 0x1007e06a
cmp ecx, 5
je case.0x1007de64.1
mov dword [esi + 0x28], 5
jmp case.0x1007de64.1
cmp ecx, 4
je case.0x1007de64.1
mov dword [esi + 0x28], 4
jmp case.0x1007de64.1
mov eax, dword [ebx]
mov dword [esp + 0x1c], ebp
cmp byte [eax + 0x240], 0
je 0x1007e096
mov ebp, dword [eax + 0xa4]
jmp 0x1007e0a7
cmp byte [eax + 0x249], 0
je 0x1007e0a4
mov ebp, dword [eax + 0x74]
jmp 0x1007e0a7
mov ebp, dword [eax + 0x5c]
push dword [eax + 0x4ec]
push ebp
push esi
call fcn.100944a0
add esp, 0xc
mov dword [esp + 0x1c], eax
test eax, eax
je 0x1007e0e7
push ebp
push 0x100f9d50
xor edi, edi
mov dword [esi + 0x990], eax
push esi
mov byte [esi + 0x9a4], 1
mov dword [esp + 0x24], edi
call fcn.1008bab0
add esp, 0xc
cmp dword [esp + 0x1c], edi
jne 0x1007e0fb
lea eax, [esp + 0x1c]
push eax
push esi
call fcn.100950a0
mov edi, eax
add esp, 8
mov dword [esp + 0x18], edi
mov eax, dword [esp + 0x74]
push esi
push eax
call fcn.1007f9a0
mov ebp, eax
add esp, 8
test ebp, ebp
jne 0x1007f13d
cmp dword [esp + 0x1c], eax
je 0x1007e133
lea eax, [esp + 0x11]
push eax
push esi
call fcn.10094b80
mov edi, eax
add esp, 8
mov dword [esp + 0x18], edi
test edi, edi
je 0x1007e145
mov dword [ebx], ebp
test edi, edi
je case.0x1007de64.1
mov byte [esp + 0x10], 1
jmp case.0x1007de64.1
or ebp, 0xffffffff
cmp byte [esp + 0x11], 0
jne 0x1007e028
jmp 0x1007e044
lea eax, [esp + 0x11]
push eax
push esi
call fcn.100964e0
mov edi, eax
add esp, 8
mov eax, dword [ebx]
mov dword [esp + 0x18], edi
cmp byte [eax + 0x244], 0
je 0x1007e1a7
xor edi, edi
or ebp, 0xffffffff
push edi
push edi
push esi
mov dword [esp + 0x24], edi
call fcn.1007d6d0
add esp, 0xc
cmp dword [esi + 0x28], 2
je case.0x1007de64.1
push esi
mov dword [esi + 0x28], 2
call fcn.10092270
jmp 0x1007ef15
test edi, edi
jne 0x1007e13b
cmp byte [eax + 0xb0], 2
jne 0x1007e1c1
cmp byte [eax + 0x23e], 0
je case.0x1007de64.1
push eax
call fcn.10091510
add esp, 4
test al, al
je case.0x1007de64.1
or ebp, 0xffffffff
cmp dword [esi + 0x28], 6
je case.0x1007de64.1
mov dword [esi + 0x28], 6
jmp case.0x1007de64.1
lea eax, [esp + 0x17]
push eax
push 0
push dword [ebx]
push esi
call fcn.1008cab0
add esp, 0x10
mov edi, eax
cmp byte [esp + 0x17], 0
mov dword [esp + 0x18], edi
je 0x1007e277
test edi, edi
jne 0x1007e27f
mov eax, dword [ebx]
cmp byte [eax + 0xb0], 2
jne 0x1007e222
cmp byte [eax + 0x23e], 0
je 0x1007e22f
push eax
call fcn.100915f0
add esp, 4
test al, al
je 0x1007e238
cmp dword [esi + 0x28], 5
jmp 0x1007e058
mov eax, dword [ebx]
or ebp, 0xffffffff
mov cl, byte [eax + 0x243]
xor eax, eax
test cl, cl
sete al
add eax, 5
cmp dword [esi + 0x28], eax
je case.0x1007de64.1
mov dword [esi + 0x28], eax
xor eax, eax
test cl, cl
sete al
mov eax, dword [eax*4 + 0x100f9bcc]
test eax, eax
je case.0x1007de64.1
push esi
call eax
jmp 0x1007ef15
test edi, edi
je case.0x1007de64.1
push esi
call fcn.10082070
push 1
push edi
push esi
call fcn.1007d6d0
add esp, 0x10
mov byte [esp + 0x10], 1
jmp case.0x1007de64.1
mov eax, dword [ebx]
xor ecx, ecx
mov byte [esp + 0x11], cl
mov dword [esp + 0x30], eax
cmp byte [eax + 0x23c], cl
je 0x1007e2d6
cmp byte [eax + 0x24e], cl
je 0x1007e2e2
mov eax, dword [eax + 0x280]
cmp dword [eax + 0x18], ecx
jne 0x1007e351
xor edi, edi
mov byte [esp + 0x11], 1
mov dword [esp + 0x18], edi
jmp 0x1007e39b
cmp byte [eax + 0x24e], cl
jne 0x1007e389
push 0
push esi
call fcn.10091670
mov ecx, eax
add esp, 8
mov dword [esp + 0x20], ecx
mov edi, ecx
test ecx, ecx
je 0x1007e31c
mov dword [esp + 0x18], edi
push esi
call fcn.10082070
push 1
push dword [esp + 0x28]
push esi
call fcn.1007d6d0
add esp, 0x10
mov byte [esp + 0x10], 1
jmp case.0x1007de64.1
mov edi, dword [esp + 0x30]
cmp byte [edi + 0xb0], 2
jne 0x1007e332
cmp byte [edi + 0x23e], 0
je 0x1007e351
cmp byte [edi + 0x243], 0
je 0x1007e35d
cmp byte [edi + 0x240], 0
je 0x1007e35d
push edi
call fcn.100915f0
add esp, 4
test al, al
je 0x1007e359
xor edi, edi
mov dword [esp + 0x18], edi
jmp 0x1007e39b
mov ecx, dword [esp + 0x20]
mov eax, dword [edi + 0x280]
mov eax, dword [eax + 0x14]
test eax, eax
je 0x1007e37d
lea ecx, [esp + 0x11]
push ecx
push esi
call eax
mov ecx, eax
add esp, 8
test ecx, ecx
je 0x1007e382
jmp 0x1007e389
mov byte [esp + 0x11], 1
mov byte [edi + 0x24e], 1
mov edi, ecx
mov dword [esp + 0x18], edi
mov dword [esp + 0x20], edi
test edi, edi
jne 0x1007e2fd
cmp byte [esp + 0x11], 0
jne 0x1007e3bc
cmp dword [esi + 0x28], 7
mov edx, dword [esp + 0x78]
je 0x1007ef1c
mov dword [esi + 0x28], 7
jmp 0x1007ef1c
cmp dword [esi + 0x28], 8
je 0x1007e3d2
push esi
mov dword [esi + 0x28], 8
call fcn.100915a0
add esp, 4
or ebp, 0xffffffff
jmp case.0x1007de64.1
mov ecx, dword [ebx]
test ecx, ecx
je 0x1007e41b
mov eax, dword [ecx + 0x280]
cmp dword [eax + 0x18], ebp
je 0x1007e41b
mov byte [esp + 0x11], 0
mov eax, dword [ecx + 0x280]
lea ecx, [esp + 0x11]
push ecx
push esi
mov eax, dword [eax + 0x18]
call eax
mov ecx, dword [esi + 0x28]
mov edi, eax
add esp, 8
mov dword [esp + 0x18], edi
test edi, edi
jne 0x1007e27f
mov al, byte [esp + 0x11]
jmp 0x1007e42c
mov al, 1
xor edi, edi
mov byte [esp + 0x11], al
mov ecx, 7
mov dword [esp + 0x18], edi
test al, al
je case.0x1007de64.1
cmp ecx, 8
jmp 0x1007e3c0
mov ecx, 8
cmp dword [esi + 0x1c8], ebp
je 0x1007e4e1
mov eax, dword [esi + 0x74]
test eax, eax
jne 0x1007e458
mov eax, dword [esi + 0x70]
test eax, eax
je 0x1007e45f
mov byte [eax + 0xe3], 1
push dword [esi + 0xdf8]
lea eax, [esi + 0xdc8]
push dword [esi + 0xdc0]
push eax
lea eax, [esi + 0xd90]
push eax
push dword [esi + 0x1cc]
mov eax, dword [esi + 0x1c8]
call eax
mov ecx, dword [esi + 0x74]
add esp, 0x14
mov edx, eax
test ecx, ecx
je 0x1007e49c
mov byte [ecx + 0xe3], 0
jmp 0x1007e4aa
mov eax, dword [esi + 0x70]
test eax, eax
je 0x1007e4aa
mov byte [eax + 0xe3], 0
test edx, edx
je 0x1007e4de
push str.operation_aborted_by_pre_request_callback
push esi
call fcn.1008b9e0
mov edi, 0x2a
push esi
mov dword [esp + 0x24], edi
call fcn.10082070
push 0
push edi
push esi
call fcn.1007d6d0
add esp, 0x18
mov byte [esp + 0x10], 1
jmp case.0x1007de64.1
mov ecx, dword [esi + 0x28]
cmp byte [esi + 0x6c1], 1
mov edx, dword [ebx]
jne 0x1007e512
push 0
push edx
call fcn.1008c5d0
add esp, 8
cmp dword [esi + 0x28], 0xe
je 0x1007e504
mov dword [esi + 0x28], 0xe
xor edi, edi
or ebp, 0xffffffff
mov dword [esp + 0x18], edi
jmp case.0x1007de64.1
mov eax, dword [edx + 0x280]
xor edi, edi
mov eax, dword [eax + 8]
test eax, eax
je 0x1007e533
lea ecx, [esp + 0x12]
push ecx
push esi
call eax
mov edx, dword [ebx]
add esp, 8
mov ecx, dword [esi + 0x28]
mov edi, eax
mov dword [esp + 0x18], edi
test edi, edi
jne 0x1007e60f
cmp byte [esp + 0x12], 0
jne 0x1007e5c4
cmp byte [esi + 0xd12], 0
je 0x1007e5b1
mov eax, dword [esi + 0xd20]
cmp eax, 7
je 0x1007e55f
cmp eax, 5
jne 0x1007e5b1
push 0
push 0
push esi
call fcn.1007d6d0
mov ecx, dword [ebx]
add esp, 0xc
mov eax, ecx
neg eax
sbb eax, eax
add eax, 0xf
cmp dword [esi + 0x28], eax
je 0x1007e3d2
mov dword [esi + 0x28], eax
test ecx, ecx
jne 0x1007e58d
mov eax, dword [esi + 0x70]
dec dword [eax + 0x10]
xor eax, eax
test ecx, ecx
sete al
mov eax, dword [eax*4 + 0x100f9bf0]
test eax, eax
je 0x1007e3d2
push esi
call eax
add esp, 4
or ebp, 0xffffffff
jmp case.0x1007de64.1
cmp ecx, 9
je 0x1007e5bd
mov dword [esi + 0x28], 9
xor ebp, ebp
jmp case.0x1007de64.1
cmp byte [edx + 0x24d], 0
je 0x1007e5e0
cmp ecx, 0xa
je 0x1007e5d9
mov dword [esi + 0x28], 0xa
xor ebp, ebp
jmp case.0x1007de64.1
cmp ecx, 0xb
je 0x1007e3d2
push 6
lea eax, [esp + 0x64]
mov dword [esi + 0x28], 0xb
push esi
push eax
mov byte [esi + 0x142], 0
call fcn.1009adc0
add esp, 0xc
or ebp, 0xffffffff
jmp case.0x1007de64.1
cmp edi, 0x37
jne 0x1007e6cd
cmp byte [edx + 0x247], 0
je 0x1007e6cd
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], ebp
push eax
push esi
call fcn.10092aa0
add esp, 8
test eax, eax
je 0x1007e646
mov edi, eax
mov byte [esp + 0x10], 1
mov dword [esp + 0x18], edi
push esi
call fcn.10082070
push 0
push edi
push esi
call fcn.1007d6d0
mov ecx, dword [esp + 0x2c]
add esp, 0x10
test ecx, ecx
je 0x1007e6bc
test eax, eax
je 0x1007e67b
cmp eax, 0x37
je 0x1007e67b
mov edi, eax
push ecx
mov dword [esp + 0x1c], edi
call dword [0x10126004]
jmp 0x1007ef15
push 2
push ecx
push esi
call fcn.10091d40
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x1007e6a8
cmp dword [esi + 0x28], 2
je 0x1007e6a3
push esi
mov dword [esi + 0x28], 2
call fcn.10092270
add esp, 4
or ebp, 0xffffffff
xor edi, edi
mov ecx, dword [esp + 0x1c]
push ecx
mov dword [esp + 0x1c], edi
call dword [0x10126004]
jmp 0x1007ef15
push ecx
mov byte [esp + 0x14], 1
call dword [0x10126004]
jmp 0x1007ef15
push esi
call fcn.10082070
add esp, 4
cmp dword [ebx], ebp
je 0x1007e291
push 0
push edi
push esi
call fcn.1007d6d0
add esp, 0xc
mov byte [esp + 0x10], 1
jmp case.0x1007de64.1
mov ecx, dword [ebx]
test ecx, ecx
je 0x1007e749
mov eax, dword [ecx + 0x280]
cmp dword [eax + 0x1c], ebp
je 0x1007e749
mov byte [esp + 0x12], 0
mov eax, dword [ecx + 0x280]
lea ecx, [esp + 0x12]
push ecx
push esi
mov eax, dword [eax + 0x1c]
call eax
mov ecx, dword [ebx]
mov edi, eax
mov edx, dword [esi + 0x28]
add esp, 8
mov dword [esp + 0x18], edi
test edi, edi
je 0x1007e759
push esi
call fcn.10082070
push 0
push edi
push esi
call fcn.1007d6d0
add esp, 0x10
mov byte [esp + 0x10], 1
jmp case.0x1007de64.1
xor edi, edi
mov byte [esp + 0x12], 1
mov edx, 9
mov dword [esp + 0x18], edi
cmp byte [esp + 0x12], 0
je case.0x1007de64.1
mov cl, byte [ecx + 0x24d]
xor eax, eax
test cl, cl
sete al
add eax, 0xa
cmp edx, eax
je 0x1007e3d2
mov dword [esi + 0x28], eax
xor eax, eax
test cl, cl
sete al
mov eax, dword [eax*4 + 0x100f9be0]
test eax, eax
je 0x1007e3d2
push esi
call eax
add esp, 4
or ebp, 0xffffffff
jmp case.0x1007de64.1
mov eax, dword [ebx]
xor ecx, ecx
mov dword [esp + 0x38], ecx
xor edi, edi
mov eax, dword [eax + 0x280]
lea edx, [edi + 0xa]
mov eax, dword [eax + 0x10]
test eax, eax
je 0x1007e7d1
lea ecx, [esp + 0x38]
push ecx
push esi
call eax
mov edx, dword [esi + 0x28]
add esp, 8
mov ecx, dword [esp + 0x38]
mov edi, eax
mov dword [esp + 0x18], edi
test edi, edi
jne 0x1007e72d
test ecx, ecx
je 0x1007e5bd
xor eax, eax
cmp ecx, 1
sete al
lea eax, [eax*2 + 9]
cmp edx, eax
je 0x1007e3d2
mov dword [esi + 0x28], eax
mov eax, dword [eax*4 + 0x100f9bb8]
test eax, eax
je 0x1007e3d2
push esi
call eax
add esp, 4
or ebp, 0xffffffff
jmp case.0x1007de64.1
mov edx, dword [ebx]
mov eax, 0xb
cmp byte [edx + 0x258], 0
je 0x1007e88b
mov eax, dword [esp + 0x74]
add eax, 0x24
mov dword [esp + 0x28], eax
mov ebp, dword [eax]
mov eax, 0xb
mov dword [esp + 0x30], ebp
test ebp, ebp
je 0x1007e88b
mov ebp, dword [ebp]
cmp dword [ebp + 0x28], 2
je 0x1007e85f
push ebp
mov dword [ebp + 0x28], 2
call fcn.10092270
add esp, 4
push 0
push dword [esp + 0x34]
push dword [esp + 0x30]
call fcn.10093d40
push 8
push 0
push 0
push ebp
call fcn.1007c6a0
mov byte [ebp + 0xd19], 1
add esp, 0x1c
mov eax, dword [esi + 0x28]
mov ecx, eax
mov edx, dword [ebx]
cmp dword [edx + 0x298], 0xffffffff
jne 0x1007e8d7
cmp dword [edx + 0x29c], 0xffffffff
jne 0x1007e8d7
cmp byte [esi + 0xd12], 0
je 0x1007e8bf
mov eax, dword [edx + 0x280]
test dword [eax + 0x4c], 0x1000
jne 0x1007e8bf
mov dword [esi + 0xd20], 7
cmp ecx, 0xe
je 0x1007e3d2
mov dword [esi + 0x28], 0xe
or ebp, 0xffffffff
jmp case.0x1007de64.1
cmp eax, 0xc
je 0x1007e3d2
mov dword [esi + 0x28], 0xc
or ebp, 0xffffffff
jmp case.0x1007de64.1
push esi
call fcn.1009af20
add esp, 4
test eax, eax
je 0x1007e90d
mov eax, 0x2a
mov edi, eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x18], edi
jmp 0x1007e933
mov ecx, dword [esp + 0x78]
sub esp, 0x10
mov eax, esp
movups xmm0, xmmword [ecx]
push esi
movups xmmword [eax], xmm0
call fcn.1009c2d0
add esp, 0x14
mov dword [esp + 0x30], eax
mov edi, eax
mov dword [esp + 0x18], edi
test eax, eax
je 0x1007e96b
mov edx, dword [ebx]
mov ecx, dword [edx + 0x280]
test byte [ecx + 0x4c], 2
jne 0x1007e951
cmp eax, 0x5c
je 0x1007e951
push 2
push edx
call fcn.1008c5d0
add esp, 8
push esi
call fcn.10082070
push 1
push dword [esp + 0x38]
push esi
call fcn.1007d6d0
add esp, 0x10
jmp case.0x1007de64.1
mov eax, dword [esi + 0x218]
xorps xmm0, xmm0
mov ecx, dword [esi + 0x21c]
or eax, ecx
movlpd qword [esp + 0x30], xmm0
je 0x1007e9d0
mov edx, dword [esp + 0x78]
sub esp, 0x10
mov eax, esp
sub esp, 0x10
movups xmm0, xmmword [edx]
mov edx, dword [esi + 0x218]
movups xmmword [eax], xmm0
mov eax, esp
movups xmm0, xmmword [esi + 0x7d0]
push ecx
push edx
push dword [esi + 0x7e4]
movups xmmword [eax], xmm0
push dword [esi + 0x7e0]
push dword [esi + 0x734]
push dword [esi + 0x730]
call fcn.1009aa00
add esp, 0x38
mov dword [esp + 0x20], edx
jmp 0x1007e9dc
mov eax, dword [esp + 0x34]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x30]
mov ecx, dword [esi + 0x224]
xorps xmm0, xmm0
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0x220]
or eax, ecx
movlpd qword [esp + 0x28], xmm0
je 0x1007ea43
mov edx, dword [esp + 0x78]
sub esp, 0x10
mov eax, esp
sub esp, 0x10
movups xmm0, xmmword [edx]
mov edx, dword [esi + 0x220]
movups xmmword [eax], xmm0
mov eax, esp
movups xmm0, xmmword [esi + 0x7e8]
push ecx
push edx
push dword [esi + 0x7fc]
movups xmmword [eax], xmm0
push dword [esi + 0x7f8]
push dword [esi + 0x72c]
push dword [esi + 0x728]
call fcn.1009aa00
add esp, 0x38
mov ecx, eax
jmp 0x1007ea4b
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x1c]
or eax, dword [esp + 0x20]
jne 0x1007ea85
mov eax, ecx
or eax, edx
jne 0x1007ea85
cmp dword [esi + 0x28], 0xc
je 0x1007ea68
mov dword [esi + 0x28], 0xc
mov ecx, dword [esp + 0x78]
sub esp, 0x10
mov eax, esp
movups xmm0, xmmword [ecx]
push esi
movups xmmword [eax], xmm0
call fcn.1009b270
add esp, 0x14
jmp case.0x1007de64.1
cmp dword [esp + 0x20], edx
jl 0x1007eaaa
mov eax, dword [esp + 0x1c]
jg 0x1007ea95
cmp eax, ecx
jb 0x1007eaaa
push 0xb
push dword [esp + 0x24]
push eax
push esi
call fcn.1007c6a0
add esp, 0x10
jmp case.0x1007de64.1
push 0xb
push edx
push ecx
push esi
call fcn.1007c6a0
add esp, 0x10
jmp case.0x1007de64.1
mov eax, dword [esi + 0x218]
xorps xmm0, xmm0
mov ecx, dword [esi + 0x21c]
or eax, ecx
mov dword [esp + 0x1c], ebp
mov byte [esp + 0x14], 0
mov byte [esp + 0x15], 0
movlpd qword [esp + 0x30], xmm0
je 0x1007eb2f
mov edx, dword [esp + 0x78]
sub esp, 0x10
mov eax, esp
sub esp, 0x10
movups xmm0, xmmword [edx]
mov edx, dword [esi + 0x218]
movups xmmword [eax], xmm0
mov eax, esp
movups xmm0, xmmword [esi + 0x7d0]
push ecx
push edx
push dword [esi + 0x7e4]
movups xmmword [eax], xmm0
push dword [esi + 0x7e0]
push dword [esi + 0x734]
push dword [esi + 0x730]
call fcn.1009aa00
add esp, 0x38
mov dword [esp + 0x24], edx
jmp 0x1007eb3b
mov eax, dword [esp + 0x34]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x30]
mov ecx, dword [esi + 0x224]
xorps xmm0, xmm0
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0x220]
or eax, ecx
movlpd qword [esp + 0x28], xmm0
je 0x1007eba6
mov edx, dword [esp + 0x78]
sub esp, 0x10
mov eax, esp
sub esp, 0x10
movups xmm0, xmmword [edx]
mov edx, dword [esi + 0x220]
movups xmmword [eax], xmm0
mov eax, esp
movups xmm0, xmmword [esi + 0x7e8]
push ecx
push edx
push dword [esi + 0x7fc]
movups xmmword [eax], xmm0
push dword [esi + 0x7f8]
push dword [esi + 0x72c]
push dword [esi + 0x728]
call fcn.1009aa00
add esp, 0x38
mov dword [esp + 0x28], eax
mov ecx, eax
jmp 0x1007ebb2
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x28], ecx
mov eax, dword [esp + 0x20]
or eax, dword [esp + 0x24]
mov dword [esp + 0x30], edx
jne 0x1007edac
mov eax, ecx
or eax, edx
jne 0x1007edac
lea eax, [esp + 0x15]
push eax
lea eax, [esp + 0x17]
push eax
push esi
push dword [ebx]
call fcn.100927a0
add esp, 0x10
mov edi, eax
cmp byte [esp + 0x13], 0
mov dword [esp + 0x18], edi
jne 0x1007ec33
cmp edi, 0x38
je 0x1007ec33
cmp edi, 0x5c
jne 0x1007ecbf
mov ecx, dword [ebx]
mov eax, dword [ecx + 0x280]
test byte [eax + 0x4c], 2
jne 0x1007ec1c
cmp edi, 0x5c
je 0x1007ec1c
push 2
push ecx
call fcn.1008c5d0
add esp, 8
push esi
call fcn.10082070
push 1
push edi
push esi
call fcn.1007d6d0
add esp, 0x10
jmp case.0x1007de64.1
lea eax, [esp + 0x1c]
push eax
push esi
call fcn.10092aa0
add esp, 8
test eax, eax
jne 0x1007ecb1
cmp dword [esp + 0x1c], ebp
setne al
mov byte [esp + 0x14], al
test al, al
je 0x1007ecbf
push esi
mov byte [esp + 0x17], 1
call fcn.10082070
add esp, 4
mov edi, 2
push 0
push 0
push esi
call fcn.1007d6d0
push edi
push dword [esp + 0x2c]
push esi
call fcn.10091d40
mov edi, eax
add esp, 0x18
mov dword [esp + 0x18], edi
test edi, edi
jne 0x1007eca2
cmp dword [esi + 0x28], 2
je 0x1007ec9f
push esi
mov dword [esi + 0x28], 2
call fcn.10092270
add esp, 4
or ebp, 0xffffffff
push dword [esp + 0x1c]
call dword [0x10126004]
jmp 0x1007ef15
test edi, edi
jne 0x1007ebfe
mov edi, eax
mov dword [esp + 0x18], edi
test edi, edi
jne 0x1007ebfe
cmp byte [esp + 0x13], 0
je 0x1007ed8b
push esi
call fcn.10082070
add esp, 4
cmp byte [esp + 0x14], 0
jne 0x1007ec62
cmp dword [esi + 0x128], ebp
jne 0x1007ed64
cmp dword [esi + 0x124], ebp
je 0x1007ed4b
push dword [esp + 0x1c]
call dword [0x10126004]
mov eax, dword [esi + 0x124]
push 1
push eax
push esi
mov dword [esp + 0x2c], eax
mov dword [esi + 0x124], ebp
call fcn.10091d40
push dword [esp + 0x2c]
mov edi, eax
mov dword [esp + 0x2c], edi
call dword [0x10126004]
add esp, 0x14
test edi, edi
je 0x1007ed4b
push 1
push edi
push esi
mov byte [esp + 0x1c], 1
call fcn.1007d6d0
mov edi, eax
add esp, 0xc
mov dword [esp + 0x18], edi
test edi, edi
jne case.0x1007de64.1
cmp dword [esi + 0x28], 0xe
je 0x1007e3d2
mov dword [esi + 0x28], 0xe
or ebp, 0xffffffff
jmp case.0x1007de64.1
push dword [esp + 0x1c]
call dword [0x10126004]
mov eax, dword [esi + 0x128]
add esp, 4
mov dword [esp + 0x1c], eax
mov edi, 3
mov dword [esi + 0x128], ebp
jmp 0x1007ec67
cmp byte [esp + 0x15], 0
je case.0x1007de64.1
push 8
push 0
push 0
push esi
call fcn.1007c6a0
add esp, 0x10
xor ebp, ebp
jmp case.0x1007de64.1
mov ecx, dword [esp + 0x78]
sub esp, 0x10
mov eax, esp
movups xmm0, xmmword [ecx]
push esi
movups xmmword [eax], xmm0
call fcn.1009b270
add esp, 0x14
cmp dword [esi + 0x28], 0xd
je 0x1007edd1
mov dword [esi + 0x28], 0xd
mov ecx, dword [esp + 0x24]
cmp ecx, dword [esp + 0x30]
jl 0x1007edfb
mov eax, dword [esp + 0x20]
jg 0x1007ee05
mov edx, dword [esp + 0x28]
cmp eax, edx
jb 0x1007edff
push 0xb
push ecx
push eax
push esi
call fcn.1007c6a0
add esp, 0x10
jmp case.0x1007de64.1
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x30]
mov eax, edx
push 0xb
push ecx
push eax
push esi
call fcn.1007c6a0
add esp, 0x10
jmp case.0x1007de64.1
mov eax, dword [ebx]
or ebp, 0xffffffff
test eax, eax
je 0x1007ee9f
cmp byte [eax + 0x258], 0
je 0x1007ee8a
mov eax, dword [esp + 0x74]
add eax, 0x24
mov dword [esp + 0x24], eax
mov eax, dword [eax]
mov dword [esp + 0x28], eax
test eax, eax
je 0x1007ee8a
mov eax, dword [eax]
mov dword [esp + 0x30], eax
cmp dword [eax + 0x28], 2
je 0x1007ee5e
push eax
mov dword [eax + 0x28], 2
call fcn.10092270
add esp, 4
push 0
push dword [esp + 0x2c]
push dword [esp + 0x2c]
call fcn.10093d40
push 8
push 0
push 0
push dword [esp + 0x48]
call fcn.1007c6a0
mov eax, dword [esp + 0x4c]
add esp, 0x1c
mov byte [eax + 0xd19], 1
push 0
push edi
push esi
call fcn.1007d6d0
add esp, 0xc
test edi, edi
cmove edi, eax
mov dword [esp + 0x18], edi
cmp byte [esi + 0xd12], 0
je 0x1007eec4
cmp dword [esi + 0xd20], 7
je 0x1007eec4
cmp dword [esi + 0x28], 0
mov edx, dword [esp + 0x78]
je 0x1007ef1c
mov dword [esi + 0x28], 0
jmp 0x1007ef1c
cmp dword [esi + 0x28], 0xf
je case.0x1007de64.1
mov eax, dword [esi + 0x70]
mov dword [esi + 0x28], 0xf
dec dword [eax + 0x10]
mov eax, dword [ebx]
mov dword [esp + 0x30], eax
test eax, eax
je 0x1007ef09
push esi
call fcn.10091530
push 0
lea eax, [esi + 0x1c]
push eax
mov eax, dword [esp + 0x3c]
add eax, 0x2d4
push eax
call fcn.10093d40
push dword [esp + 0x40]
push esi
call fcn.100866b0
add esp, 0x18
push esi
mov dword [ebx], 0
call fcn.1007c8b0
add esp, 4
mov edx, dword [esp + 0x78]
cmp dword [ebx], 0
je 0x1007ef58
mov eax, dword [esi + 0x28]
mov ecx, dword [esp + 0x74]
sub eax, 2
cmp eax, 5
ja 0x1007ef5c
cmp ebp, 0xffffffff
je 0x1007ef5c
cmp byte [ecx + 0xe2], 0
jne 0x1007ef5c
push 1
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x18]
push eax
push edx
push esi
call fcn.1007db90
mov edi, dword [esp + 0x2c]
add esp, 0x14
mov ecx, dword [esp + 0x74]
mov eax, dword [esi + 0x28]
cmp eax, 0xf
jge 0x1007f0d3
test edi, edi
je 0x1007f070
add ecx, 0x24
mov dword [esp + 0x28], ecx
mov ecx, dword [ecx]
mov dword [esp + 0x30], ecx
test ecx, ecx
je 0x1007efc2
mov ebp, dword [ecx]
cmp dword [ebp + 0x28], 2
je 0x1007ef9d
push ebp
mov dword [ebp + 0x28], 2
call fcn.10092270
mov ecx, dword [esp + 0x34]
add esp, 4
push 0
push ecx
push dword [esp + 0x30]
call fcn.10093d40
push 8
push 0
push 0
push ebp
call fcn.1007c6a0
mov byte [ebp + 0xd19], 1
add esp, 0x1c
mov eax, dword [esi + 0x28]
mov ebp, dword [ebx]
test ebp, ebp
je 0x1007f015
cmp byte [esp + 0x10], 0
je 0x1007f023
cmp edi, 0x1c
push esi
sete byte [esp + 0x40]
call fcn.10091530
push 0
lea eax, [esi + 0x1c]
push eax
lea eax, [ebp + 0x2d4]
push eax
call fcn.10093d40
push ebp
push esi
call fcn.100866b0
push 1
push ebp
push esi
mov dword [ebx], 0
call fcn.10085020
push dword [esp + 0x60]
push ebp
push esi
call fcn.10087ca0
add esp, 0x30
jmp 0x1007f023
cmp eax, 2
jne 0x1007f023
push esi
call fcn.10082070
add esp, 4
cmp dword [esi + 0x28], 0xf
je 0x1007f0d0
mov eax, dword [esi + 0x70]
mov dword [esi + 0x28], 0xf
dec dword [eax + 0x10]
mov ebp, dword [ebx]
test ebp, ebp
je 0x1007f062
push esi
call fcn.10091530
push 0
lea eax, [esi + 0x1c]
push eax
lea eax, [ebp + 0x2d4]
push eax
call fcn.10093d40
push ebp
push esi
call fcn.100866b0
add esp, 0x18
push esi
mov dword [ebx], 0
call fcn.1007c8b0
jmp 0x1007f0cd
cmp dword [ebx], 0
je 0x1007f0d3
push esi
call fcn.1009af20
add esp, 4
test eax, eax
je 0x1007f0d3
push 2
push dword [ebx]
mov edi, 0x2a
mov dword [esp + 0x20], edi
call fcn.1008c5d0
mov ecx, dword [esi + 0x28]
xor eax, eax
add esp, 8
cmp ecx, 0xe
setge al
add eax, 0xe
cmp ecx, eax
je 0x1007f0d0
mov dword [esi + 0x28], eax
cmp ecx, 0xe
jl 0x1007f0b7
mov eax, dword [esi + 0x70]
dec dword [eax + 0x10]
xor eax, eax
cmp ecx, 0xe
setge al
mov eax, dword [eax*4 + 0x100f9bf0]
test eax, eax
je 0x1007f0d0
push esi
call eax
add esp, 4
or ebp, 0xffffffff
cmp dword [esi + 0x28], 0xf
jne 0x1007f120
mov eax, dword [esi + 0x6a4]
test eax, eax
je 0x1007f0ec
push edi
push esi
call eax
add esp, 8
jmp 0x1007f113
lea eax, [esi + 0x30]
mov dword [eax + 0xc], 1
push eax
push eax
mov dword [eax + 0x10], esi
mov dword [eax + 0x14], edi
mov eax, dword [esp + 0x7c]
push dword [eax + 0x18]
add eax, 0x14
push eax
call fcn.10093cc0
add esp, 0x10
xor ebp, ebp
cmp dword [esi + 0x28], 0x10
je 0x1007f120
mov dword [esi + 0x28], 0x10
mov ecx, dword [esp + 0x74]
cmp ebp, 0xffffffff
je 0x1007dda0
cmp byte [ecx + 0xe2], 0
jne 0x1007dda0
mov dword [esi + 0x2c], edi
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret
mov dword [esi + 0x2c], edi
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret
mov eax, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret
pop edi
pop esi
pop ebp
mov eax, 2
pop ebx
add esp, 0x60
ret