Function at 0x516260
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 + 0x14], 0
mov dword [esp + 0x18], edi
test esi, esi
je 0x517493
cmp dword [esi], 0xc0dedbad
jne 0x517493
mov ecx, dword [esp + 0x74]
cmp byte [ecx + 0x108], 0
je 0x516310
mov edi, 0x2a
push esi
mov dword [esp + 0x1c], edi
call fcn.004511b0
push 0
push edi
push esi
call fcn.00515d50
add esp, 0x10
cmp dword [esi + 0x34], 0xf
je 0x516302
mov eax, dword [esi + 0x7c]
mov dword [esi + 0x34], 0xf
dec dword [eax + 0x10]
mov ebx, dword [esi + 0x18]
test ebx, ebx
je 0x5162f2
push esi
push ebx
call fcn.00525670
push 0
lea eax, [esi + 0x28]
push eax
lea eax, [ebx + 0x254]
push eax
call fcn.0052e9b0
add esp, 0x14
push esi
mov dword [esi + 0x18], 0
call fcn.00514f30
add esp, 4
mov ecx, dword [esp + 0x74]
nop word [eax + eax]
mov al, byte [ecx + 0x106]
xor ebp, ebp
mov byte [esp + 0x10], 0
mov byte [ecx + 0x106], 0
test al, al
je 0x516331
push ecx
call fcn.00517c80
add esp, 4
mov ecx, dword [esi + 0x34]
lea eax, [ecx - 3]
cmp eax, 0xb
ja 0x51634a
cmp dword [esi + 0x18], ebp
je case.default.0x51638e
lea ebx, [esi + 0x18]
jmp 0x516352
cmp dword [esi + 0x18], ebp
lea ebx, [esi + 0x18]
je 0x516382
lea eax, [ecx - 2]
cmp eax, 0xc
ja 0x516382
push 0
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x84]
push esi
call fcn.00516100
mov edi, dword [esp + 0x2c]
add esp, 0x14
test al, al
jne 0x5172c6
mov ecx, dword [esi + 0x34]
cmp ecx, 0x10
ja case.default.0x51638e
jmp dword [ecx*4 + 0x5174a0]
push esi
call fcn.0052bd40
mov edi, eax
add esp, 4
mov dword [esp + 0x18], edi
test edi, edi
jne case.0x51638e.1
cmp dword [esi + 0x34], 2
je 0x5163c2
push esi
mov dword [esi + 0x34], 2
call fcn.0052bc90
add esp, 4
push 1
lea eax, [esp + 0x44]
push esi
push eax
call fcn.00536fd0
mov edx, dword [esp + 0x84]
add esp, 0xc
or ebp, 0xffffffff
movups xmm0, xmmword [eax]
movups xmmword [edx], xmm0
jmp 0x51728a
cmp dword [esi + 0x8bc], ebp
jne 0x516418
mov eax, dword [esi + 0x4a8]
inc eax
push eax
call dword [section..data]
add esp, 4
mov dword [esi + 0x8bc], eax
test eax, eax
jne 0x516418
mov edi, 0x1b
mov dword [esp + 0x18], edi
jmp case.0x51638e.1
push 2
lea eax, [esp + 0x54]
push esi
push eax
call fcn.00536fd0
add esp, 0xc
movups xmm0, xmmword [eax]
mov eax, dword [esp + 0x78]
movups xmmword [eax], xmm0
mov eax, dword [esi + 0x1e8]
test eax, eax
je 0x51644a
push 0xa
push 0
push eax
push esi
call fcn.00514d20
add esp, 0x10
mov eax, dword [esi + 0x1ec]
test eax, eax
je 0x516462
push 2
push 0
push eax
push esi
call fcn.00514d20
add esp, 0x10
lea eax, [esp + 0x13]
push eax
lea eax, [esp + 0x1b]
push eax
push esi
call fcn.00520bc0
mov edi, eax
add esp, 0xc
mov dword [esp + 0x18], edi
cmp edi, 0x59
jne 0x5164e9
cmp dword [esi + 0x34], 1
je 0x51648d
mov dword [esi + 0x34], 1
mov edi, dword [esp + 0x74]
lea eax, [esi + 0x1c]
push eax
push esi
push dword [edi + 0x28]
lea eax, [edi + 0x24]
push eax
call fcn.0052e930
mov ecx, dword [esi + 0x14]
add esp, 0x10
mov eax, dword [esi + 0x10]
test ecx, ecx
je 0x5164b4
mov dword [ecx + 0x10], eax
jmp 0x5164b7
mov dword [edi + 4], eax
mov ecx, dword [esi + 0x10]
mov eax, dword [esi + 0x14]
test ecx, ecx
je 0x5164d5
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.0x51638e.1
mov dword [edi + 8], eax
xor edi, edi
mov dword [esi + 0x10], ebp
mov dword [esi + 0x14], ebp
mov dword [esp + 0x18], edi
jmp case.0x51638e.1
cmp byte [esi + 0xd60], 0
je 0x516508
push str.Transfer_was_pending__now_try_another
push esi
call fcn.00525fd0
push dword [esi + 0x7c]
call fcn.00517c80
add esp, 0xc
test edi, edi
jne case.0x51638e.1
cmp byte [esp + 0x17], 0
mov eax, dword [esi + 0x34]
je 0x51652f
cmp eax, 3
je case.0x51638e.1
mov dword [esi + 0x34], 3
jmp case.0x51638e.1
or ebp, 0xffffffff
cmp byte [esp + 0x13], 0
je 0x51654e
cmp eax, 6
je case.0x51638e.1
mov dword [esi + 0x34], 6
jmp case.0x51638e.1
cmp eax, 4
je case.0x51638e.1
mov dword [esi + 0x34], 4
jmp case.0x51638e.1
mov edi, dword [ebx]
mov dword [esp + 0x1c], ebp
cmp byte [edi + 0x1e0], 0
je 0x51657a
mov ebp, dword [edi + 0xb4]
jmp 0x51658e
cmp byte [edi + 0x1e9], 0
je 0x51658b
mov ebp, dword [edi + 0x84]
jmp 0x51658e
mov ebp, dword [edi + 0x6c]
push dword [edi + 0x458]
push ebp
push esi
call fcn.0052f150
add esp, 0xc
mov dword [esp + 0x1c], eax
test eax, eax
je 0x5165c8
push ebp
mov dword [edi + 0x48], eax
mov byte [edi + 0x5c], 1
xor edi, edi
push 0x655cdc
push esi
mov dword [esp + 0x24], edi
call fcn.00525fd0
add esp, 0xc
cmp dword [esp + 0x1c], edi
jne 0x5165dc
lea eax, [esp + 0x1c]
push eax
push esi
call fcn.0052fd50
mov edi, eax
add esp, 8
mov dword [esp + 0x18], edi
push esi
push dword [esp + 0x78]
call fcn.00517ee0
mov ebp, eax
add esp, 8
test ebp, ebp
jne 0x51740e
cmp dword [esp + 0x1c], eax
je 0x516613
lea eax, [esp + 0x13]
push eax
push esi
call fcn.0052f790
mov edi, eax
add esp, 8
mov dword [esp + 0x18], edi
test edi, edi
je 0x516625
mov dword [ebx], ebp
test edi, edi
je case.0x51638e.1
mov byte [esp + 0x10], 1
jmp case.0x51638e.1
mov eax, dword [esi + 0x34]
jmp 0x51652f
lea eax, [esp + 0x11]
push eax
push esi
call fcn.005313c0
mov edi, eax
add esp, 8
mov eax, dword [ebx]
mov dword [esp + 0x18], edi
cmp byte [eax + 0x1e4], 0
je 0x51667c
xor edi, edi
or ebp, 0xffffffff
push edi
push edi
push esi
mov dword [esp + 0x24], edi
call fcn.00515d50
add esp, 0xc
cmp dword [esi + 0x34], 2
je case.0x51638e.1
push esi
mov dword [esi + 0x34], 2
call fcn.0052bc90
jmp 0x517283
test edi, edi
jne 0x51661b
or ebp, 0xffffffff
cmp dword [esi + 0x34], 6
jmp 0x51653c
lea eax, [esp + 0x13]
push eax
push 0
push 0
push esi
call fcn.005254f0
add esp, 0x10
mov edi, eax
cmp byte [esp + 0x13], 0
mov dword [esp + 0x18], edi
je 0x5166bb
test edi, edi
jne 0x5166c3
or ebp, 0xffffffff
cmp dword [esi + 0x34], 6
jmp 0x51653c
test edi, edi
je case.0x51638e.1
push esi
call fcn.004511b0
push 1
push edi
push esi
call fcn.00515d50
add esp, 0x10
mov byte [esp + 0x10], 1
jmp case.0x51638e.1
cmp byte [esi + 0xd67], 0
mov ecx, 6
je 0x5166ff
push esi
call fcn.00517d10
mov ecx, dword [esi + 0x34]
mov edi, eax
add esp, 4
mov dword [esp + 0x18], edi
mov eax, dword [ebx]
mov dword [esp + 0x1c], eax
test edi, edi
jne 0x5166c3
cmp byte [eax + 0x1e7], 0
je 0x516726
cmp ecx, 8
je 0x51671e
mov dword [esi + 0x34], 8
or ebp, 0xffffffff
jmp case.0x51638e.1
test edi, edi
jne 0x5166c3
push edi
push eax
mov byte [esp + 0x19], 0
call fcn.00525a20
add esp, 8
test al, al
mov eax, dword [esp + 0x1c]
je 0x51676d
cmp byte [eax + 0x1ee], 0
je 0x516776
mov eax, dword [eax + 0x200]
movzx ecx, byte [esp + 0x11]
mov dword [esp + 0x18], edi
cmp dword [eax + 0x18], edi
mov eax, 1
cmove ecx, eax
mov eax, dword [esi + 0x34]
mov byte [esp + 0x11], cl
jmp 0x5167b9
cmp byte [eax + 0x1ee], 0
jne 0x5167a6
mov eax, dword [eax + 0x200]
mov eax, dword [eax + 0x14]
test eax, eax
je 0x516796
lea ecx, [esp + 0x11]
push ecx
push esi
call eax
mov edi, eax
add esp, 8
test edi, edi
jne 0x5167a6
jmp 0x51679b
mov byte [esp + 0x11], 1
mov eax, dword [esp + 0x1c]
mov byte [eax + 0x1ee], 1
mov eax, dword [esi + 0x34]
mov dword [esp + 0x18], edi
test edi, edi
jne 0x5166c3
mov cl, byte [esp + 0x11]
test cl, cl
jne 0x5167d1
cmp eax, 7
je 0x5167c9
mov dword [esi + 0x34], 7
or ebp, 0xffffffff
jmp case.0x51638e.1
cmp eax, 8
jmp 0x516715
mov ecx, dword [ebx]
test ecx, ecx
je 0x51681a
mov eax, dword [ecx + 0x200]
cmp dword [eax + 0x18], ebp
je 0x51681a
mov byte [esp + 0x11], 0
mov eax, dword [ecx + 0x200]
lea ecx, [esp + 0x11]
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 0x5166c3
mov al, byte [esp + 0x11]
jmp 0x51682b
mov al, 1
xor edi, edi
mov byte [esp + 0x11], al
mov ecx, 7
mov dword [esp + 0x18], edi
test al, al
je case.0x51638e.1
jmp 0x516712
mov edx, 8
cmp dword [esi + 0x1c4], ebp
je 0x5168e6
mov eax, dword [esi + 0x80]
test eax, eax
jne 0x51685a
mov eax, dword [esi + 0x7c]
test eax, eax
je 0x516861
mov byte [eax + 0x107], 1
push dword [esi + 0xe24]
lea eax, [esi + 0xdf4]
push dword [esi + 0xdec]
push eax
lea eax, [esi + 0xdbc]
push eax
push dword [esi + 0x1c8]
mov eax, dword [esi + 0x1c4]
call eax
mov ecx, dword [esi + 0x80]
add esp, 0x14
mov edx, eax
test ecx, ecx
je 0x5168a1
mov byte [ecx + 0x107], 0
jmp 0x5168af
mov eax, dword [esi + 0x7c]
test eax, eax
je 0x5168af
mov byte [eax + 0x107], 0
test edx, edx
je 0x5168e3
push str.operation_aborted_by_pre_request_callback
push esi
call fcn.00525f00
mov edi, 0x2a
push esi
mov dword [esp + 0x24], edi
call fcn.004511b0
push 0
push edi
push esi
call fcn.00515d50
add esp, 0x18
mov byte [esp + 0x10], 1
jmp case.0x51638e.1
mov edx, dword [esi + 0x34]
cmp byte [esi + 0x6ad], 1
mov ecx, dword [ebx]
jne 0x516917
push 0
push ecx
call fcn.00527760
add esp, 8
cmp dword [esi + 0x34], 0xe
je 0x516909
mov dword [esi + 0x34], 0xe
xor edi, edi
or ebp, 0xffffffff
mov dword [esp + 0x18], edi
jmp case.0x51638e.1
mov eax, dword [ecx + 0x200]
xor edi, edi
mov eax, dword [eax + 8]
test eax, eax
je 0x516938
lea ecx, [esp + 0x12]
push ecx
push esi
call eax
mov ecx, dword [ebx]
add esp, 8
mov edx, dword [esi + 0x34]
mov edi, eax
mov dword [esp + 0x18], edi
test edi, edi
jne 0x516a23
cmp byte [esp + 0x12], 0
jne 0x5169d3
cmp byte [esi + 0xd5a], 0
je 0x5169bb
mov eax, dword [esi + 0xd70]
mov al, byte [eax + 0x20]
cmp al, 7
je 0x516969
cmp al, 5
jne 0x5169bb
push 0
push 0
push esi
call fcn.00515d50
mov ecx, dword [ebx]
add esp, 0xc
mov eax, ecx
neg eax
sbb eax, eax
add eax, 0xf
cmp dword [esi + 0x34], eax
je 0x51671e
mov dword [esi + 0x34], eax
test ecx, ecx
jne 0x516997
mov eax, dword [esi + 0x7c]
dec dword [eax + 0x10]
xor eax, eax
test ecx, ecx
sete al
mov eax, dword [eax*4 + 0x655ad0]
test eax, eax
je 0x51671e
push esi
call eax
add esp, 4
or ebp, 0xffffffff
jmp case.0x51638e.1
cmp edx, 9
je 0x51671e
mov dword [esi + 0x34], 9
or ebp, 0xffffffff
jmp case.0x51638e.1
cmp byte [ecx + 0x1ed], 0
je 0x5169f4
cmp edx, 0xa
je 0x51671e
mov dword [esi + 0x34], 0xa
or ebp, 0xffffffff
jmp case.0x51638e.1
cmp edx, 0xb
je 0x51671e
push 6
lea eax, [esp + 0x64]
mov dword [esi + 0x34], 0xb
push esi
push eax
mov byte [esi + 0x143], 0
call fcn.00536fd0
add esp, 0xc
or ebp, 0xffffffff
jmp case.0x51638e.1
cmp edi, 0x37
jne 0x516ae1
cmp byte [ecx + 0x1e7], 0
je 0x516ae1
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], ebp
push eax
push esi
call fcn.0052c4c0
add esp, 8
test eax, eax
je 0x516a5a
mov edi, eax
mov byte [esp + 0x10], 1
mov dword [esp + 0x18], edi
push esi
call fcn.004511b0
push 0
push edi
push esi
call fcn.00515d50
mov ecx, dword [esp + 0x2c]
add esp, 0x10
test ecx, ecx
je 0x516ad0
test eax, eax
je 0x516a8f
cmp eax, 0x37
je 0x516a8f
mov edi, eax
push ecx
mov dword [esp + 0x1c], edi
call dword [0x6dd004]
jmp 0x517283
push 2
push ecx
push esi
call fcn.0052b770
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x516abc
cmp dword [esi + 0x34], 2
je 0x516ab7
push esi
mov dword [esi + 0x34], 2
call fcn.0052bc90
add esp, 4
or ebp, 0xffffffff
xor edi, edi
mov ecx, dword [esp + 0x1c]
push ecx
mov dword [esp + 0x1c], edi
call dword [0x6dd004]
jmp 0x517283
push ecx
mov byte [esp + 0x14], 1
call dword [0x6dd004]
jmp 0x517283
push esi
call fcn.004511b0
add esp, 4
cmp dword [ebx], ebp
je 0x5166d5
push 0
push edi
push esi
call fcn.00515d50
add esp, 0xc
mov byte [esp + 0x10], 1
jmp case.0x51638e.1
mov ecx, dword [ebx]
test ecx, ecx
je 0x516b5d
mov eax, dword [ecx + 0x200]
cmp dword [eax + 0x1c], ebp
je 0x516b5d
mov byte [esp + 0x12], 0
mov eax, dword [ecx + 0x200]
lea ecx, [esp + 0x12]
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 + 0x18], edi
test edi, edi
je 0x516b6d
push esi
call fcn.004511b0
push 0
push edi
push esi
call fcn.00515d50
add esp, 0x10
mov byte [esp + 0x10], 1
jmp case.0x51638e.1
xor edi, edi
mov byte [esp + 0x12], 1
mov edx, 9
mov dword [esp + 0x18], edi
cmp byte [esp + 0x12], 0
je case.0x51638e.1
mov cl, byte [ecx + 0x1ed]
xor eax, eax
test cl, cl
sete al
add eax, 0xa
cmp edx, eax
je 0x51671e
mov dword [esi + 0x34], eax
xor eax, eax
test cl, cl
sete al
mov eax, dword [eax*4 + 0x655ac0]
test eax, eax
je 0x51671e
push esi
call eax
add esp, 4
or ebp, 0xffffffff
jmp case.0x51638e.1
mov eax, dword [ebx]
xor ecx, ecx
mov dword [esp + 0x38], ecx
xor edi, edi
mov eax, dword [eax + 0x200]
lea edx, [edi + 0xa]
mov eax, dword [eax + 0x10]
test eax, eax
je 0x516be5
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 0x516b41
test ecx, ecx
je case.0x51638e.1
xor eax, eax
cmp ecx, 1
sete al
lea eax, [eax*2 + 9]
cmp edx, eax
je 0x51671e
mov dword [esi + 0x34], eax
mov eax, dword [eax*4 + 0x655a98]
test eax, eax
je 0x51671e
push esi
call eax
add esp, 4
or ebp, 0xffffffff
jmp case.0x51638e.1
mov eax, dword [ebx]
mov edx, 0xb
cmp byte [eax + 0x1f7], 0
je 0x516c53
push dword [esp + 0x74]
call fcn.00517c80
mov edx, dword [esi + 0x34]
add esp, 4
mov eax, dword [ebx]
mov ecx, edx
cmp dword [eax + 0x218], 0xffffffff
jne 0x516ca2
cmp dword [eax + 0x21c], 0xffffffff
jne 0x516ca2
cmp byte [esi + 0xd5a], 0
je 0x516c8a
mov eax, dword [eax + 0x200]
test dword [eax + 0x4c], 0x1000
jne 0x516c8a
mov eax, dword [esi + 0xd70]
mov byte [eax + 0x20], 7
mov ecx, dword [esi + 0x34]
cmp ecx, 0xe
je 0x51671e
mov dword [esi + 0x34], 0xe
or ebp, 0xffffffff
jmp case.0x51638e.1
cmp edx, 0xc
je 0x51671e
mov dword [esi + 0x34], 0xc
or ebp, 0xffffffff
jmp case.0x51638e.1
push esi
call fcn.00537290
add esp, 4
test eax, eax
je 0x516cd8
mov eax, 0x2a
mov edi, eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x18], edi
jmp 0x516cfe
mov ecx, dword [esp + 0x78]
sub esp, 0x10
mov eax, esp
movups xmm0, xmmword [ecx]
push esi
movups xmmword [eax], xmm0
call fcn.005385e0
add esp, 0x14
mov dword [esp + 0x30], eax
mov edi, eax
mov dword [esp + 0x18], edi
test eax, eax
je 0x516d36
mov edx, dword [ebx]
mov ecx, dword [edx + 0x200]
test byte [ecx + 0x4c], 2
jne 0x516d1c
cmp eax, 0x5c
je 0x516d1c
push 2
push edx
call fcn.00527760
add esp, 8
push esi
call fcn.004511b0
push 1
push dword [esp + 0x38]
push esi
call fcn.00515d50
add esp, 0x10
jmp case.0x51638e.1
mov eax, dword [esi + 0x218]
xorps xmm0, xmm0
mov ecx, dword [esi + 0x21c]
or eax, ecx
movlpd qword [esp + 0x30], xmm0
je 0x516d9b
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 + 0x7b8]
push ecx
push edx
push dword [esi + 0x7cc]
movups xmmword [eax], xmm0
push dword [esi + 0x7c8]
push dword [esi + 0x71c]
push dword [esi + 0x718]
call fcn.00536c10
add esp, 0x38
mov dword [esp + 0x20], edx
jmp 0x516da7
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 0x516e0e
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 + 0x7d0]
push ecx
push edx
push dword [esi + 0x7e4]
movups xmmword [eax], xmm0
push dword [esi + 0x7e0]
push dword [esi + 0x714]
push dword [esi + 0x710]
call fcn.00536c10
add esp, 0x38
mov ecx, eax
jmp 0x516e16
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x1c]
or eax, dword [esp + 0x20]
jne 0x516e50
mov eax, ecx
or eax, edx
jne 0x516e50
cmp dword [esi + 0x34], 0xc
je 0x516e33
mov dword [esi + 0x34], 0xc
mov ecx, dword [esp + 0x78]
sub esp, 0x10
mov eax, esp
movups xmm0, xmmword [ecx]
push esi
movups xmmword [eax], xmm0
call fcn.005375e0
add esp, 0x14
jmp case.0x51638e.1
cmp dword [esp + 0x20], edx
jl 0x516e75
mov eax, dword [esp + 0x1c]
jg 0x516e60
cmp eax, ecx
jb 0x516e75
push 0xb
push dword [esp + 0x24]
push eax
push esi
call fcn.00514d20
add esp, 0x10
jmp case.0x51638e.1
push 0xb
push edx
push ecx
push esi
call fcn.00514d20
add esp, 0x10
jmp case.0x51638e.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 + 0x15], 0
mov byte [esp + 0x16], 0
movlpd qword [esp + 0x30], xmm0
je 0x516efa
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 + 0x7b8]
push ecx
push edx
push dword [esi + 0x7cc]
movups xmmword [eax], xmm0
push dword [esi + 0x7c8]
push dword [esi + 0x71c]
push dword [esi + 0x718]
call fcn.00536c10
add esp, 0x38
mov dword [esp + 0x24], edx
jmp 0x516f06
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 0x516f71
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 + 0x7d0]
push ecx
push edx
push dword [esi + 0x7e4]
movups xmmword [eax], xmm0
push dword [esi + 0x7e0]
push dword [esi + 0x714]
push dword [esi + 0x710]
call fcn.00536c10
add esp, 0x38
mov dword [esp + 0x28], eax
mov ecx, eax
jmp 0x516f7d
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 0x517175
mov eax, ecx
or eax, edx
jne 0x517175
lea eax, [esp + 0x16]
push eax
lea eax, [esp + 0x18]
push eax
push esi
push dword [ebx]
call fcn.0052c0e0
add esp, 0x10
mov edi, eax
cmp byte [esp + 0x14], 0
mov dword [esp + 0x18], edi
jne 0x516ffe
cmp edi, 0x38
je 0x516ffe
cmp edi, 0x5c
jne 0x51708a
mov ecx, dword [ebx]
mov eax, dword [ecx + 0x200]
test byte [eax + 0x4c], 2
jne 0x516fe7
cmp edi, 0x5c
je 0x516fe7
push 2
push ecx
call fcn.00527760
add esp, 8
push esi
call fcn.004511b0
push 1
push edi
push esi
call fcn.00515d50
add esp, 0x10
jmp case.0x51638e.1
lea eax, [esp + 0x1c]
push eax
push esi
call fcn.0052c4c0
add esp, 8
test eax, eax
jne 0x51707c
cmp dword [esp + 0x1c], ebp
setne al
mov byte [esp + 0x15], al
test al, al
je 0x51708a
push esi
mov byte [esp + 0x18], 1
call fcn.004511b0
add esp, 4
mov edi, 2
push 0
push 0
push esi
call fcn.00515d50
push edi
push dword [esp + 0x2c]
push esi
call fcn.0052b770
mov edi, eax
add esp, 0x18
mov dword [esp + 0x18], edi
test edi, edi
jne 0x51706d
cmp dword [esi + 0x34], 2
je 0x51706a
push esi
mov dword [esi + 0x34], 2
call fcn.0052bc90
add esp, 4
or ebp, 0xffffffff
push dword [esp + 0x1c]
call dword [0x6dd004]
jmp 0x517283
test edi, edi
jne 0x516fc9
mov edi, eax
mov dword [esp + 0x18], edi
test edi, edi
jne 0x516fc9
cmp byte [esp + 0x14], 0
je 0x517156
push esi
call fcn.004511b0
add esp, 4
cmp byte [esp + 0x15], 0
jne 0x51702d
cmp dword [esi + 0x110], ebp
jne 0x51712f
cmp dword [esi + 0x10c], ebp
je 0x517116
push dword [esp + 0x1c]
call dword [0x6dd004]
mov eax, dword [esi + 0x10c]
push 1
push eax
push esi
mov dword [esp + 0x2c], eax
mov dword [esi + 0x10c], ebp
call fcn.0052b770
push dword [esp + 0x2c]
mov edi, eax
mov dword [esp + 0x2c], edi
call dword [0x6dd004]
add esp, 0x14
test edi, edi
je 0x517116
push 1
push edi
push esi
mov byte [esp + 0x1c], 1
call fcn.00515d50
mov edi, eax
add esp, 0xc
mov dword [esp + 0x18], edi
test edi, edi
jne case.0x51638e.1
cmp dword [esi + 0x34], 0xe
je 0x51671e
mov dword [esi + 0x34], 0xe
or ebp, 0xffffffff
jmp case.0x51638e.1
push dword [esp + 0x1c]
call dword [0x6dd004]
mov eax, dword [esi + 0x110]
add esp, 4
mov dword [esp + 0x1c], eax
mov edi, 3
mov dword [esi + 0x110], ebp
jmp 0x517032
cmp byte [esp + 0x16], 0
je case.0x51638e.1
push 8
push 0
push 0
push esi
call fcn.00514d20
add esp, 0x10
jmp case.0x51638e.1
mov ecx, dword [esp + 0x78]
sub esp, 0x10
mov eax, esp
movups xmm0, xmmword [ecx]
push esi
movups xmmword [eax], xmm0
call fcn.005375e0
add esp, 0x14
cmp dword [esi + 0x34], 0xd
je 0x51719a
mov dword [esi + 0x34], 0xd
mov ecx, dword [esp + 0x24]
cmp ecx, dword [esp + 0x30]
jl 0x5171c4
mov eax, dword [esp + 0x20]
jg 0x5171ce
mov edx, dword [esp + 0x28]
cmp eax, edx
jb 0x5171c8
push 0xb
push ecx
push eax
push esi
call fcn.00514d20
add esp, 0x10
jmp case.0x51638e.1
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x30]
mov eax, edx
push 0xb
push ecx
push eax
push esi
call fcn.00514d20
add esp, 0x10
jmp case.0x51638e.1
mov eax, dword [ebx]
or ebp, 0xffffffff
test eax, eax
je 0x517213
cmp byte [eax + 0x1f7], 0
je 0x5171fe
push dword [esp + 0x74]
call fcn.00517c80
add esp, 4
push 0
push edi
push esi
call fcn.00515d50
add esp, 0xc
test edi, edi
cmove edi, eax
mov dword [esp + 0x18], edi
cmp byte [esi + 0xd5a], 0
je 0x51723b
mov eax, dword [esi + 0xd70]
cmp byte [eax + 0x20], 7
je 0x51723b
cmp dword [esi + 0x34], 0
mov edx, dword [esp + 0x78]
je 0x51728a
mov dword [esi + 0x34], 0
jmp 0x51728a
cmp dword [esi + 0x34], 0xf
je case.0x51638e.1
mov eax, dword [esi + 0x7c]
mov dword [esi + 0x34], 0xf
dec dword [eax + 0x10]
mov eax, dword [ebx]
mov dword [esp + 0x30], eax
test eax, eax
je 0x517277
push esi
push eax
call fcn.00525670
push 0
lea eax, [esi + 0x28]
push eax
mov eax, dword [esp + 0x40]
add eax, 0x254
push eax
call fcn.0052e9b0
add esp, 0x14
push esi
mov dword [ebx], 0
call fcn.00514f30
add esp, 4
mov edx, dword [esp + 0x78]
cmp dword [ebx], 0
je 0x5172c6
mov eax, dword [esi + 0x34]
mov ecx, dword [esp + 0x74]
sub eax, 2
cmp eax, 5
ja 0x5172ca
cmp ebp, 0xffffffff
je 0x5172ca
cmp byte [ecx + 0x106], 0
jne 0x5172ca
push 1
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x18]
push eax
push edx
push esi
call fcn.00516100
mov edi, dword [esp + 0x2c]
add esp, 0x14
mov ecx, dword [esp + 0x74]
cmp dword [esi + 0x34], 0xf
jge 0x5173ef
test edi, edi
je 0x517388
push ecx
call fcn.00517c80
mov ebp, dword [ebx]
add esp, 4
test ebp, ebp
je 0x517332
cmp byte [esp + 0x10], 0
je 0x517341
cmp edi, 0x1c
push esi
push ebp
sete byte [esp + 0x44]
call fcn.00525670
push 0
lea eax, [esi + 0x28]
push eax
lea eax, [ebp + 0x254]
push eax
call fcn.0052e9b0
push 1
push ebp
push esi
mov dword [ebx], 0
call fcn.0051d6c0
push dword [esp + 0x5c]
push ebp
push esi
call fcn.00520d10
add esp, 0x2c
jmp 0x517341
cmp dword [esi + 0x34], 2
jne 0x517341
push esi
call fcn.004511b0
add esp, 4
cmp dword [esi + 0x34], 0xf
je 0x5173e8
mov eax, dword [esi + 0x7c]
mov dword [esi + 0x34], 0xf
dec dword [eax + 0x10]
mov ebp, dword [ebx]
test ebp, ebp
je 0x51737a
push esi
push ebp
call fcn.00525670
push 0
lea eax, [esi + 0x28]
push eax
lea eax, [ebp + 0x254]
push eax
call fcn.0052e9b0
add esp, 0x14
push esi
mov dword [ebx], 0
call fcn.00514f30
jmp 0x5173e5
cmp dword [ebx], 0
je 0x5173eb
push esi
call fcn.00537290
add esp, 4
test eax, eax
je 0x5173eb
push 2
push dword [ebx]
mov edi, 0x2a
mov dword [esp + 0x20], edi
call fcn.00527760
mov ecx, dword [esi + 0x34]
xor eax, eax
add esp, 8
cmp ecx, 0xe
setge al
add eax, 0xe
cmp ecx, eax
je 0x5173e8
mov dword [esi + 0x34], eax
cmp ecx, 0xe
jl 0x5173cf
mov eax, dword [esi + 0x7c]
dec dword [eax + 0x10]
xor eax, eax
cmp ecx, 0xe
setge al
mov eax, dword [eax*4 + 0x655ad0]
test eax, eax
je 0x5173e8
push esi
call eax
add esp, 4
or ebp, 0xffffffff
cmp dword [esi + 0x34], 0xf
je 0x517418
mov ecx, dword [esp + 0x74]
cmp ebp, 0xffffffff
je 0x516310
cmp byte [ecx + 0x106], 0
jne 0x516310
mov dword [esi + 0x38], edi
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret
mov eax, dword [esi + 0x688]
test eax, eax
je 0x51742f
push edi
push esi
call eax
mov ebx, dword [esp + 0x7c]
add esp, 8
jmp 0x517454
mov ebx, dword [esp + 0x74]
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.0052e930
add esp, 0x10
cmp dword [esi + 0x34], 0x10
je 0x517461
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.0052e930
push esi
push ebx
call fcn.005182e0
add esp, 0x18
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