Function at 0x511440
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 0x5127f2
cmp dword [esi], 0xc0dedbad
jne 0x5127f2
mov ecx, dword [esp + 0x74]
cmp byte [ecx + 0xe4], 0
je 0x5114f0
mov edi, 0x2a
push esi
mov dword [esp + 0x1c], edi
call fcn.00515730
push 0
push edi
push esi
call fcn.00510e20
add esp, 0x10
cmp dword [esi + 0x28], 0xf
je 0x5114e8
mov eax, dword [esi + 0x70]
mov dword [esi + 0x28], 0xf
dec dword [eax + 0x10]
mov ebx, dword [esi + 0xc]
test ebx, ebx
je 0x5114d8
push esi
call fcn.00526f90
push 0
lea eax, [esi + 0x1c]
push eax
lea eax, [ebx + 0x2f4]
push eax
call fcn.00529490
push ebx
push esi
call fcn.00519e80
add esp, 0x18
push esi
mov dword [esi + 0xc], 0
call fcn.005100a0
add esp, 4
mov ecx, dword [esp + 0x74]
nop dword [eax]
mov al, byte [ecx + 0xe1]
xor ebp, ebp
mov byte [esp + 0x10], 0
mov byte [ecx + 0xe1], 0
test al, al
je 0x511557
lea eax, [ecx + 0x24]
mov dword [esp + 0x28], eax
mov eax, dword [eax]
mov dword [esp + 0x30], eax
test eax, eax
je 0x511557
mov ebx, dword [eax]
cmp dword [ebx + 0x28], 2
je 0x511535
push ebx
mov dword [ebx + 0x28], 2
call fcn.00527b00
mov eax, dword [esp + 0x34]
add esp, 4
push 0
push eax
push dword [esp + 0x30]
call fcn.00529490
push 8
push 0
push 0
push ebx
call fcn.0050fe90
add esp, 0x1c
mov byte [ebx + 0xd02], 1
mov ecx, dword [esi + 0x28]
lea eax, [ecx - 3]
cmp eax, 0xb
ja 0x511570
cmp dword [esi + 0xc], ebp
je case.default.0x5115b4
lea ebx, [esi + 0xc]
jmp 0x511578
cmp dword [esi + 0xc], ebp
lea ebx, [esi + 0xc]
je 0x5115a8
lea eax, [ecx - 2]
cmp eax, 0xc
ja 0x5115a8
push 0
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x84]
push esi
call fcn.005112e0
mov edi, dword [esp + 0x2c]
add esp, 0x14
test al, al
jne 0x5125e9
mov eax, dword [esi + 0x28]
cmp eax, 0x10
ja case.default.0x5115b4
jmp dword [eax*4 + 0x512800]
push esi
call fcn.00527ba0
mov edi, eax
add esp, 4
mov dword [esp + 0x18], edi
test edi, edi
jne case.0x5115b4.1
cmp dword [esi + 0x28], 2
je 0x5115e8
push esi
mov dword [esi + 0x28], 2
call fcn.00527b00
add esp, 4
push 1
lea eax, [esp + 0x44]
push esi
push eax
call fcn.0052ff40
mov edx, dword [esp + 0x84]
add esp, 0xc
or ebp, 0xffffffff
movups xmm0, xmmword [eax]
movups xmmword [edx], xmm0
jmp 0x5125ad
cmp dword [esi + 0x8fc], ebp
jne 0x51163e
mov eax, dword [esi + 0x4e8]
inc eax
push eax
call dword [0x61c024]
add esp, 4
mov dword [esi + 0x8fc], eax
test eax, eax
jne 0x51163e
mov edi, 0x1b
mov dword [esp + 0x18], edi
jmp case.0x5115b4.1
push 2
lea eax, [esp + 0x54]
push esi
push eax
call fcn.0052ff40
add esp, 0xc
movups xmm0, xmmword [eax]
mov eax, dword [esp + 0x78]
movups xmmword [eax], xmm0
mov eax, dword [esi + 0x200]
test eax, eax
je 0x511670
push 0xa
cdq
push edx
push eax
push esi
call fcn.0050fe90
add esp, 0x10
mov eax, dword [esi + 0x204]
test eax, eax
je 0x511688
push 2
cdq
push edx
push eax
push esi
call fcn.0050fe90
add esp, 0x10
lea eax, [esp + 0x11]
push eax
lea eax, [esp + 0x1a]
push eax
push esi
call fcn.0051b110
mov edi, eax
add esp, 0xc
mov dword [esp + 0x18], edi
cmp edi, 0x59
jne 0x5116d6
cmp dword [esi + 0x28], 1
je 0x5116b3
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.00529410
add esp, 0x10
xor edi, edi
mov dword [esp + 0x18], edi
jmp case.0x5115b4.1
cmp byte [esi + 0xd02], 0
je 0x511749
push str.Transfer_was_pending__now_try_another
push esi
call fcn.0051faf0
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 0x511749
mov eax, dword [eax]
mov dword [esp + 0x30], eax
cmp dword [eax + 0x28], 2
je 0x51171d
push eax
mov dword [eax + 0x28], 2
call fcn.00527b00
add esp, 4
push 0
push dword [esp + 0x2c]
push dword [esp + 0x2c]
call fcn.00529490
push 8
push 0
push 0
push dword [esp + 0x48]
call fcn.0050fe90
mov eax, dword [esp + 0x4c]
add esp, 0x1c
mov byte [eax + 0xd02], 1
test edi, edi
jne case.0x5115b4.1
cmp byte [esp + 0x16], 0
je 0x51176e
cmp dword [esi + 0x28], 3
je case.0x5115b4.1
mov dword [esi + 0x28], 3
jmp case.0x5115b4.1
or ebp, 0xffffffff
cmp byte [esp + 0x11], 0
je 0x511794
cmp dword [esi + 0x28], 8
je case.0x5115b4.1
push esi
mov dword [esi + 0x28], 8
call fcn.00527010
jmp 0x5125a6
push dword [ebx]
call fcn.00527060
mov ecx, dword [esi + 0x28]
add esp, 4
test al, al
je 0x5117ba
cmp ecx, 5
je case.0x5115b4.1
mov dword [esi + 0x28], 5
jmp case.0x5115b4.1
cmp ecx, 4
je case.0x5115b4.1
mov dword [esi + 0x28], 4
jmp case.0x5115b4.1
mov eax, dword [ebx]
mov dword [esp + 0x1c], ebp
cmp byte [eax + 0x258], 0
je 0x5117e6
mov ebp, dword [eax + 0xac]
jmp 0x5117f7
cmp byte [eax + 0x260], 0
je 0x5117f4
mov ebp, dword [eax + 0x7c]
jmp 0x5117f7
mov ebp, dword [eax + 0x64]
push dword [eax + 0xc4]
push ebp
push esi
call fcn.00529bf0
add esp, 0xc
mov dword [esp + 0x1c], eax
test eax, eax
je 0x511837
push ebp
push 0x578cf8
xor edi, edi
mov dword [esi + 0x9bc], eax
push esi
mov byte [esi + 0x9d0], 1
mov dword [esp + 0x24], edi
call fcn.0051faf0
add esp, 0xc
cmp dword [esp + 0x1c], edi
jne 0x51184b
lea eax, [esp + 0x1c]
push eax
push esi
call fcn.0052a760
mov edi, eax
add esp, 8
mov dword [esp + 0x18], edi
mov eax, dword [esp + 0x74]
push esi
push eax
call fcn.00513020
mov ebp, eax
add esp, 8
test ebp, ebp
jne 0x5127ce
cmp dword [esp + 0x1c], eax
je 0x511883
lea eax, [esp + 0x11]
push eax
push esi
call fcn.0052a2a0
mov edi, eax
add esp, 8
mov dword [esp + 0x18], edi
test edi, edi
je 0x511895
mov dword [ebx], ebp
test edi, edi
je case.0x5115b4.1
mov byte [esp + 0x10], 1
jmp case.0x5115b4.1
or ebp, 0xffffffff
cmp byte [esp + 0x11], 0
jne 0x511778
jmp 0x511794
lea eax, [esp + 0x11]
push eax
push esi
call fcn.0052bc00
mov edi, eax
add esp, 8
mov eax, dword [ebx]
mov dword [esp + 0x18], edi
cmp byte [eax + 0x25c], 0
je 0x5118f7
xor edi, edi
or ebp, 0xffffffff
push edi
push edi
push esi
mov dword [esp + 0x24], edi
call fcn.00510e20
add esp, 0xc
cmp dword [esi + 0x28], 2
je case.0x5115b4.1
push esi
mov dword [esi + 0x28], 2
call fcn.00527b00
jmp 0x5125a6
test edi, edi
jne 0x51188b
cmp dword [eax + 0xb8], 2
jne 0x511911
cmp byte [eax + 0x256], 0
je case.0x5115b4.1
push eax
call fcn.00526f70
add esp, 4
test al, al
je case.0x5115b4.1
or ebp, 0xffffffff
cmp dword [esi + 0x28], 6
je case.0x5115b4.1
mov dword [esi + 0x28], 6
jmp case.0x5115b4.1
lea eax, [esp + 0x17]
push eax
push 0
push dword [ebx]
push esi
call fcn.005208f0
add esp, 0x10
mov edi, eax
cmp byte [esp + 0x17], 0
mov dword [esp + 0x18], edi
je 0x5119c7
test edi, edi
jne 0x5119cf
mov eax, dword [ebx]
cmp dword [eax + 0xb8], 2
jne 0x511972
cmp byte [eax + 0x256], 0
je 0x51197f
push eax
call fcn.00527060
add esp, 4
test al, al
je 0x511988
cmp dword [esi + 0x28], 5
jmp 0x5117a8
mov eax, dword [ebx]
or ebp, 0xffffffff
mov cl, byte [eax + 0x25b]
xor eax, eax
test cl, cl
sete al
add eax, 5
cmp dword [esi + 0x28], eax
je case.0x5115b4.1
mov dword [esi + 0x28], eax
xor eax, eax
test cl, cl
sete al
mov eax, dword [eax*4 + 0x578b74]
test eax, eax
je case.0x5115b4.1
push esi
call eax
jmp 0x5125a6
test edi, edi
je case.0x5115b4.1
push esi
call fcn.00515730
push 1
push edi
push esi
call fcn.00510e20
add esp, 0x10
mov byte [esp + 0x10], 1
jmp case.0x5115b4.1
mov eax, dword [ebx]
xor ecx, ecx
mov byte [esp + 0x11], cl
mov dword [esp + 0x30], eax
cmp byte [eax + 0x254], cl
je 0x511a26
cmp byte [eax + 0x267], cl
je 0x511a32
mov eax, dword [eax + 0x2a0]
cmp dword [eax + 0x18], ecx
jne 0x511aa1
xor edi, edi
mov byte [esp + 0x11], 1
mov dword [esp + 0x18], edi
jmp 0x511aeb
cmp byte [eax + 0x267], cl
jne 0x511ad9
push 0
push esi
call fcn.00527080
mov ecx, eax
add esp, 8
mov dword [esp + 0x20], ecx
mov edi, ecx
test ecx, ecx
je 0x511a6c
mov dword [esp + 0x18], edi
push esi
call fcn.00515730
push 1
push dword [esp + 0x28]
push esi
call fcn.00510e20
add esp, 0x10
mov byte [esp + 0x10], 1
jmp case.0x5115b4.1
mov edi, dword [esp + 0x30]
cmp dword [edi + 0xb8], 2
jne 0x511a82
cmp byte [edi + 0x256], 0
je 0x511aa1
cmp byte [edi + 0x25b], 0
je 0x511aad
cmp byte [edi + 0x258], 0
je 0x511aad
push edi
call fcn.00527060
add esp, 4
test al, al
je 0x511aa9
xor edi, edi
mov dword [esp + 0x18], edi
jmp 0x511aeb
mov ecx, dword [esp + 0x20]
mov eax, dword [edi + 0x2a0]
mov eax, dword [eax + 0x14]
test eax, eax
je 0x511acd
lea ecx, [esp + 0x11]
push ecx
push esi
call eax
mov ecx, eax
add esp, 8
test ecx, ecx
je 0x511ad2
jmp 0x511ad9
mov byte [esp + 0x11], 1
mov byte [edi + 0x267], 1
mov edi, ecx
mov dword [esp + 0x18], edi
mov dword [esp + 0x20], edi
test edi, edi
jne 0x511a4d
cmp byte [esp + 0x11], 0
jne 0x511b0c
cmp dword [esi + 0x28], 7
mov edx, dword [esp + 0x78]
je 0x5125ad
mov dword [esi + 0x28], 7
jmp 0x5125ad
cmp dword [esi + 0x28], 8
je 0x511b22
push esi
mov dword [esi + 0x28], 8
call fcn.00527010
add esp, 4
or ebp, 0xffffffff
jmp case.0x5115b4.1
mov ecx, dword [ebx]
test ecx, ecx
je 0x511b6b
mov eax, dword [ecx + 0x2a0]
cmp dword [eax + 0x18], ebp
je 0x511b6b
mov byte [esp + 0x11], 0
mov eax, dword [ecx + 0x2a0]
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 0x5119cf
mov al, byte [esp + 0x11]
jmp 0x511b7c
mov al, 1
xor edi, edi
mov byte [esp + 0x11], al
mov ecx, 7
mov dword [esp + 0x18], edi
test al, al
je case.0x5115b4.1
cmp ecx, 8
jmp 0x511b10
cmp dword [esi + 0x1d0], ebp
je 0x511c29
mov eax, dword [esi + 0x74]
test eax, eax
jne 0x511ba3
mov eax, dword [esi + 0x70]
test eax, eax
je 0x511baa
mov byte [eax + 0xe2], 1
push dword [esi + 0xdbc]
lea eax, [esi + 0xd8c]
push dword [esi + 0xd88]
push eax
lea eax, [esi + 0xd58]
push eax
push dword [esi + 0x1d4]
mov eax, dword [esi + 0x1d0]
call eax
mov ecx, dword [esi + 0x74]
add esp, 0x14
mov edx, eax
test ecx, ecx
je 0x511be7
mov byte [ecx + 0xe2], 0
jmp 0x511bf5
mov eax, dword [esi + 0x70]
test eax, eax
je 0x511bf5
mov byte [eax + 0xe2], 0
test edx, edx
je 0x511c29
push str.operation_aborted_by_pre_request_callback
push esi
call fcn.0051fa20
mov edi, 0x2a
push esi
mov dword [esp + 0x24], edi
call fcn.00515730
push 0
push edi
push esi
call fcn.00510e20
add esp, 0x18
mov byte [esp + 0x10], 1
jmp case.0x5115b4.1
cmp byte [esi + 0x718], 0
mov ecx, dword [ebx]
je 0x511c5a
push 0
push ecx
call fcn.00520530
add esp, 8
cmp dword [esi + 0x28], 0xe
je 0x511c4c
mov dword [esi + 0x28], 0xe
xor edi, edi
or ebp, 0xffffffff
mov dword [esp + 0x18], edi
jmp case.0x5115b4.1
mov eax, dword [ecx + 0x2a0]
xor edi, edi
mov eax, dword [eax + 8]
test eax, eax
je 0x511c78
lea ecx, [esp + 0x12]
push ecx
push esi
call eax
mov ecx, dword [ebx]
add esp, 8
mov edi, eax
mov dword [esp + 0x18], edi
test edi, edi
jne 0x511ce9
cmp byte [esp + 0x12], 0
jne 0x511c9b
cmp dword [esi + 0x28], 9
je 0x511c94
mov dword [esi + 0x28], 9
xor ebp, ebp
jmp case.0x5115b4.1
cmp byte [ecx + 0x266], 0
mov eax, dword [esi + 0x28]
je 0x511cba
cmp eax, 0xa
je 0x511cb3
mov dword [esi + 0x28], 0xa
xor ebp, ebp
jmp case.0x5115b4.1
cmp eax, 0xb
je 0x511b22
push 6
lea eax, [esp + 0x64]
mov dword [esi + 0x28], 0xb
push esi
push eax
mov byte [esi + 0x141], 0
call fcn.0052ff40
add esp, 0xc
or ebp, 0xffffffff
jmp case.0x5115b4.1
cmp edi, 0x37
jne 0x511da7
cmp byte [ecx + 0x25e], 0
je 0x511da7
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], ebp
push eax
push esi
call fcn.00528320
add esp, 8
test eax, eax
je 0x511d20
mov edi, eax
mov byte [esp + 0x10], 1
mov dword [esp + 0x18], edi
push esi
call fcn.00515730
push 0
push edi
push esi
call fcn.00510e20
mov ecx, dword [esp + 0x2c]
add esp, 0x10
test ecx, ecx
je 0x511d96
test eax, eax
je 0x511d55
cmp eax, 0x37
je 0x511d55
mov edi, eax
push ecx
mov dword [esp + 0x1c], edi
call dword [0x61c028]
jmp 0x5125a6
push 2
push ecx
push esi
call fcn.00527760
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x511d82
cmp dword [esi + 0x28], 2
je 0x511d7d
push esi
mov dword [esi + 0x28], 2
call fcn.00527b00
add esp, 4
or ebp, 0xffffffff
xor edi, edi
mov ecx, dword [esp + 0x1c]
push ecx
mov dword [esp + 0x1c], edi
call dword [0x61c028]
jmp 0x5125a6
push ecx
mov byte [esp + 0x14], 1
call dword [0x61c028]
jmp 0x5125a6
push esi
call fcn.00515730
add esp, 4
cmp dword [ebx], ebp
je 0x5119e1
push 0
push edi
push esi
call fcn.00510e20
add esp, 0xc
mov byte [esp + 0x10], 1
jmp case.0x5115b4.1
mov ecx, dword [ebx]
test ecx, ecx
je 0x511e23
mov eax, dword [ecx + 0x2a0]
cmp dword [eax + 0x1c], ebp
je 0x511e23
mov byte [esp + 0x12], 0
mov eax, dword [ecx + 0x2a0]
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 0x511e33
push esi
call fcn.00515730
push 0
push edi
push esi
call fcn.00510e20
add esp, 0x10
mov byte [esp + 0x10], 1
jmp case.0x5115b4.1
xor edi, edi
mov byte [esp + 0x12], 1
mov edx, 9
mov dword [esp + 0x18], edi
cmp byte [esp + 0x12], 0
je case.0x5115b4.1
mov cl, byte [ecx + 0x266]
xor eax, eax
test cl, cl
sete al
add eax, 0xa
cmp edx, eax
je 0x511b22
mov dword [esi + 0x28], eax
xor eax, eax
test cl, cl
sete al
mov eax, dword [eax*4 + 0x578b88]
test eax, eax
je 0x511b22
push esi
call eax
add esp, 4
or ebp, 0xffffffff
jmp case.0x5115b4.1
mov eax, dword [ebx]
xor ecx, ecx
mov dword [esp + 0x38], ecx
xor edi, edi
mov eax, dword [eax + 0x2a0]
lea edx, [edi + 0xa]
mov eax, dword [eax + 0x10]
test eax, eax
je 0x511eab
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 0x511e07
test ecx, ecx
je 0x511c94
xor eax, eax
cmp ecx, 1
sete al
lea eax, [eax*2 + 9]
cmp edx, eax
je 0x511b22
mov dword [esi + 0x28], eax
mov eax, dword [eax*4 + 0x578b60]
test eax, eax
je 0x511b22
push esi
call eax
add esp, 4
or ebp, 0xffffffff
jmp case.0x5115b4.1
mov ecx, dword [ebx]
mov eax, 0xb
cmp byte [ecx + 0x26d], 0
je 0x511f63
mov eax, dword [esp + 0x74]
add eax, 0x24
mov dword [esp + 0x28], eax
mov edx, dword [eax]
mov eax, 0xb
mov dword [esp + 0x30], edx
test edx, edx
je 0x511f63
mov ebp, dword [edx]
cmp dword [ebp + 0x28], 2
je 0x511f3c
push ebp
mov dword [ebp + 0x28], 2
call fcn.00527b00
mov edx, dword [esp + 0x34]
add esp, 4
push 0
push edx
push dword [esp + 0x30]
call fcn.00529490
push 8
push 0
push 0
push ebp
call fcn.0050fe90
mov byte [ebp + 0xd02], 1
add esp, 0x1c
mov ecx, dword [ebx]
mov eax, dword [esi + 0x28]
cmp dword [ecx + 0x2b8], 0xffffffff
jne 0x511f8d
cmp dword [ecx + 0x2bc], 0xffffffff
jne 0x511f8d
cmp eax, 0xe
je 0x511b22
mov dword [esi + 0x28], 0xe
or ebp, 0xffffffff
jmp case.0x5115b4.1
cmp eax, 0xc
je 0x511b22
mov dword [esi + 0x28], 0xc
or ebp, 0xffffffff
jmp case.0x5115b4.1
push esi
call fcn.005300a0
add esp, 4
test eax, eax
je 0x511fc3
mov eax, 0x2a
mov edi, eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x18], edi
jmp 0x511fe9
mov ecx, dword [esp + 0x78]
sub esp, 0x10
mov eax, esp
movups xmm0, xmmword [ecx]
push esi
movups xmmword [eax], xmm0
call fcn.00531550
add esp, 0x14
mov dword [esp + 0x30], eax
mov edi, eax
mov dword [esp + 0x18], edi
test eax, eax
je 0x512021
mov edx, dword [ebx]
mov ecx, dword [edx + 0x2a0]
test byte [ecx + 0x4c], 2
jne 0x512007
cmp eax, 0x5c
je 0x512007
push 2
push edx
call fcn.00520530
add esp, 8
push esi
call fcn.00515730
push 1
push dword [esp + 0x38]
push esi
call fcn.00510e20
add esp, 0x10
jmp case.0x5115b4.1
mov eax, dword [esi + 0x230]
xorps xmm0, xmm0
mov ecx, dword [esi + 0x234]
or eax, ecx
movlpd qword [esp + 0x30], xmm0
je 0x512086
mov edx, dword [esp + 0x78]
sub esp, 0x10
mov eax, esp
sub esp, 0x10
movups xmm0, xmmword [edx]
mov edx, dword [esi + 0x230]
movups xmmword [eax], xmm0
mov eax, esp
movups xmm0, xmmword [esi + 0x808]
push ecx
push edx
push dword [esi + 0x81c]
movups xmmword [eax], xmm0
push dword [esi + 0x818]
push dword [esi + 0x76c]
push dword [esi + 0x768]
call fcn.0052fb80
add esp, 0x38
mov dword [esp + 0x20], edx
jmp 0x512092
mov eax, dword [esp + 0x34]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x30]
mov ecx, dword [esi + 0x23c]
xorps xmm0, xmm0
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0x238]
or eax, ecx
movlpd qword [esp + 0x28], xmm0
je 0x5120f9
mov edx, dword [esp + 0x78]
sub esp, 0x10
mov eax, esp
sub esp, 0x10
movups xmm0, xmmword [edx]
mov edx, dword [esi + 0x238]
movups xmmword [eax], xmm0
mov eax, esp
movups xmm0, xmmword [esi + 0x820]
push ecx
push edx
push dword [esi + 0x834]
movups xmmword [eax], xmm0
push dword [esi + 0x830]
push dword [esi + 0x764]
push dword [esi + 0x760]
call fcn.0052fb80
add esp, 0x38
mov ecx, eax
jmp 0x512101
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x1c]
or eax, dword [esp + 0x20]
jne 0x51213b
mov eax, ecx
or eax, edx
jne 0x51213b
cmp dword [esi + 0x28], 0xc
je 0x51211e
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.005303f0
add esp, 0x14
jmp case.0x5115b4.1
cmp dword [esp + 0x20], edx
jl 0x512160
mov eax, dword [esp + 0x1c]
jg 0x51214b
cmp eax, ecx
jb 0x512160
push 0xb
push dword [esp + 0x24]
push eax
push esi
call fcn.0050fe90
add esp, 0x10
jmp case.0x5115b4.1
push 0xb
push edx
push ecx
push esi
call fcn.0050fe90
add esp, 0x10
jmp case.0x5115b4.1
mov eax, dword [esi + 0x230]
xorps xmm0, xmm0
mov ecx, dword [esi + 0x234]
or eax, ecx
mov dword [esp + 0x1c], ebp
mov byte [esp + 0x14], 0
mov byte [esp + 0x15], 0
movlpd qword [esp + 0x30], xmm0
je 0x5121e5
mov edx, dword [esp + 0x78]
sub esp, 0x10
mov eax, esp
sub esp, 0x10
movups xmm0, xmmword [edx]
mov edx, dword [esi + 0x230]
movups xmmword [eax], xmm0
mov eax, esp
movups xmm0, xmmword [esi + 0x808]
push ecx
push edx
push dword [esi + 0x81c]
movups xmmword [eax], xmm0
push dword [esi + 0x818]
push dword [esi + 0x76c]
push dword [esi + 0x768]
call fcn.0052fb80
add esp, 0x38
mov dword [esp + 0x24], edx
jmp 0x5121f1
mov eax, dword [esp + 0x34]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x30]
mov ecx, dword [esi + 0x23c]
xorps xmm0, xmm0
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0x238]
or eax, ecx
movlpd qword [esp + 0x28], xmm0
je 0x51225c
mov edx, dword [esp + 0x78]
sub esp, 0x10
mov eax, esp
sub esp, 0x10
movups xmm0, xmmword [edx]
mov edx, dword [esi + 0x238]
movups xmmword [eax], xmm0
mov eax, esp
movups xmm0, xmmword [esi + 0x820]
push ecx
push edx
push dword [esi + 0x834]
movups xmmword [eax], xmm0
push dword [esi + 0x830]
push dword [esi + 0x764]
push dword [esi + 0x760]
call fcn.0052fb80
add esp, 0x38
mov dword [esp + 0x28], eax
mov ecx, eax
jmp 0x512268
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 0x512462
mov eax, ecx
or eax, edx
jne 0x512462
lea eax, [esp + 0x15]
push eax
lea eax, [esp + 0x17]
push eax
push esi
push dword [ebx]
call fcn.00528010
add esp, 0x10
mov edi, eax
cmp byte [esp + 0x13], 0
mov dword [esp + 0x18], edi
jne 0x5122e9
cmp edi, 0x38
je 0x5122e9
cmp edi, 0x5c
jne 0x512375
mov ecx, dword [ebx]
mov eax, dword [ecx + 0x2a0]
test byte [eax + 0x4c], 2
jne 0x5122d2
cmp edi, 0x5c
je 0x5122d2
push 2
push ecx
call fcn.00520530
add esp, 8
push esi
call fcn.00515730
push 1
push edi
push esi
call fcn.00510e20
add esp, 0x10
jmp case.0x5115b4.1
lea eax, [esp + 0x1c]
push eax
push esi
call fcn.00528320
add esp, 8
test eax, eax
jne 0x512367
cmp dword [esp + 0x1c], ebp
setne al
mov byte [esp + 0x14], al
test al, al
je 0x512375
push esi
mov byte [esp + 0x17], 1
call fcn.00515730
add esp, 4
mov edi, 2
push 0
push 0
push esi
call fcn.00510e20
push edi
push dword [esp + 0x2c]
push esi
call fcn.00527760
mov edi, eax
add esp, 0x18
mov dword [esp + 0x18], edi
test edi, edi
jne 0x512358
cmp dword [esi + 0x28], 2
je 0x512355
push esi
mov dword [esi + 0x28], 2
call fcn.00527b00
add esp, 4
or ebp, 0xffffffff
push dword [esp + 0x1c]
call dword [0x61c028]
jmp 0x5125a6
test edi, edi
jne 0x5122b4
mov edi, eax
mov dword [esp + 0x18], edi
test edi, edi
jne 0x5122b4
cmp byte [esp + 0x13], 0
je 0x512441
push esi
call fcn.00515730
add esp, 4
cmp byte [esp + 0x14], 0
jne 0x512318
cmp dword [esi + 0x128], ebp
jne 0x51241a
cmp dword [esi + 0x124], ebp
je 0x512401
push dword [esp + 0x1c]
call dword [0x61c028]
mov eax, dword [esi + 0x124]
push 1
push eax
push esi
mov dword [esp + 0x2c], eax
mov dword [esi + 0x124], ebp
call fcn.00527760
push dword [esp + 0x2c]
mov edi, eax
mov dword [esp + 0x2c], edi
call dword [0x61c028]
add esp, 0x14
test edi, edi
je 0x512401
push 1
push edi
push esi
mov byte [esp + 0x1c], 1
call fcn.00510e20
mov edi, eax
add esp, 0xc
mov dword [esp + 0x18], edi
test edi, edi
jne case.0x5115b4.1
cmp dword [esi + 0x28], 0xe
je 0x511b22
mov dword [esi + 0x28], 0xe
or ebp, 0xffffffff
jmp case.0x5115b4.1
push dword [esp + 0x1c]
call dword [0x61c028]
mov eax, dword [esi + 0x128]
add esp, 4
mov dword [esp + 0x1c], eax
mov edi, 3
mov dword [esi + 0x128], ebp
jmp 0x51231d
cmp byte [esp + 0x15], 0
je case.0x5115b4.1
push 8
push 0
push 0
push esi
call fcn.0050fe90
add esp, 0x10
xor ebp, ebp
jmp case.0x5115b4.1
mov ecx, dword [esp + 0x78]
sub esp, 0x10
mov eax, esp
movups xmm0, xmmword [ecx]
push esi
movups xmmword [eax], xmm0
call fcn.005303f0
add esp, 0x14
cmp dword [esi + 0x28], 0xd
je 0x512487
mov dword [esi + 0x28], 0xd
mov ecx, dword [esp + 0x24]
cmp ecx, dword [esp + 0x30]
jl 0x5124b1
mov eax, dword [esp + 0x20]
jg 0x5124bb
mov edx, dword [esp + 0x28]
cmp eax, edx
jb 0x5124b5
push 0xb
push ecx
push eax
push esi
call fcn.0050fe90
add esp, 0x10
jmp case.0x5115b4.1
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x30]
mov eax, edx
push 0xb
push ecx
push eax
push esi
call fcn.0050fe90
add esp, 0x10
jmp case.0x5115b4.1
mov eax, dword [ebx]
or ebp, 0xffffffff
test eax, eax
je 0x512555
cmp byte [eax + 0x26d], 0
je 0x512540
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 0x512540
mov eax, dword [eax]
mov dword [esp + 0x30], eax
cmp dword [eax + 0x28], 2
je 0x512514
push eax
mov dword [eax + 0x28], 2
call fcn.00527b00
add esp, 4
push 0
push dword [esp + 0x2c]
push dword [esp + 0x2c]
call fcn.00529490
push 8
push 0
push 0
push dword [esp + 0x48]
call fcn.0050fe90
mov eax, dword [esp + 0x4c]
add esp, 0x1c
mov byte [eax + 0xd02], 1
push 0
push edi
push esi
call fcn.00510e20
add esp, 0xc
test edi, edi
cmove edi, eax
mov dword [esp + 0x18], edi
cmp dword [esi + 0x28], 0xf
je case.0x5115b4.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 0x51259a
push esi
call fcn.00526f90
push 0
lea eax, [esi + 0x1c]
push eax
mov eax, dword [esp + 0x3c]
add eax, 0x2f4
push eax
call fcn.00529490
push dword [esp + 0x40]
push esi
call fcn.00519e80
add esp, 0x18
push esi
mov dword [ebx], 0
call fcn.005100a0
add esp, 4
mov edx, dword [esp + 0x78]
cmp dword [ebx], 0
je 0x5125e9
mov eax, dword [esi + 0x28]
mov ecx, dword [esp + 0x74]
sub eax, 2
cmp eax, 5
ja 0x5125ed
cmp ebp, 0xffffffff
je 0x5125ed
cmp byte [ecx + 0xe1], 0
jne 0x5125ed
push 1
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x18]
push eax
push edx
push esi
call fcn.005112e0
mov edi, dword [esp + 0x2c]
add esp, 0x14
mov ecx, dword [esp + 0x74]
mov eax, dword [esi + 0x28]
cmp eax, 0xf
jge 0x512764
test edi, edi
je 0x512701
add ecx, 0x24
mov dword [esp + 0x28], ecx
mov ecx, dword [ecx]
mov dword [esp + 0x30], ecx
test ecx, ecx
je 0x512653
mov ebp, dword [ecx]
cmp dword [ebp + 0x28], 2
je 0x51262e
push ebp
mov dword [ebp + 0x28], 2
call fcn.00527b00
mov ecx, dword [esp + 0x34]
add esp, 4
push 0
push ecx
push dword [esp + 0x30]
call fcn.00529490
push 8
push 0
push 0
push ebp
call fcn.0050fe90
mov byte [ebp + 0xd02], 1
add esp, 0x1c
mov eax, dword [esi + 0x28]
mov ebp, dword [ebx]
test ebp, ebp
je 0x5126a6
cmp byte [esp + 0x10], 0
je 0x5126b4
cmp edi, 0x1c
push esi
sete byte [esp + 0x40]
call fcn.00526f90
push 0
lea eax, [esi + 0x1c]
push eax
lea eax, [ebp + 0x2f4]
push eax
call fcn.00529490
push ebp
push esi
call fcn.00519e80
push 1
push ebp
push esi
mov dword [ebx], 0
call fcn.005187f0
push dword [esp + 0x60]
push ebp
push esi
call fcn.0051b330
add esp, 0x30
jmp 0x5126b4
cmp eax, 2
jne 0x5126b4
push esi
call fcn.00515730
add esp, 4
cmp dword [esi + 0x28], 0xf
je 0x512761
mov eax, dword [esi + 0x70]
mov dword [esi + 0x28], 0xf
dec dword [eax + 0x10]
mov ebp, dword [ebx]
test ebp, ebp
je 0x5126f3
push esi
call fcn.00526f90
push 0
lea eax, [esi + 0x1c]
push eax
lea eax, [ebp + 0x2f4]
push eax
call fcn.00529490
push ebp
push esi
call fcn.00519e80
add esp, 0x18
push esi
mov dword [ebx], 0
call fcn.005100a0
jmp 0x51275e
cmp dword [ebx], 0
je 0x512764
push esi
call fcn.005300a0
add esp, 4
test eax, eax
je 0x512764
push 2
push dword [ebx]
mov edi, 0x2a
mov dword [esp + 0x20], edi
call fcn.00520530
mov ecx, dword [esi + 0x28]
xor eax, eax
add esp, 8
cmp ecx, 0xe
setge al
add eax, 0xe
cmp ecx, eax
je 0x512761
mov dword [esi + 0x28], eax
cmp ecx, 0xe
jl 0x512748
mov eax, dword [esi + 0x70]
dec dword [eax + 0x10]
xor eax, eax
cmp ecx, 0xe
setge al
mov eax, dword [eax*4 + 0x578b98]
test eax, eax
je 0x512761
push esi
call eax
add esp, 4
or ebp, 0xffffffff
cmp dword [esi + 0x28], 0xf
jne 0x5127b1
mov eax, dword [esi + 0x6e4]
test eax, eax
je 0x51277d
push edi
push esi
call eax
add esp, 8
jmp 0x5127a4
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.00529410
add esp, 0x10
xor ebp, ebp
cmp dword [esi + 0x28], 0x10
je 0x5127b1
mov dword [esi + 0x28], 0x10
mov ecx, dword [esp + 0x74]
cmp ebp, 0xffffffff
je 0x5114f0
cmp byte [ecx + 0xe1], 0
jne 0x5114f0
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