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

Disassembly:
sub esp, 0x74
push ebx
push ebp
push esi
mov esi, dword [esp + 0x8c]
push edi
xor edi, edi
mov byte [esp + 0x13], 0
mov byte [esp + 0x1c], 0
mov byte [esp + 0x1e], 0
mov dword [esp + 0x14], edi
test esi, esi
je 0x408738
cmp dword [esi], 0xc0dedbad
jne 0x408738
mov ecx, dword [esp + 0x88]
cmp byte [ecx + 0x108], 0
je 0x407540
mov edi, 0x2a
push esi
mov dword [esp + 0x18], edi
call fcn.0040bcd0
push 0
push edi
push esi
call fcn.00406f10
add esp, 0x10
cmp dword [esi + 0x34], 0xf
je 0x407538
mov eax, dword [esi + 0x7c]
mov dword [esi + 0x34], 0xf
dec dword [eax + 0x10]
mov ebx, dword [esi + 0x18]
test ebx, ebx
je 0x407528
push esi
push ebx
call fcn.00417100
push 0
lea eax, [esi + 0x28]
push eax
lea eax, [ebx + 0x21c]
push eax
call fcn.0041fad0
add esp, 0x14
push esi
mov dword [esi + 0x18], 0
call fcn.00406080
add esp, 4
mov ecx, dword [esp + 0x88]
nop
mov al, byte [ecx + 0x106]
xor ebp, ebp
mov byte [esp + 0x12], 0
mov byte [ecx + 0x106], 0
test al, al
je 0x407561
push ecx
call fcn.00408fb0
add esp, 4
mov ecx, dword [esi + 0x34]
lea eax, [ecx - 3]
cmp eax, 0xb
ja 0x40757a
cmp dword [esi + 0x18], ebp
je case.default.0x4075be
lea ebx, [esi + 0x18]
jmp 0x407582
cmp dword [esi + 0x18], ebp
lea ebx, [esi + 0x18]
je 0x4075b2
lea eax, [ecx - 2]
cmp eax, 0xc
ja 0x4075b2
push 0
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x1a]
push eax
push dword [esp + 0x98]
push esi
call fcn.00407330
mov edi, dword [esp + 0x28]
add esp, 0x14
test al, al
jne 0x40855f
mov ecx, dword [esi + 0x34]
cmp ecx, 0x10
ja case.default.0x4075be
jmp dword [ecx*4 + 0x408748]
push esi
call fcn.0041e700
mov edi, eax
add esp, 4
mov dword [esp + 0x14], edi
test edi, edi
jne case.0x4075be.1
cmp dword [esi + 0x34], 2
je 0x4075f2
push esi
mov dword [esi + 0x34], 2
call fcn.0041e650
add esp, 4
push 1
lea eax, [esp + 0x48]
push esi
push eax
call fcn.004281f0
mov edx, dword [esp + 0x98]
add esp, 0xc
or ebp, 0xffffffff
movups xmm0, xmmword [eax]
movups xmmword [edx], xmm0
jmp 0x408520
cmp dword [esi + 0x8bc], ebp
jne 0x407648
mov eax, dword [esi + 0x4a0]
inc eax
push eax
call dword [section..data]
add esp, 4
mov dword [esi + 0x8bc], eax
test eax, eax
jne 0x407648
mov edi, 0x1b
mov dword [esp + 0x14], edi
jmp case.0x4075be.1
push 2
lea eax, [esp + 0x58]
push esi
push eax
call fcn.004281f0
add esp, 0xc
movups xmm0, xmmword [eax]
mov eax, dword [esp + 0x8c]
movups xmmword [eax], xmm0
mov eax, dword [esi + 0x1e0]
test eax, eax
je 0x40767d
push 0xa
push 0
push eax
push esi
call fcn.00405e70
add esp, 0x10
mov eax, dword [esi + 0x1e4]
test eax, eax
je 0x407695
push 2
push 0
push eax
push esi
call fcn.00405e70
add esp, 0x10
lea eax, [esp + 0x1d]
push eax
lea eax, [esp + 0x2b]
push eax
push esi
call fcn.00412630
mov edi, eax
add esp, 0xc
mov dword [esp + 0x14], edi
cmp edi, 0x59
jne 0x40771f
cmp dword [esi + 0x34], 1
je 0x4076c0
mov dword [esi + 0x34], 1
mov edi, dword [esp + 0x88]
lea eax, [esi + 0x1c]
push eax
push esi
push dword [edi + 0x28]
lea eax, [edi + 0x24]
push eax
call fcn.0041fa50
mov ecx, dword [esi + 0x14]
add esp, 0x10
mov eax, dword [esi + 0x10]
test ecx, ecx
je 0x4076ea
mov dword [ecx + 0x10], eax
jmp 0x4076ed
mov dword [edi + 4], eax
mov ecx, dword [esi + 0x10]
mov eax, dword [esi + 0x14]
test ecx, ecx
je 0x40770b
mov dword [ecx + 0x14], eax
xor edi, edi
mov dword [esi + 0x10], ebp
mov dword [esi + 0x14], ebp
mov dword [esp + 0x14], edi
jmp case.0x4075be.1
mov dword [edi + 8], eax
xor edi, edi
mov dword [esi + 0x10], ebp
mov dword [esi + 0x14], ebp
mov dword [esp + 0x14], edi
jmp case.0x4075be.1
cmp byte [esi + 0xd80], 0
je 0x40773e
push str.Transfer_was_pending__now_try_another
push esi
call fcn.00417a00
push dword [esi + 0x7c]
call fcn.00408fb0
add esp, 0xc
test edi, edi
jne case.0x4075be.1
push 3
lea eax, [esp + 0x68]
push esi
push eax
call fcn.004281f0
mov edx, dword [esp + 0x98]
add esp, 0xc
cmp byte [esp + 0x27], 0
movups xmm0, xmmword [eax]
movups xmmword [edx], xmm0
mov eax, dword [esi + 0x34]
je 0x407782
cmp eax, 3
je 0x408520
mov dword [esi + 0x34], 3
jmp 0x408520
or ebp, 0xffffffff
cmp byte [esp + 0x1d], 0
je 0x407889
cmp eax, 6
je 0x408520
mov dword [esi + 0x34], 6
jmp 0x408520
mov eax, dword [ebx]
mov dword [esp + 0x18], ebp
cmp byte [eax + 0x1a8], 0
je 0x4077b9
mov ebp, dword [eax + 0x78]
jmp 0x4077ca
cmp byte [eax + 0x1b1], 0
je 0x4077c7
mov ebp, dword [eax + 0x48]
jmp 0x4077ca
mov ebp, dword [eax + 0x30]
push dword [eax + 0x410]
push ebp
push esi
call fcn.00420270
add esp, 0xc
mov dword [esp + 0x18], eax
test eax, eax
je 0x40780a
push ebp
push 0x45b4cc
xor edi, edi
mov dword [esi + 0x994], eax
push esi
mov byte [esi + 0x9a8], 1
mov dword [esp + 0x20], edi
call fcn.00417a00
add esp, 0xc
cmp dword [esp + 0x18], edi
jne 0x40781e
lea eax, [esp + 0x18]
push eax
push esi
call fcn.00420e60
mov edi, eax
add esp, 8
mov dword [esp + 0x14], edi
push esi
push dword [esp + 0x8c]
call fcn.00409230
mov ebp, eax
add esp, 8
test ebp, ebp
jne 0x4086ad
cmp dword [esp + 0x18], eax
je 0x407858
lea eax, [esp + 0x1d]
push eax
push esi
call fcn.004208b0
mov edi, eax
add esp, 8
mov dword [esp + 0x14], edi
test edi, edi
je 0x407871
mov dword [ebx], ebp
mov edx, dword [esp + 0x8c]
test edi, edi
je 0x408520
mov byte [esp + 0x12], 1
jmp 0x408520
mov eax, dword [esi + 0x34]
or ebp, 0xffffffff
cmp byte [esp + 0x1d], 0
mov edx, dword [esp + 0x8c]
jne 0x407790
cmp eax, 4
je 0x408520
mov dword [esi + 0x34], 4
jmp 0x408520
lea eax, [esp + 0x13]
push eax
push esi
call fcn.004225b0
mov edi, eax
add esp, 8
mov eax, dword [ebx]
mov dword [esp + 0x14], edi
cmp byte [eax + 0x1ac], 0
je 0x4078ed
xor edi, edi
or ebp, 0xffffffff
push edi
push edi
push esi
mov dword [esp + 0x20], edi
call fcn.00406f10
add esp, 0xc
cmp dword [esi + 0x34], 2
je case.0x4075be.1
push esi
mov dword [esi + 0x34], 2
call fcn.0041e650
jmp 0x408516
test edi, edi
jne 0x407954
mov edx, dword [esp + 0x8c]
or ebp, 0xffffffff
cmp dword [esi + 0x34], 6
jmp 0x407793
lea eax, [esp + 0x1d]
push eax
push 0
push 0
push esi
call fcn.00416f80
add esp, 0x10
mov edi, eax
cmp byte [esp + 0x1d], 0
mov dword [esp + 0x14], edi
je 0x40793a
test edi, edi
jne 0x407942
mov edx, dword [esp + 0x8c]
or ebp, 0xffffffff
cmp dword [esi + 0x34], 6
jmp 0x407793
test edi, edi
je case.0x4075be.1
push esi
call fcn.0040bcd0
push 1
push edi
push esi
call fcn.00406f10
add esp, 0x10
mov byte [esp + 0x12], 1
jmp case.0x4075be.1
cmp byte [esi + 0xd87], 0
mov ecx, 6
je 0x40797e
push esi
call fcn.00409060
mov ecx, dword [esi + 0x34]
mov edi, eax
add esp, 4
mov dword [esp + 0x14], edi
mov eax, dword [ebx]
mov dword [esp + 0x18], eax
test edi, edi
jne 0x407942
cmp byte [eax + 0x1af], 0
je 0x4079a5
cmp ecx, 8
je 0x40799d
mov dword [esi + 0x34], 8
or ebp, 0xffffffff
jmp case.0x4075be.1
test edi, edi
jne 0x407942
push edi
push eax
mov byte [esp + 0x1b], 0
call fcn.004174b0
add esp, 8
test al, al
mov eax, dword [esp + 0x18]
je 0x4079ec
cmp byte [eax + 0x1b6], 0
je 0x4079f5
mov eax, dword [eax + 0x1c8]
movzx ecx, byte [esp + 0x13]
mov dword [esp + 0x14], edi
cmp dword [eax + 0x18], edi
mov eax, 1
cmove ecx, eax
mov eax, dword [esi + 0x34]
mov byte [esp + 0x13], cl
jmp 0x407a38
cmp byte [eax + 0x1b6], 0
jne 0x407a25
mov eax, dword [eax + 0x1c8]
mov eax, dword [eax + 0x14]
test eax, eax
je 0x407a15
lea ecx, [esp + 0x13]
push ecx
push esi
call eax
mov edi, eax
add esp, 8
test edi, edi
jne 0x407a25
jmp 0x407a1a
mov byte [esp + 0x13], 1
mov eax, dword [esp + 0x18]
mov byte [eax + 0x1b6], 1
mov eax, dword [esi + 0x34]
mov dword [esp + 0x14], edi
test edi, edi
jne 0x407942
mov cl, byte [esp + 0x13]
test cl, cl
jne 0x407a50
cmp eax, 7
je 0x407a48
mov dword [esi + 0x34], 7
or ebp, 0xffffffff
jmp case.0x4075be.1
cmp eax, 8
jmp 0x407994
mov ecx, dword [ebx]
test ecx, ecx
je 0x407a99
mov eax, dword [ecx + 0x1c8]
cmp dword [eax + 0x18], ebp
je 0x407a99
mov byte [esp + 0x13], 0
mov eax, dword [ecx + 0x1c8]
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 + 0x14], edi
test edi, edi
jne 0x407942
mov al, byte [esp + 0x13]
jmp 0x407aaa
mov al, 1
xor edi, edi
mov byte [esp + 0x13], al
mov ecx, 7
mov dword [esp + 0x14], edi
test al, al
je case.0x4075be.1
jmp 0x407991
mov edx, 8
cmp dword [esi + 0x1bc], ebp
je 0x407b65
mov eax, dword [esi + 0x80]
test eax, eax
jne 0x407ad9
mov eax, dword [esi + 0x7c]
test eax, eax
je 0x407ae0
mov byte [eax + 0x107], 1
push dword [esi + 0xe44]
lea eax, [esi + 0xe14]
push dword [esi + 0xe0c]
push eax
lea eax, [esi + 0xddc]
push eax
push dword [esi + 0x1c0]
mov eax, dword [esi + 0x1bc]
call eax
mov ecx, dword [esi + 0x80]
add esp, 0x14
mov edx, eax
test ecx, ecx
je 0x407b20
mov byte [ecx + 0x107], 0
jmp 0x407b2e
mov eax, dword [esi + 0x7c]
test eax, eax
je 0x407b2e
mov byte [eax + 0x107], 0
test edx, edx
je 0x407b62
push str.operation_aborted_by_pre_request_callback
push esi
call fcn.00417930
mov edi, 0x2a
push esi
mov dword [esp + 0x20], edi
call fcn.0040bcd0
push 0
push edi
push esi
call fcn.00406f10
add esp, 0x18
mov byte [esp + 0x12], 1
jmp case.0x4075be.1
mov edx, dword [esi + 0x34]
cmp byte [esi + 0x6a5], 1
mov ecx, dword [ebx]
jne 0x407b96
push 0
push ecx
call fcn.00418e70
add esp, 8
cmp dword [esi + 0x34], 0xe
je 0x407b88
mov dword [esi + 0x34], 0xe
xor edi, edi
or ebp, 0xffffffff
mov dword [esp + 0x14], edi
jmp case.0x4075be.1
mov eax, dword [ecx + 0x1c8]
xor edi, edi
mov eax, dword [eax + 8]
test eax, eax
je 0x407bb7
lea ecx, [esp + 0x1c]
push ecx
push esi
call eax
mov ecx, dword [ebx]
add esp, 8
mov edx, dword [esi + 0x34]
mov edi, eax
mov dword [esp + 0x14], edi
test edi, edi
jne 0x407ca2
cmp byte [esp + 0x1c], 0
jne 0x407c52
cmp byte [esi + 0xd7a], 0
je 0x407c3a
mov eax, dword [esi + 0xd90]
mov al, byte [eax + 0x20]
cmp al, 7
je 0x407be8
cmp al, 5
jne 0x407c3a
push 0
push 0
push esi
call fcn.00406f10
mov ecx, dword [ebx]
add esp, 0xc
mov eax, ecx
neg eax
sbb eax, eax
add eax, 0xf
cmp dword [esi + 0x34], eax
je 0x40799d
mov dword [esi + 0x34], eax
test ecx, ecx
jne 0x407c16
mov eax, dword [esi + 0x7c]
dec dword [eax + 0x10]
xor eax, eax
test ecx, ecx
sete al
mov eax, dword [eax*4 + 0x45b278]
test eax, eax
je 0x40799d
push esi
call eax
add esp, 4
or ebp, 0xffffffff
jmp case.0x4075be.1
cmp edx, 9
je 0x40799d
mov dword [esi + 0x34], 9
or ebp, 0xffffffff
jmp case.0x4075be.1
cmp byte [ecx + 0x1b5], 0
je 0x407c73
cmp edx, 0xa
je 0x40799d
mov dword [esi + 0x34], 0xa
or ebp, 0xffffffff
jmp case.0x4075be.1
cmp edx, 0xb
je 0x40799d
push 7
lea eax, [esp + 0x78]
mov dword [esi + 0x34], 0xb
push esi
push eax
mov byte [esi + 0x142], 0
call fcn.004281f0
add esp, 0xc
or ebp, 0xffffffff
jmp case.0x4075be.1
cmp edi, 0x37
jne 0x407d60
cmp byte [ecx + 0x1af], 0
je 0x407d60
lea eax, [esp + 0x18]
mov dword [esp + 0x18], ebp
push eax
push esi
call fcn.0041ee20
add esp, 8
test eax, eax
je 0x407cd9
mov edi, eax
mov byte [esp + 0x12], 1
mov dword [esp + 0x14], edi
push esi
call fcn.0040bcd0
push 0
push edi
push esi
call fcn.00406f10
mov ecx, dword [esp + 0x28]
add esp, 0x10
test ecx, ecx
je 0x407d4f
test eax, eax
je 0x407d0e
cmp eax, 0x37
je 0x407d0e
mov edi, eax
push ecx
mov dword [esp + 0x18], edi
call dword [0x469004]
jmp 0x408516
push 2
push ecx
push esi
call fcn.0041e130
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x407d3b
cmp dword [esi + 0x34], 2
je 0x407d36
push esi
mov dword [esi + 0x34], 2
call fcn.0041e650
add esp, 4
or ebp, 0xffffffff
xor edi, edi
mov ecx, dword [esp + 0x18]
push ecx
mov dword [esp + 0x18], edi
call dword [0x469004]
jmp 0x408516
push ecx
mov byte [esp + 0x16], 1
call dword [0x469004]
jmp 0x408516
push esi
call fcn.0040bcd0
add esp, 4
cmp dword [ebx], ebp
je 0x407954
push 0
push edi
push esi
call fcn.00406f10
add esp, 0xc
mov byte [esp + 0x12], 1
jmp case.0x4075be.1
mov ecx, dword [ebx]
test ecx, ecx
je 0x407ddc
mov eax, dword [ecx + 0x1c8]
cmp dword [eax + 0x1c], ebp
je 0x407ddc
mov byte [esp + 0x1c], 0
mov eax, dword [ecx + 0x1c8]
lea ecx, [esp + 0x1c]
push ecx
push esi
mov eax, dword [eax + 0x1c]
call eax
mov edx, dword [esi + 0x34]
mov edi, eax
mov ecx, dword [ebx]
add esp, 8
mov dword [esp + 0x14], edi
test edi, edi
je 0x407dec
push esi
call fcn.0040bcd0
push 0
push edi
push esi
call fcn.00406f10
add esp, 0x10
mov byte [esp + 0x12], 1
jmp case.0x4075be.1
xor edi, edi
mov byte [esp + 0x1c], 1
mov edx, 9
mov dword [esp + 0x14], edi
cmp byte [esp + 0x1c], 0
je case.0x4075be.1
mov cl, byte [ecx + 0x1b5]
xor eax, eax
test cl, cl
sete al
add eax, 0xa
cmp edx, eax
je 0x40799d
mov dword [esi + 0x34], eax
xor eax, eax
test cl, cl
sete al
mov eax, dword [eax*4 + 0x45b268]
test eax, eax
je 0x40799d
push esi
call eax
add esp, 4
or ebp, 0xffffffff
jmp case.0x4075be.1
mov eax, dword [ebx]
xor ecx, ecx
mov dword [esp + 0x3c], ecx
xor edi, edi
mov eax, dword [eax + 0x1c8]
lea edx, [edi + 0xa]
mov eax, dword [eax + 0x10]
test eax, eax
je 0x407e64
lea ecx, [esp + 0x3c]
push ecx
push esi
call eax
mov edx, dword [esi + 0x34]
add esp, 8
mov ecx, dword [esp + 0x3c]
mov edi, eax
mov dword [esp + 0x14], edi
test edi, edi
jne 0x407dc0
test ecx, ecx
je case.0x4075be.1
xor eax, eax
cmp ecx, 1
sete al
lea eax, [eax*2 + 9]
cmp edx, eax
je 0x40799d
mov dword [esi + 0x34], eax
mov eax, dword [eax*4 + 0x45b240]
test eax, eax
je 0x40799d
push esi
call eax
add esp, 4
or ebp, 0xffffffff
jmp case.0x4075be.1
mov eax, dword [ebx]
mov edx, 0xb
cmp byte [eax + 0x1bf], 0
je 0x407ed5
push dword [esp + 0x88]
call fcn.00408fb0
mov edx, dword [esi + 0x34]
add esp, 4
mov eax, dword [ebx]
mov ecx, edx
cmp dword [eax + 0x1e0], 0xffffffff
jne 0x407f24
cmp dword [eax + 0x1e4], 0xffffffff
jne 0x407f24
cmp byte [esi + 0xd7a], 0
je 0x407f0c
mov eax, dword [eax + 0x1c8]
test dword [eax + 0x4c], 0x1000
jne 0x407f0c
mov eax, dword [esi + 0xd90]
mov byte [eax + 0x20], 7
mov ecx, dword [esi + 0x34]
cmp ecx, 0xe
je 0x40799d
mov dword [esi + 0x34], 0xe
or ebp, 0xffffffff
jmp case.0x4075be.1
cmp edx, 0xc
je 0x40799d
mov dword [esi + 0x34], 0xc
or ebp, 0xffffffff
jmp case.0x4075be.1
push esi
call fcn.00428520
add esp, 4
test eax, eax
je 0x407f5a
mov eax, 0x2a
mov edi, eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x14], edi
jmp 0x407f83
mov ecx, dword [esp + 0x8c]
sub esp, 0x10
mov eax, esp
movups xmm0, xmmword [ecx]
push esi
movups xmmword [eax], xmm0
call fcn.00429900
add esp, 0x14
mov dword [esp + 0x28], eax
mov edi, eax
mov dword [esp + 0x14], edi
test eax, eax
je 0x407fbb
mov edx, dword [ebx]
mov ecx, dword [edx + 0x1c8]
test byte [ecx + 0x4c], 2
jne 0x407fa1
cmp eax, 0x5c
je 0x407fa1
push 2
push edx
call fcn.00418e70
add esp, 8
push esi
call fcn.0040bcd0
push 1
push dword [esp + 0x30]
push esi
call fcn.00406f10
add esp, 0x10
jmp case.0x4075be.1
mov eax, dword [esi + 0x210]
xorps xmm0, xmm0
mov ecx, dword [esi + 0x214]
or eax, ecx
movlpd qword [esp + 0x28], xmm0
je 0x408023
mov edx, dword [esp + 0x8c]
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 + 0x7b8]
push ecx
push edx
push dword [esi + 0x7cc]
movups xmmword [eax], xmm0
push dword [esi + 0x7c8]
push dword [esi + 0x714]
push dword [esi + 0x710]
call fcn.00427e30
add esp, 0x38
mov dword [esp + 0x20], edx
jmp 0x40802f
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x28]
mov ecx, dword [esi + 0x21c]
xorps xmm0, xmm0
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x218]
or eax, ecx
movlpd qword [esp + 0x30], xmm0
je 0x408099
mov edx, dword [esp + 0x8c]
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 + 0x70c]
push dword [esi + 0x708]
call fcn.00427e30
add esp, 0x38
mov ecx, eax
jmp 0x4080a1
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x18]
or eax, dword [esp + 0x20]
jne 0x4080de
mov eax, ecx
or eax, edx
jne 0x4080de
cmp dword [esi + 0x34], 0xc
je 0x4080be
mov dword [esi + 0x34], 0xc
mov ecx, dword [esp + 0x8c]
sub esp, 0x10
mov eax, esp
movups xmm0, xmmword [ecx]
push esi
movups xmmword [eax], xmm0
call fcn.004288a0
add esp, 0x14
jmp case.0x4075be.1
cmp dword [esp + 0x20], edx
jl 0x408103
mov eax, dword [esp + 0x18]
jg 0x4080ee
cmp eax, ecx
jb 0x408103
push 0xb
push dword [esp + 0x24]
push eax
push esi
call fcn.00405e70
add esp, 0x10
jmp case.0x4075be.1
push 0xb
push edx
push ecx
push esi
call fcn.00405e70
add esp, 0x10
jmp case.0x4075be.1
mov eax, dword [esi + 0x210]
xorps xmm0, xmm0
mov ecx, dword [esi + 0x214]
or eax, ecx
mov dword [esp + 0x18], ebp
mov byte [esp + 0x1f], 0
movlpd qword [esp + 0x28], xmm0
je 0x408186
mov edx, dword [esp + 0x8c]
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 + 0x7b8]
push ecx
push edx
push dword [esi + 0x7cc]
movups xmmword [eax], xmm0
push dword [esi + 0x7c8]
push dword [esi + 0x714]
push dword [esi + 0x710]
call fcn.00427e30
add esp, 0x38
mov dword [esp + 0x38], edx
jmp 0x408192
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x28]
mov ecx, dword [esi + 0x21c]
xorps xmm0, xmm0
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0x218]
or eax, ecx
movlpd qword [esp + 0x30], xmm0
je 0x408200
mov edx, dword [esp + 0x8c]
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 + 0x70c]
push dword [esi + 0x708]
call fcn.00427e30
add esp, 0x38
mov dword [esp + 0x30], eax
mov ecx, eax
jmp 0x40820c
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
mov dword [esp + 0x30], ecx
mov eax, dword [esp + 0x20]
or eax, dword [esp + 0x38]
mov dword [esp + 0x28], edx
jne 0x4083ff
mov eax, ecx
or eax, edx
jne 0x4083ff
lea eax, [esp + 0x1e]
push eax
push esi
call fcn.0041eaa0
add esp, 8
mov edi, eax
cmp byte [esp + 0x1e], 0
mov dword [esp + 0x14], edi
jne 0x408286
cmp edi, 0x38
je 0x408286
cmp edi, 0x5c
jne 0x408312
mov ecx, dword [ebx]
mov eax, dword [ecx + 0x1c8]
test byte [eax + 0x4c], 2
jne 0x40826f
cmp edi, 0x5c
je 0x40826f
push 2
push ecx
call fcn.00418e70
add esp, 8
push esi
call fcn.0040bcd0
push 1
push edi
push esi
call fcn.00406f10
add esp, 0x10
jmp case.0x4075be.1
lea eax, [esp + 0x18]
push eax
push esi
call fcn.0041ee20
add esp, 8
test eax, eax
jne 0x408304
cmp dword [esp + 0x18], ebp
setne al
mov byte [esp + 0x1f], al
test al, al
je 0x408312
push esi
mov byte [esp + 0x22], 1
call fcn.0040bcd0
add esp, 4
mov edi, 2
push 0
push 0
push esi
call fcn.00406f10
push edi
push dword [esp + 0x28]
push esi
call fcn.0041e130
mov edi, eax
add esp, 0x18
mov dword [esp + 0x14], edi
test edi, edi
jne 0x4082f5
cmp dword [esi + 0x34], 2
je 0x4082f2
push esi
mov dword [esi + 0x34], 2
call fcn.0041e650
add esp, 4
or ebp, 0xffffffff
push dword [esp + 0x18]
call dword [0x469004]
jmp 0x408516
test edi, edi
jne 0x408251
mov edi, eax
mov dword [esp + 0x14], edi
test edi, edi
jne 0x408251
cmp byte [esp + 0x1e], 0
je 0x4083de
push esi
call fcn.0040bcd0
add esp, 4
cmp byte [esp + 0x1f], 0
jne 0x4082b5
cmp dword [esi + 0x110], ebp
jne 0x4083b7
cmp dword [esi + 0x10c], ebp
je 0x40839e
push dword [esp + 0x18]
call dword [0x469004]
mov eax, dword [esi + 0x10c]
push 1
push eax
push esi
mov dword [esp + 0x28], eax
mov dword [esi + 0x10c], ebp
call fcn.0041e130
push dword [esp + 0x28]
mov edi, eax
mov dword [esp + 0x28], edi
call dword [0x469004]
add esp, 0x14
test edi, edi
je 0x40839e
push 1
push edi
push esi
mov byte [esp + 0x1e], 1
call fcn.00406f10
mov edi, eax
add esp, 0xc
mov dword [esp + 0x14], edi
test edi, edi
jne case.0x4075be.1
cmp dword [esi + 0x34], 0xe
je 0x40799d
mov dword [esi + 0x34], 0xe
or ebp, 0xffffffff
jmp case.0x4075be.1
push dword [esp + 0x18]
call dword [0x469004]
mov eax, dword [esi + 0x110]
add esp, 4
mov dword [esp + 0x18], eax
mov edi, 3
mov dword [esi + 0x110], ebp
jmp 0x4082ba
cmp byte [esi + 0xd73], 0
je case.0x4075be.1
push 8
push 0
push 0
push esi
call fcn.00405e70
add esp, 0x10
jmp case.0x4075be.1
mov ecx, dword [esp + 0x8c]
sub esp, 0x10
mov eax, esp
movups xmm0, xmmword [ecx]
push esi
movups xmmword [eax], xmm0
call fcn.004288a0
add esp, 0x14
cmp dword [esi + 0x34], 0xd
je 0x408427
mov dword [esi + 0x34], 0xd
mov ecx, dword [esp + 0x38]
cmp ecx, dword [esp + 0x28]
jl 0x408451
mov eax, dword [esp + 0x20]
jg 0x40845b
mov edx, dword [esp + 0x30]
cmp eax, edx
jb 0x408455
push 0xb
push ecx
push eax
push esi
call fcn.00405e70
add esp, 0x10
jmp case.0x4075be.1
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x28]
mov eax, edx
push 0xb
push ecx
push eax
push esi
call fcn.00405e70
add esp, 0x10
jmp case.0x4075be.1
mov eax, dword [ebx]
or ebp, 0xffffffff
test eax, eax
je 0x4084a3
cmp byte [eax + 0x1bf], 0
je 0x40848e
push dword [esp + 0x88]
call fcn.00408fb0
add esp, 4
push 0
push edi
push esi
call fcn.00406f10
add esp, 0xc
test edi, edi
cmove edi, eax
mov dword [esp + 0x14], edi
cmp byte [esi + 0xd7a], 0
je 0x4084ce
mov eax, dword [esi + 0xd90]
cmp byte [eax + 0x20], 7
je 0x4084ce
cmp dword [esi + 0x34], 0
mov edx, dword [esp + 0x8c]
je 0x408520
mov dword [esi + 0x34], 0
jmp 0x408520
cmp dword [esi + 0x34], 0xf
je case.0x4075be.1
mov eax, dword [esi + 0x7c]
mov dword [esi + 0x34], 0xf
dec dword [eax + 0x10]
mov eax, dword [ebx]
mov dword [esp + 0x28], eax
test eax, eax
je 0x40850a
push esi
push eax
call fcn.00417100
push 0
lea eax, [esi + 0x28]
push eax
mov eax, dword [esp + 0x38]
add eax, 0x21c
push eax
call fcn.0041fad0
add esp, 0x14
push esi
mov dword [ebx], 0
call fcn.00406080
add esp, 4
mov edx, dword [esp + 0x8c]
cmp dword [ebx], 0
je 0x40855f
mov eax, dword [esi + 0x34]
mov ecx, dword [esp + 0x88]
sub eax, 2
cmp eax, 5
ja 0x408566
cmp ebp, 0xffffffff
je 0x408566
cmp byte [ecx + 0x106], 0
jne 0x408566
push 1
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x1a]
push eax
push edx
push esi
call fcn.00407330
mov edi, dword [esp + 0x28]
add esp, 0x14
mov ecx, dword [esp + 0x88]
cmp dword [esi + 0x34], 0xf
jge 0x40868b
test edi, edi
je 0x408624
push ecx
call fcn.00408fb0
mov ebp, dword [ebx]
add esp, 4
test ebp, ebp
je 0x4085ce
cmp byte [esp + 0x12], 0
je 0x4085dd
cmp edi, 0x1c
push esi
push ebp
sete byte [esp + 0x48]
call fcn.00417100
push 0
lea eax, [esi + 0x28]
push eax
lea eax, [ebp + 0x21c]
push eax
call fcn.0041fad0
push 1
push ebp
push esi
mov dword [ebx], 0
call fcn.0040ef40
push dword [esp + 0x60]
push ebp
push esi
call fcn.00412780
add esp, 0x2c
jmp 0x4085dd
cmp dword [esi + 0x34], 2
jne 0x4085dd
push esi
call fcn.0040bcd0
add esp, 4
cmp dword [esi + 0x34], 0xf
je 0x408684
mov eax, dword [esi + 0x7c]
mov dword [esi + 0x34], 0xf
dec dword [eax + 0x10]
mov ebp, dword [ebx]
test ebp, ebp
je 0x408616
push esi
push ebp
call fcn.00417100
push 0
lea eax, [esi + 0x28]
push eax
lea eax, [ebp + 0x21c]
push eax
call fcn.0041fad0
add esp, 0x14
push esi
mov dword [ebx], 0
call fcn.00406080
jmp 0x408681
cmp dword [ebx], 0
je 0x408687
push esi
call fcn.00428520
add esp, 4
test eax, eax
je 0x408687
push 2
push dword [ebx]
mov edi, 0x2a
mov dword [esp + 0x1c], edi
call fcn.00418e70
mov ecx, dword [esi + 0x34]
xor eax, eax
add esp, 8
cmp ecx, 0xe
setge al
add eax, 0xe
cmp ecx, eax
je 0x408684
mov dword [esi + 0x34], eax
cmp ecx, 0xe
jl 0x40866b
mov eax, dword [esi + 0x7c]
dec dword [eax + 0x10]
xor eax, eax
cmp ecx, 0xe
setge al
mov eax, dword [eax*4 + 0x45b278]
test eax, eax
je 0x408684
push esi
call eax
add esp, 4
or ebp, 0xffffffff
cmp dword [esi + 0x34], 0xf
je 0x4086b7
mov ecx, dword [esp + 0x88]
cmp ebp, 0xffffffff
je 0x407540
cmp byte [ecx + 0x106], 0
jne 0x407540
mov dword [esi + 0x38], edi
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x74
ret
mov eax, dword [esi + 0x680]
test eax, eax
je 0x4086d1
push edi
push esi
call eax
mov ebx, dword [esp + 0x90]
add esp, 8
jmp 0x4086f9
mov ebx, dword [esp + 0x88]
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.0041fa50
add esp, 0x10
cmp dword [esi + 0x34], 0x10
je 0x408706
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.0041fa50
push esi
push ebx
call fcn.00409630
add esp, 0x18
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x74
ret
mov eax, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x74
ret
pop edi
pop esi
pop ebp
mov eax, 2
pop ebx
add esp, 0x74
ret