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

Disassembly:
sub esp, 0x70
push ebx
push ebp
push esi
mov esi, dword [esp + 0x88]
push edi
xor edi, edi
mov byte [esp + 0x13], 0
mov byte [esp + 0x14], 0
mov dword [esp + 0x18], edi
test esi, esi
je 0x407c9e
cmp dword [esi], 0xc0dedbad
jne 0x407c9e
mov ebp, dword [esp + 0x84]
cmp byte [ebp + 0x118], 0
je 0x406b50
mov edi, 0x2a
push esi
mov dword [esp + 0x1c], edi
call fcn.0040b010
push 0
push edi
push esi
call fcn.004064e0
add esp, 0x10
cmp dword [esi + 0x34], 0x10
je 0x406b50
mov eax, dword [esi + 0x7c]
mov dword [esi + 0x34], 0x10
dec dword [eax + 0x10]
mov eax, dword [esi + 0x7c]
cmp dword [eax + 0x10], 0
jne 0x406b12
push eax
call fcn.00408590
add esp, 4
mov ebx, dword [esi + 0x18]
test ebx, ebx
je 0x406b35
push esi
push ebx
call fcn.00416540
push 0
lea eax, [esi + 0x28]
push eax
lea eax, [ebx + 0x2b4]
push eax
call fcn.0041f8c0
add esp, 0x14
push esi
mov dword [esi + 0x18], 0
call fcn.00405250
add esp, 4
nop word [eax + eax]
mov al, byte [ebp + 0x116]
xor ebx, ebx
mov byte [esp + 0x12], 0
mov byte [ebp + 0x116], bl
test al, al
je 0x406b79
mov eax, dword [ebp + 0x24]
test eax, eax
je 0x406b79
push dword [eax]
push ebp
call fcn.00406470
add esp, 8
mov ecx, dword [esi + 0x34]
lea eax, [ecx - 4]
cmp eax, 0xb
ja 0x406b8d
cmp dword [esi + 0x18], ebx
je case.default.0x406bc9
lea eax, [ecx - 3]
cmp eax, 0xc
ja 0x406bbd
push 0
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x1a]
push eax
push dword [esp + 0x94]
push esi
call fcn.00406910
mov edi, dword [esp + 0x2c]
add esp, 0x14
test al, al
jne 0x407ab0
mov ecx, dword [esi + 0x34]
cmp ecx, 0x11
ja case.default.0x406bc9
jmp dword [ecx*4 + 0x407cac]
push esi
call fcn.0041d120
mov edi, eax
add esp, 4
mov dword [esp + 0x18], edi
test edi, edi
jne case.0x406bc9.1
cmp dword [esi + 0x34], 2
je 0x406bf4
mov dword [esi + 0x34], 2
push 1
lea eax, [esp + 0x44]
push esi
push eax
call fcn.00427790
add esp, 0xc
push 2
lea eax, [esp + 0x54]
push esi
push eax
call fcn.00427790
add esp, 0xc
movups xmm0, xmmword [eax]
mov eax, dword [esp + 0x88]
movups xmmword [eax], xmm0
mov eax, dword [esi + 0x1d8]
test eax, eax
je 0x406c39
push 0xa
push 0
push eax
push esi
call fcn.00405040
add esp, 0x10
mov eax, dword [esi + 0x1dc]
test eax, eax
je 0x406c51
push 2
push 0
push eax
push esi
call fcn.00405040
add esp, 0x10
cmp dword [esi + 0x34], 3
je case.0x406bc9.3
push esi
mov dword [esi + 0x34], 3
call fcn.0041d070
add esp, 4
lea eax, [esp + 0x15]
push eax
lea eax, [esp + 0x1b]
push eax
push esi
call fcn.00412650
mov edi, eax
add esp, 0xc
mov dword [esp + 0x18], edi
cmp edi, 0x59
jne 0x406ce7
cmp dword [esi + 0x34], 1
je 0x406c92
mov dword [esi + 0x34], 1
lea eax, [esi + 0x1c]
push eax
lea eax, [ebp + 0x24]
push esi
push eax
call fcn.0041f700
mov ecx, dword [esi + 0x14]
add esp, 0xc
mov eax, dword [esi + 0x10]
test ecx, ecx
je 0x406cb2
mov dword [ecx + 0x10], eax
jmp 0x406cb5
mov dword [ebp + 4], eax
mov ecx, dword [esi + 0x10]
mov eax, dword [esi + 0x14]
test ecx, ecx
je 0x406cd3
mov dword [ecx + 0x14], eax
xor edi, edi
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esp + 0x18], edi
jmp case.0x406bc9.1
mov dword [ebp + 8], eax
xor edi, edi
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esp + 0x18], edi
jmp case.0x406bc9.1
mov eax, dword [esi + 0x7c]
mov ecx, dword [eax + 0x24]
test ecx, ecx
je 0x406cfc
push dword [ecx]
push eax
call fcn.00406470
add esp, 8
test edi, edi
jne case.0x406bc9.1
push 3
lea eax, [esp + 0x64]
push esi
push eax
call fcn.00427790
add esp, 0xc
movups xmm0, xmmword [eax]
mov eax, dword [esp + 0x88]
movups xmmword [eax], xmm0
mov eax, dword [esi + 0x34]
cmp byte [esp + 0x17], bl
je 0x406d3f
cmp eax, 4
je case.0x406bc9.1
mov dword [esi + 0x34], 4
jmp case.0x406bc9.1
or ebx, 0xffffffff
cmp byte [esp + 0x15], 0
je 0x406d5e
cmp eax, 7
je case.0x406bc9.1
mov dword [esi + 0x34], 7
jmp case.0x406bc9.1
cmp eax, 5
je case.0x406bc9.1
mov dword [esi + 0x34], 5
jmp case.0x406bc9.1
mov eax, dword [esi + 0x18]
mov dword [esp + 0x1c], ebx
cmp byte [eax + 0x240], bl
je 0x406d87
mov ebx, dword [eax + 0x78]
jmp 0x406d97
cmp byte [eax + 0x249], bl
je 0x406d94
mov ebx, dword [eax + 0x48]
jmp 0x406d97
mov ebx, dword [eax + 0x30]
push dword [eax + 0xec]
push ebx
push esi
call fcn.004200b0
add esp, 0xc
mov dword [esp + 0x1c], eax
test eax, eax
je 0x406dd7
push ebx
push 0x45b638
xor edi, edi
mov dword [esi + 0x908], eax
push esi
mov byte [esi + 0x91c], 1
mov dword [esp + 0x24], edi
call fcn.00416e20
add esp, 0xc
cmp dword [esp + 0x1c], edi
jne 0x406deb
lea eax, [esp + 0x1c]
push eax
push esi
call fcn.00420d00
mov edi, eax
add esp, 8
mov dword [esp + 0x18], edi
push esi
push ebp
call fcn.004086c0
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x407c27
cmp dword [esp + 0x1c], eax
je 0x406e20
lea eax, [esp + 0x15]
push eax
push esi
call fcn.00420750
mov edi, eax
add esp, 8
mov dword [esp + 0x18], edi
test edi, edi
je 0x406e32
mov dword [esi + 0x18], ebx
test edi, edi
je case.0x406bc9.1
mov byte [esp + 0x12], 1
jmp case.0x406bc9.1
mov eax, dword [esi + 0x34]
jmp 0x406d3f
lea eax, [esp + 0x13]
push eax
push esi
call fcn.00422240
mov edi, eax
add esp, 8
mov eax, dword [esi + 0x18]
mov dword [esp + 0x18], edi
cmp byte [eax + 0x244], bl
je 0x406e89
xor edi, edi
or ebx, 0xffffffff
push edi
push edi
push esi
mov dword [esp + 0x24], edi
call fcn.004064e0
add esp, 0xc
cmp dword [esi + 0x34], 3
je case.0x406bc9.1
push esi
mov dword [esi + 0x34], 3
call fcn.0041d070
jmp 0x407a74
test edi, edi
jne 0x406e28
or ebx, 0xffffffff
cmp dword [esi + 0x34], 7
jmp 0x406d4c
lea eax, [esp + 0x15]
push eax
push 0
push 0
push esi
call fcn.004163c0
add esp, 0x10
mov edi, eax
mov dword [esp + 0x18], edi
cmp byte [esp + 0x15], bl
je 0x406ec7
test edi, edi
jne 0x406ecf
or ebx, 0xffffffff
cmp dword [esi + 0x34], 7
jmp 0x406d4c
test edi, edi
je case.0x406bc9.1
push esi
call fcn.0040b010
push 1
push edi
push esi
call fcn.004064e0
add esp, 0x10
mov byte [esp + 0x12], 1
jmp case.0x406bc9.1
test edi, edi
jne 0x406ecf
mov eax, dword [esi + 0x18]
cmp byte [eax + 0x247], bl
je 0x406f09
mov dword [esi + 0x34], 9
or ebx, 0xffffffff
jmp case.0x406bc9.1
test edi, edi
jne 0x406ecf
mov eax, dword [esi + 0x18]
push edi
push eax
mov dword [esp + 0x28], eax
mov byte [esp + 0x1b], bl
call fcn.004168f0
add esp, 8
test al, al
mov eax, dword [esp + 0x20]
je 0x406f55
cmp byte [eax + 0x24e], bl
je 0x406f5d
mov eax, dword [eax + 0x260]
movzx ecx, byte [esp + 0x13]
mov dword [esp + 0x18], edi
cmp dword [eax + 0x18], ebx
mov eax, 1
cmove ecx, eax
mov eax, dword [esi + 0x34]
mov byte [esp + 0x13], cl
jmp 0x406fa0
cmp byte [eax + 0x24e], bl
jne 0x406f8d
mov eax, dword [eax + 0x260]
mov eax, dword [eax + 0x14]
test eax, eax
je 0x406f7d
lea ecx, [esp + 0x13]
push ecx
push esi
call eax
mov edi, eax
add esp, 8
test edi, edi
jne 0x406f8d
jmp 0x406f82
mov byte [esp + 0x13], 1
mov eax, dword [esp + 0x20]
mov byte [eax + 0x24e], 1
mov eax, dword [esi + 0x34]
mov dword [esp + 0x18], edi
test edi, edi
jne 0x406ecf
mov cl, byte [esp + 0x13]
test cl, cl
jne 0x406fb8
cmp eax, 8
je 0x406fb0
mov dword [esi + 0x34], 8
or ebx, 0xffffffff
jmp case.0x406bc9.1
cmp eax, 9
je 0x406fc4
mov dword [esi + 0x34], 9
or ebx, 0xffffffff
jmp case.0x406bc9.1
mov ecx, dword [esi + 0x18]
test ecx, ecx
je 0x40700d
mov eax, dword [ecx + 0x260]
cmp dword [eax + 0x18], ebx
je 0x40700d
mov byte [esp + 0x13], bl
mov eax, dword [ecx + 0x260]
lea ecx, [esp + 0x13]
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
jne 0x406ecf
mov al, byte [esp + 0x13]
jmp 0x40701e
mov al, 1
xor edi, edi
mov byte [esp + 0x13], al
mov ecx, 8
mov dword [esp + 0x18], edi
test al, al
je case.0x406bc9.1
cmp ecx, 9
jmp 0x406fbb
mov edx, dword [esi + 0x1b4]
mov ecx, 9
test edx, edx
je 0x4070b7
mov eax, dword [esi + 0x7c]
test eax, eax
je 0x40704e
mov byte [eax + 0x117], 1
mov edx, dword [esi + 0x1b4]
push dword [esi + 0xdac]
lea eax, [esi + 0xd7a]
push dword [esi + 0xda8]
push eax
lea eax, [esi + 0xd4c]
push eax
push dword [esi + 0x1b8]
call edx
mov ecx, dword [esi + 0x7c]
add esp, 0x14
test ecx, ecx
je 0x407080
mov byte [ecx + 0x117], bl
test eax, eax
je 0x4070b4
push str.operation_aborted_by_pre_request_callback
push esi
call fcn.00416d50
mov edi, 0x2a
push esi
mov dword [esp + 0x24], edi
call fcn.0040b010
push 0
push edi
push esi
call fcn.004064e0
add esp, 0x18
mov byte [esp + 0x12], 1
jmp case.0x406bc9.1
mov ecx, dword [esi + 0x34]
cmp byte [esi + 0x66d], 1
mov eax, dword [esi + 0x18]
jne 0x4070e9
push 0
push eax
call fcn.00419120
add esp, 8
cmp dword [esi + 0x34], 0xf
je 0x4070db
mov dword [esi + 0x34], 0xf
xor edi, edi
or ebx, 0xffffffff
mov dword [esp + 0x18], edi
jmp case.0x406bc9.1
mov eax, dword [eax + 0x260]
xor edi, edi
mov eax, dword [eax + 8]
test eax, eax
je 0x407108
lea ecx, [esp + 0x14]
push ecx
push esi
call eax
mov ecx, dword [esi + 0x34]
add esp, 8
mov edi, eax
mov dword [esp + 0x18], edi
test edi, edi
jne 0x4071fc
cmp byte [esp + 0x14], bl
jne 0x4071ab
cmp byte [esi + 0xcee], bl
je 0x407193
mov eax, dword [esi + 0xd00]
mov al, byte [eax + 0x20]
cmp al, 7
je 0x407137
cmp al, 5
jne 0x407193
push 0
push 0
push esi
call fcn.004064e0
mov ebx, dword [esi + 0x18]
add esp, 0xc
mov eax, ebx
neg eax
sbb eax, eax
add eax, 0x10
cmp dword [esi + 0x34], eax
je 0x40718b
mov dword [esi + 0x34], eax
test ebx, ebx
jne 0x407173
mov eax, dword [esi + 0x7c]
dec dword [eax + 0x10]
mov eax, dword [esi + 0x7c]
cmp dword [eax + 0x10], ebx
jne 0x407173
push eax
call fcn.00408590
add esp, 4
xor eax, eax
test ebx, ebx
sete al
mov eax, dword [eax*4 + 0x45b4b4]
test eax, eax
je 0x40718b
push esi
call eax
add esp, 4
or ebx, 0xffffffff
jmp case.0x406bc9.1
cmp ecx, 0xa
je 0x406fc4
mov dword [esi + 0x34], 0xa
or ebx, 0xffffffff
jmp case.0x406bc9.1
mov eax, dword [esi + 0x18]
cmp byte [eax + 0x24d], bl
je 0x4071ce
cmp ecx, 0xb
je 0x406fc4
mov dword [esi + 0x34], 0xb
or ebx, 0xffffffff
jmp case.0x406bc9.1
cmp ecx, 0xc
je 0x406fc4
push 7
lea eax, [esp + 0x74]
mov dword [esi + 0x34], 0xc
push esi
push eax
mov byte [esi + 0x138], bl
call fcn.00427790
add esp, 0xc
or ebx, 0xffffffff
jmp case.0x406bc9.1
cmp edi, 0x37
jne 0x4072b3
mov eax, dword [esi + 0x18]
cmp byte [eax + 0x247], bl
je 0x4072b3
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], ebx
push eax
push esi
call fcn.0041d8e0
add esp, 8
test eax, eax
je 0x407235
mov edi, eax
mov byte [esp + 0x12], 1
mov dword [esp + 0x18], edi
push esi
call fcn.0040b010
push 0
push edi
push esi
call fcn.004064e0
mov ecx, dword [esp + 0x2c]
add esp, 0x10
test ecx, ecx
je 0x4072a2
test eax, eax
je 0x40726a
cmp eax, 0x37
je 0x40726a
mov edi, eax
push ecx
mov dword [esp + 0x1c], edi
call dword [0x46c004]
jmp 0x407a74
push 2
push ecx
push esi
call fcn.0041cb70
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x40728e
cmp dword [esi + 0x34], 2
je 0x407289
mov dword [esi + 0x34], 2
or ebx, 0xffffffff
xor edi, edi
mov ecx, dword [esp + 0x1c]
push ecx
mov dword [esp + 0x1c], edi
call dword [0x46c004]
jmp 0x407a74
push ecx
mov byte [esp + 0x16], 1
call dword [0x46c004]
jmp 0x407a74
push esi
call fcn.0040b010
add esp, 4
cmp dword [esi + 0x18], ebx
je 0x406ee1
push 0
push edi
push esi
call fcn.004064e0
add esp, 0xc
mov byte [esp + 0x12], 1
jmp case.0x406bc9.1
mov ecx, dword [esi + 0x18]
test ecx, ecx
je 0x40732e
mov eax, dword [ecx + 0x260]
cmp dword [eax + 0x1c], ebx
je 0x40732e
mov byte [esp + 0x14], bl
mov eax, dword [ecx + 0x260]
lea ecx, [esp + 0x14]
push ecx
push esi
mov eax, dword [eax + 0x1c]
call eax
mov edx, dword [esi + 0x34]
mov edi, eax
add esp, 8
mov dword [esp + 0x18], edi
test edi, edi
je 0x40733e
push esi
call fcn.0040b010
push 0
push edi
push esi
call fcn.004064e0
add esp, 0x10
mov byte [esp + 0x12], 1
jmp case.0x406bc9.1
xor edi, edi
mov byte [esp + 0x14], 1
mov edx, 0xa
mov dword [esp + 0x18], edi
cmp byte [esp + 0x14], bl
je case.0x406bc9.1
mov eax, dword [esi + 0x18]
mov cl, byte [eax + 0x24d]
xor eax, eax
test cl, cl
sete al
add eax, 0xb
cmp edx, eax
je 0x40718b
mov dword [esi + 0x34], eax
xor eax, eax
test cl, cl
sete al
mov eax, dword [eax*4 + 0x45b4a4]
jmp 0x407181
mov eax, dword [esi + 0x18]
xor ecx, ecx
mov dword [esp + 0x38], ecx
xor edi, edi
mov eax, dword [eax + 0x260]
lea edx, [edi + 0xb]
mov eax, dword [eax + 0x10]
test eax, eax
je 0x4073a8
lea ecx, [esp + 0x38]
push ecx
push esi
call eax
mov edx, dword [esi + 0x34]
add esp, 8
mov ecx, dword [esp + 0x38]
mov edi, eax
mov dword [esp + 0x18], edi
test edi, edi
jne 0x407312
test ecx, ecx
je case.0x406bc9.1
xor eax, eax
cmp ecx, 1
sete al
lea eax, [eax*2 + 0xa]
cmp edx, eax
je 0x40718b
mov dword [esi + 0x34], eax
mov eax, dword [eax*4 + 0x45b478]
jmp 0x407181
mov eax, dword [esi + 0x18]
mov edx, 0xc
cmp byte [eax + 0x256], bl
je 0x40740c
mov ebx, dword [ebp + 0x24]
test ebx, ebx
je 0x40740c
push dword [ebx]
push ebp
call fcn.00406470
mov edx, dword [esi + 0x34]
add esp, 8
mov eax, dword [esi + 0x18]
mov ecx, edx
cmp dword [eax + 0x278], 0xffffffff
jne 0x407457
cmp dword [eax + 0x27c], 0xffffffff
jne 0x407457
cmp byte [esi + 0xcee], 0
je 0x407443
mov eax, dword [eax + 0x260]
test dword [eax + 0x50], 0x1000
jne 0x407443
mov eax, dword [esi + 0xd00]
mov byte [eax + 0x20], 7
mov ecx, dword [esi + 0x34]
cmp ecx, 0xf
je 0x407463
mov dword [esi + 0x34], 0xf
or ebx, 0xffffffff
jmp case.0x406bc9.1
cmp edx, 0xd
je 0x407463
mov dword [esi + 0x34], 0xd
or ebx, 0xffffffff
jmp case.0x406bc9.1
push esi
call fcn.00427ac0
add esp, 4
test eax, eax
je 0x407489
mov eax, 0x2a
mov edi, eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x18], edi
jmp 0x4074b2
mov ecx, dword [esp + 0x88]
sub esp, 0x10
mov eax, esp
movups xmm0, xmmword [ecx]
push esi
movups xmmword [eax], xmm0
call fcn.00428ea0
add esp, 0x14
mov dword [esp + 0x30], eax
mov edi, eax
mov dword [esp + 0x18], edi
test eax, eax
je 0x4074eb
mov edx, dword [esi + 0x18]
mov ecx, dword [edx + 0x260]
test byte [ecx + 0x50], 2
jne 0x4074d1
cmp eax, 0x5c
je 0x4074d1
push 2
push edx
call fcn.00419120
add esp, 8
push esi
call fcn.0040b010
push 1
push dword [esp + 0x38]
push esi
call fcn.004064e0
add esp, 0x10
jmp case.0x406bc9.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 0x407557
mov ebp, dword [esp + 0x88]
sub esp, 0x10
mov eax, esp
sub esp, 0x10
movups xmm0, xmmword [ebp]
movups xmmword [eax], xmm0
mov eax, esp
movups xmm0, xmmword [esi + 0x780]
push ecx
push edx
push dword [esi + 0x794]
movups xmmword [eax], xmm0
push dword [esi + 0x790]
push dword [esi + 0x6dc]
push dword [esi + 0x6d8]
call fcn.004273d0
mov ebp, dword [esp + 0xbc]
add esp, 0x38
mov dword [esp + 0x20], edx
jmp 0x407563
mov eax, dword [esp + 0x34]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x30]
mov edx, dword [esi + 0x210]
xorps xmm0, xmm0
mov ecx, dword [esi + 0x214]
mov dword [esp + 0x1c], eax
mov eax, edx
or eax, ecx
movlpd qword [esp + 0x28], xmm0
je 0x4075d1
mov ebp, dword [esp + 0x88]
sub esp, 0x10
mov eax, esp
sub esp, 0x10
movups xmm0, xmmword [ebp]
movups xmmword [eax], xmm0
mov eax, esp
movups xmm0, xmmword [esi + 0x798]
push ecx
push edx
push dword [esi + 0x7ac]
movups xmmword [eax], xmm0
push dword [esi + 0x7a8]
push dword [esi + 0x6d4]
push dword [esi + 0x6d0]
call fcn.004273d0
mov ebp, dword [esp + 0xbc]
add esp, 0x38
mov ecx, eax
jmp 0x4075d9
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x1c]
or eax, dword [esp + 0x20]
jne 0x407616
mov eax, ecx
or eax, edx
jne 0x407616
cmp dword [esi + 0x34], 0xd
je 0x4075f6
mov dword [esi + 0x34], 0xd
mov ecx, dword [esp + 0x88]
sub esp, 0x10
mov eax, esp
movups xmm0, xmmword [ecx]
push esi
movups xmmword [eax], xmm0
call fcn.00427e40
add esp, 0x14
jmp case.0x406bc9.1
cmp dword [esp + 0x20], edx
jl 0x40763b
mov eax, dword [esp + 0x1c]
jg 0x407626
cmp eax, ecx
jb 0x40763b
push 0xb
push dword [esp + 0x24]
push eax
push esi
call fcn.00405040
add esp, 0x10
jmp case.0x406bc9.1
push 0xb
push edx
push ecx
push esi
call fcn.00405040
add esp, 0x10
jmp case.0x406bc9.1
mov edx, dword [esi + 0x208]
xorps xmm0, xmm0
mov ecx, dword [esi + 0x20c]
mov eax, edx
or eax, ecx
mov dword [esp + 0x1c], ebx
mov byte [esp + 0x16], bl
movlpd qword [esp + 0x30], xmm0
je 0x4076c1
mov ebp, dword [esp + 0x88]
sub esp, 0x10
mov eax, esp
sub esp, 0x10
movups xmm0, xmmword [ebp]
movups xmmword [eax], xmm0
mov eax, esp
movups xmm0, xmmword [esi + 0x780]
push ecx
push edx
push dword [esi + 0x794]
movups xmmword [eax], xmm0
push dword [esi + 0x790]
push dword [esi + 0x6dc]
push dword [esi + 0x6d8]
call fcn.004273d0
mov ebp, dword [esp + 0xbc]
add esp, 0x38
mov dword [esp + 0x24], edx
jmp 0x4076cd
mov eax, dword [esp + 0x34]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x30]
mov edx, dword [esi + 0x210]
xorps xmm0, xmm0
mov ecx, dword [esi + 0x214]
mov dword [esp + 0x20], eax
mov eax, edx
or eax, ecx
movlpd qword [esp + 0x28], xmm0
je 0x40773f
mov ebp, dword [esp + 0x88]
sub esp, 0x10
mov eax, esp
sub esp, 0x10
movups xmm0, xmmword [ebp]
movups xmmword [eax], xmm0
mov eax, esp
movups xmm0, xmmword [esi + 0x798]
push ecx
push edx
push dword [esi + 0x7ac]
movups xmmword [eax], xmm0
push dword [esi + 0x7a8]
push dword [esi + 0x6d4]
push dword [esi + 0x6d0]
call fcn.004273d0
mov ebp, dword [esp + 0xbc]
add esp, 0x38
mov ecx, eax
mov dword [esp + 0x28], eax
jmp 0x40774b
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 0x40794c
mov eax, ecx
or eax, edx
jne 0x40794c
push esi
call fcn.0041d4c0
add esp, 4
mov edi, eax
mov dword [esp + 0x18], edi
cmp byte [esi + 0x12e], bl
jne 0x4077c8
cmp edi, 0x38
je 0x4077c8
cmp edi, 0x5c
jne 0x407802
mov ecx, dword [esi + 0x18]
mov eax, dword [ecx + 0x260]
test byte [eax + 0x50], 2
jne 0x4077a7
cmp edi, 0x5c
je 0x4077a7
push 2
push ecx
call fcn.00419120
add esp, 8
push esi
call fcn.0040b010
push 1
push edi
push esi
call fcn.004064e0
add esp, 0x10
push dword [esp + 0x1c]
call dword [0x46c004]
jmp 0x407a74
lea eax, [esp + 0x1c]
push eax
push esi
call fcn.0041d8e0
add esp, 8
test eax, eax
jne 0x4077f8
cmp dword [esp + 0x1c], ebx
setne al
mov byte [esp + 0x16], al
test al, al
je 0x407802
xor edi, edi
mov byte [esi + 0x12e], 1
mov dword [esp + 0x18], edi
jmp 0x407806
test edi, edi
jne 0x407788
mov edi, eax
mov dword [esp + 0x18], edi
test edi, edi
jne 0x407788
cmp byte [esi + 0x12e], bl
je 0x407922
push esi
call fcn.00418590
add esp, 4
test al, al
jne 0x407922
push esi
call fcn.0040b010
add esp, 4
cmp byte [esp + 0x16], bl
jne 0x4078d8
cmp dword [esi + 0x120], ebx
jne 0x4078b4
cmp dword [esi + 0x11c], ebx
je 0x407895
push dword [esp + 0x1c]
call dword [0x46c004]
mov eax, dword [esi + 0x11c]
push 1
push eax
push esi
mov dword [esp + 0x2c], eax
mov dword [esi + 0x11c], ebx
call fcn.0041cb70
mov edi, eax
add esp, 0x10
mov dword [esp + 0x18], edi
test edi, edi
je 0x407895
push 1
push edi
push esi
mov byte [esp + 0x1e], 1
call fcn.004064e0
mov edi, eax
add esp, 0xc
mov dword [esp + 0x18], edi
test edi, edi
jne 0x4077b9
cmp dword [esi + 0x34], 0xf
je 0x4078a2
mov dword [esi + 0x34], 0xf
push dword [esp + 0x1c]
or ebx, 0xffffffff
call dword [0x46c004]
jmp 0x407a74
push dword [esp + 0x1c]
call dword [0x46c004]
mov eax, dword [esi + 0x120]
add esp, 4
mov dword [esp + 0x1c], eax
mov edi, 3
mov dword [esi + 0x120], ebx
jmp 0x4078dd
mov edi, 2
push 0
push 0
push esi
call fcn.004064e0
push edi
push dword [esp + 0x2c]
push esi
call fcn.0041cb70
mov edi, eax
add esp, 0x18
mov dword [esp + 0x18], edi
test edi, edi
jne 0x4077b9
cmp dword [esi + 0x34], 2
je 0x407910
mov dword [esi + 0x34], 2
push dword [esp + 0x1c]
or ebx, 0xffffffff
call dword [0x46c004]
jmp 0x407a74
cmp byte [esi + 0xce7], bl
je 0x4077b9
push 8
push 0
push 0
push esi
call fcn.00405040
add esp, 0x10
push dword [esp + 0x1c]
call dword [0x46c004]
jmp 0x407a74
mov ecx, dword [esp + 0x88]
sub esp, 0x10
mov eax, esp
movups xmm0, xmmword [ecx]
push esi
movups xmmword [eax], xmm0
call fcn.00427e40
add esp, 0x14
cmp dword [esi + 0x34], 0xe
je 0x407974
mov dword [esi + 0x34], 0xe
mov ecx, dword [esp + 0x24]
cmp ecx, dword [esp + 0x30]
jl 0x40799e
mov eax, dword [esp + 0x20]
jg 0x4079a8
mov edx, dword [esp + 0x28]
cmp eax, edx
jb 0x4079a2
push 0xb
push ecx
push eax
push esi
call fcn.00405040
add esp, 0x10
jmp case.0x406bc9.1
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x30]
mov eax, edx
push 0xb
push ecx
push eax
push esi
call fcn.00405040
add esp, 0x10
jmp case.0x406bc9.1
mov eax, dword [esi + 0x18]
or ebx, 0xffffffff
test eax, eax
je 0x4079f4
cmp byte [eax + 0x256], 0
je 0x4079df
mov eax, dword [ebp + 0x24]
test eax, eax
je 0x4079df
push dword [eax]
push ebp
call fcn.00406470
add esp, 8
push 0
push edi
push esi
call fcn.004064e0
add esp, 0xc
test edi, edi
cmove edi, eax
mov dword [esp + 0x18], edi
cmp byte [esi + 0xcee], 0
je 0x407a18
mov eax, dword [esi + 0xd00]
cmp byte [eax + 0x20], 7
je 0x407a18
cmp dword [esi + 0x34], 0
je case.0x406bc9.1
mov dword [esi + 0x34], 0
jmp case.0x406bc9.1
cmp dword [esi + 0x34], 0x10
je case.0x406bc9.1
mov eax, dword [esi + 0x7c]
mov dword [esi + 0x34], 0x10
dec dword [eax + 0x10]
mov eax, dword [esi + 0x7c]
cmp dword [eax + 0x10], 0
jne 0x407a3d
push eax
call fcn.00408590
add esp, 4
mov eax, dword [esi + 0x18]
mov dword [esp + 0x30], eax
test eax, eax
je 0x407a67
push esi
push eax
call fcn.00416540
push 0
lea eax, [esi + 0x28]
push eax
mov eax, dword [esp + 0x40]
add eax, 0x2b4
push eax
call fcn.0041f8c0
add esp, 0x14
push esi
mov dword [esi + 0x18], 0
call fcn.00405250
add esp, 4
mov eax, dword [esi + 0x34]
sub eax, 3
cmp eax, 5
ja 0x407ab0
cmp ebx, 0xffffffff
je 0x407ab0
cmp byte [ebp + 0x116], 0
jne 0x407ab0
push 0
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x1a]
push eax
push dword [esp + 0x94]
push esi
call fcn.00406910
mov edi, dword [esp + 0x2c]
add esp, 0x14
mov eax, dword [esi + 0x34]
cmp eax, 0x10
jge 0x407c08
test edi, edi
je 0x407b91
mov ecx, dword [ebp + 0x24]
test ecx, ecx
je 0x407ad9
push dword [ecx]
push ebp
call fcn.00406470
mov eax, dword [esi + 0x34]
add esp, 8
mov ebx, dword [esi + 0x18]
test ebx, ebx
je 0x407b28
cmp byte [esp + 0x12], 0
je 0x407b36
cmp edi, 0x1c
push esi
push ebx
sete byte [esp + 0x44]
call fcn.00416540
push 0
lea eax, [esi + 0x28]
push eax
lea eax, [ebx + 0x2b4]
push eax
call fcn.0041f8c0
push 1
push ebx
push esi
mov dword [esi + 0x18], 0
call fcn.0040efa0
push dword [esp + 0x5c]
push ebx
push esi
call fcn.00412770
add esp, 0x2c
jmp 0x407b36
cmp eax, 3
jne 0x407b36
push esi
call fcn.0040b010
add esp, 4
cmp dword [esi + 0x34], 0x10
je 0x407c05
mov eax, dword [esi + 0x7c]
mov dword [esi + 0x34], 0x10
dec dword [eax + 0x10]
mov eax, dword [esi + 0x7c]
cmp dword [eax + 0x10], 0
jne 0x407b5f
push eax
call fcn.00408590
add esp, 4
mov ebx, dword [esi + 0x18]
test ebx, ebx
je 0x407b82
push esi
push ebx
call fcn.00416540
push 0
lea eax, [esi + 0x28]
push eax
lea eax, [ebx + 0x2b4]
push eax
call fcn.0041f8c0
add esp, 0x14
push esi
mov dword [esi + 0x18], 0
call fcn.00405250
jmp 0x407c02
cmp dword [esi + 0x18], 0
je 0x407c08
push esi
call fcn.00427ac0
add esp, 4
test eax, eax
je 0x407c08
push 2
push dword [esi + 0x18]
mov edi, 0x2a
mov dword [esp + 0x20], edi
call fcn.00419120
mov ebx, dword [esi + 0x34]
xor eax, eax
add esp, 8
cmp ebx, 0xf
setge al
add eax, 0xf
cmp ebx, eax
je 0x407c05
mov dword [esi + 0x34], eax
cmp ebx, 0xf
jl 0x407bec
mov eax, dword [esi + 0x7c]
dec dword [eax + 0x10]
mov eax, dword [esi + 0x7c]
cmp dword [eax + 0x10], 0
jne 0x407bec
push eax
call fcn.00408590
add esp, 4
xor eax, eax
cmp ebx, 0xf
setge al
mov eax, dword [eax*4 + 0x45b4b4]
test eax, eax
je 0x407c05
push esi
call eax
add esp, 4
or ebx, 0xffffffff
cmp dword [esi + 0x34], 0x10
je 0x407c31
cmp ebx, 0xffffffff
je 0x406b50
cmp byte [ebp + 0x116], 0
jne 0x406b50
mov dword [esi + 0x38], edi
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x70
ret
mov eax, dword [esi + 0x648]
test eax, eax
je 0x407c44
push edi
push esi
call eax
add esp, 8
jmp 0x407c62
lea eax, [esi + 0x3c]
mov dword [eax + 0xc], 1
push eax
push eax
mov dword [eax + 0x10], esi
mov dword [eax + 0x14], edi
lea eax, [ebp + 0x14]
push eax
call fcn.0041f700
add esp, 0xc
cmp dword [esi + 0x34], 0x11
je 0x407c6f
mov dword [esi + 0x34], 0x11
lea eax, [esi + 0x1c]
push eax
lea eax, [ebp + 0x34]
push esi
push eax
call fcn.0041f700
push esi
push ebp
call fcn.00408ac0
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x70
ret
mov eax, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x70
ret
pop edi
pop esi
pop ebp
mov eax, 2
pop ebx
add esp, 0x70
ret