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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x190
mov eax, dword [ecx + 0x24]
movsd xmm0, qword [ecx + 8]
mov esi, dword [ecx + 0x30]
mov ebx, ecx
mov edx, 0xffff
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
mov edi, 0xffff
mov dword [esp + 0xcc], eax
mov eax, dword [ecx]
movaps xmmword [esp + 0x170], xmm0
mov dword [esp + 0xc0], eax
mov eax, dword [ecx + 4]
mov dword [esp + 0xc4], eax
mov eax, dword [ecx + 0x34]
lea ecx, [esp + 0x10]
mov dword [esp + 0xc8], eax
call fcn.004848c0
test eax, eax
jne 0x494ed6
add edi, dword [esp + 0x14]
mov dword [esp + 0xbc], esi
jo 0x494efc
mov eax, dword [ebx + 0x20]
mov esi, dword [ebx + 0x38]
lea ecx, [esp + 0x40]
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0xb4], eax
mov eax, dword [esp + 0x10]
mov edx, esi
mov dword [esp + 0xb0], eax
mov eax, dword [ebx + 0x10]
mov dword [esp + 0xac], eax
mov eax, dword [ebx + 0x14]
mov dword [esp + 0xa8], eax
movzx eax, byte [ebx + 0x3c]
mov byte [esp + 0xb], al
movzx eax, byte [ebx + 0x3d]
mov byte [esp + 0xa], al
mov eax, dword [ebx + 0x18]
mov dword [esp + 0xa4], eax
mov eax, dword [ebx + 0x2c]
mov dword [esp + 0xb8], eax
call fcn.004848c0
test eax, eax
jne 0x494f22
mov eax, dword [esp + 0x44]
add eax, esi
jo 0x494763
mov dword [esp + 0x44], eax
mov eax, dword [0x94bccc]
test eax, eax
je 0x494d15
movsd xmm1, qword [esp + 0x18]
mov eax, dword [ebx + 0x28]
movsd xmm2, qword [esp + 0x10]
movsd xmm0, qword [esp + 0x10]
movsd xmm3, qword [esp + 0x28]
movsd qword [esp + 0x118], xmm1
movsd qword [esp + 0x108], xmm1
movsd qword [esp + 0xf8], xmm1
movsd xmm1, qword [esp + 0x40]
mov dword [esp + 4], eax
movzx eax, word [esp + 0x6c]
movsd qword [esp + 0x140], xmm2
movsd xmm2, qword [esp + 0x78]
movsd qword [esp + 0x110], xmm0
movsd qword [esp + 0x100], xmm0
movsd qword [esp + 0xf0], xmm0
movsd qword [esp + 0x130], xmm3
movaps xmmword [esp + 0xe0], xmm1
movsd xmm1, qword [esp + 0x18]
mov word [esp + 0x58], ax
mov eax, dword [esp + 0x68]
movsd qword [esp + 0x120], xmm2
movsd qword [esp + 0x148], xmm1
movsd xmm1, qword [esp + 0x30]
mov dword [esp + 0x54], eax
movsd qword [esp + 0x138], xmm1
movsd xmm1, qword [esp + 0x80]
movsd qword [esp + 0x128], xmm1
call fcn.00721e50
test eax, eax
je 0x494f48
movdqu xmm1, xmmword [eax]
movd edx, xmm1
pshufd xmm0, xmm1, 0x55
movdqa xmmword [esp + 0x160], xmm1
add edx, 1
movd ecx, xmm0
adc ecx, 0
mov dword [eax], edx
mov edx, 0x1b0
xor ebx, ebx
mov dword [eax + 4], ecx
xor ecx, ecx
movsd xmm1, qword [esp + 0x148]
movzx eax, byte [esp + 0x67]
movsd xmm3, qword [esp + 0x130]
movsd xmm2, qword [esp + 0x120]
movsd xmm0, qword [esp + 0x140]
movsd qword [esp + 0x80], xmm1
movsd xmm1, qword [esp + 0x138]
mov byte [esp + 0xe], al
movzx eax, word [esp + 0x65]
movsd qword [esp + 0x68], xmm3
movsd qword [esp + 0x90], xmm2
movsd xmm3, qword [esp + 0x28]
movsd xmm2, qword [esp + 0x110]
movsd qword [esp + 0x78], xmm0
movsd qword [esp + 0x70], xmm1
movsd xmm1, qword [esp + 0x128]
mov word [esp + 0xc], ax
movzx eax, word [esp + 0x58]
movsd qword [esp + 0x10], xmm3
movsd qword [esp + 0xd0], xmm2
movsd xmm3, qword [esp + 0x100]
movsd xmm2, qword [esp + 0xf0]
movsd qword [esp + 0x98], xmm1
movsd xmm1, qword [esp + 0x37]
mov word [esp + 0x60], ax
mov eax, dword [esp + 0x54]
movsd qword [esp + 0x40], xmm3
movsd qword [esp + 0x150], xmm2
movsd qword [esp + 0x1f], xmm1
movsd xmm1, qword [esp + 0x30]
mov dword [esp + 0x5c], eax
movsd qword [esp + 0x18], xmm1
movsd xmm1, qword [esp + 0x118]
movsd qword [esp + 0xd8], xmm1
movsd xmm1, qword [esp + 0x108]
movsd qword [esp + 0x48], xmm1
movsd xmm1, qword [esp + 0xf8]
movsd qword [esp + 0x158], xmm1
movzx eax, byte [0x94bfc5]
call fcn.0071ee80
test eax, eax
je 0x494f66
mov dword [eax], 1
mov dword [eax + 4], 1
mov dword [eax + 8], 0
mov byte [eax + 0xc], 0
cmp dword [esp + 0xc0], 1
movaps xmm0, xmmword [esp + 0x170]
movaps xmm2, xmmword [esp + 0xe0]
movzx ecx, word [esp + 0x28]
sbb ebx, ebx
mov word [eax + 0xd], cx
or ebx, dword [esp + 0xc4]
movzx ecx, byte [esp + 0x2a]
mov byte [eax + 0xf], cl
mov ecx, dword [esp + 0xcc]
movlps qword [eax + 0x10], xmm0
mov dword [eax + 0x18], ecx
mov ecx, dword [esp + 0xbc]
mov dword [eax + 0x1c], 0
mov dword [eax + 0x20], ebx
mov dword [eax + 0x24], 0
mov dword [eax + 0x28], ecx
mov ecx, dword [esp + 0xc8]
mov dword [eax + 0x2c], 0
mov dword [eax + 0x30], ecx
mov dword [eax + 0x34], 0
mov dword [eax + 0x38], 0
mov byte [eax + 0x3c], 1
movzx ecx, word [esp + 0xc]
mov word [eax + 0x3d], cx
movzx ecx, byte [esp + 0xe]
mov byte [eax + 0x3f], cl
mov ecx, dword [esp + 0xa8]
mov dword [eax + 0x40], 0
mov dword [eax + 0x44], 1
mov dword [eax + 0x48], 0
mov dword [eax + 0x54], ecx
mov ecx, dword [esp + 0xac]
mov dword [eax + 0x50], ecx
mov ecx, dword [esp + 0xa4]
mov dword [eax + 0x58], ecx
mov ecx, dword [esp + 0xb0]
mov dword [eax + 0x60], ecx
mov dword [eax + 0x64], edi
mov dword [eax + 0x68], 0
mov ecx, dword [esp + 0xb4]
movsd xmm0, qword [esp + 0x78]
movsd xmm1, qword [esp + 0x80]
movsd qword [eax + 0x74], xmm1
movsd qword [eax + 0x6c], xmm0
mov dword [eax + 0x7c], 0
movsd xmm0, qword [esp + 0x68]
movsd xmm1, qword [esp + 0x70]
movsd qword [eax + 0x88], xmm1
movsd qword [eax + 0x80], xmm0
mov dword [eax + 0x90], 0
movsd xmm0, qword [esp + 0x90]
movsd xmm1, qword [esp + 0x98]
movsd qword [eax + 0x9c], xmm1
movsd qword [eax + 0x94], xmm0
mov dword [eax + 0xa4], 0
mov dword [eax + 0xa8], 8
mov dword [eax + 0xac], 0
mov dword [eax + 0xb0], 0
mov dword [eax + 0xb4], 0
mov dword [eax + 0xb8], ecx
movzx ecx, byte [esp + 0xb]
mov dword [eax + 0xbc], 0
mov dword [eax + 0xc0], 0
mov dword [eax + 0xc4], 0x7fffffff
mov byte [eax + 0xc8], cl
movzx ecx, byte [esp + 0xa]
mov byte [eax + 0xc9], cl
mov ecx, dword [esp + 0x5c]
mov dword [eax + 0xca], ecx
movzx ecx, word [esp + 0x60]
mov word [eax + 0xce], cx
mov byte [eax + 0xd0], 3
mov ecx, dword [esp + 0xb8]
movsd xmm0, qword [esp + 0x1f]
movsd qword [eax + 0xe0], xmm0
movsd xmm0, qword [esp + 0x10]
movsd xmm1, qword [esp + 0x18]
movsd qword [eax + 0xd9], xmm1
movsd qword [eax + 0xd1], xmm0
mov dword [eax + 0xe8], 0
mov dword [eax + 0xf0], 0
mov dword [eax + 0xf4], ecx
mov dword [eax + 0xf8], 0
mov ecx, dword [esp + 4]
movsd xmm0, qword [esp + 0xd0]
movsd xmm1, qword [esp + 0xd8]
movsd qword [eax + 0x104], xmm1
movsd qword [eax + 0xfc], xmm0
mov dword [eax + 0x10c], 0
movsd xmm0, qword [esp + 0x40]
movsd xmm1, qword [esp + 0x48]
movsd qword [eax + 0x118], xmm1
movsd qword [eax + 0x110], xmm0
mov dword [eax + 0x120], 0
movsd xmm1, qword [esp + 0x158]
movsd xmm0, qword [esp + 0x150]
movsd qword [eax + 0x12c], xmm1
movaps xmm1, xmmword [esp + 0x160]
movsd qword [eax + 0x124], xmm0
mov dword [eax + 0x134], 0
movlps qword [eax + 0x140], xmm2
mov dword [eax + 0x148], 0
mov dword [eax + 0x14c], ecx
mov dword [eax + 0x150], 0x7fffffff
mov dword [eax + 0x154], esi
mov word [eax + 0x158], 1
movsd xmm2, qword [0x93a5a8]
movups xmmword [eax + 0x160], xmm1
movsd xmm1, qword [0x93a5a0]
mov dword [eax + 0x170], 0
mov dword [eax + 0x174], 4
mov dword [eax + 0x178], 0
movsd qword [eax + 0x184], xmm2
movsd qword [eax + 0x17c], xmm1
mov dword [eax + 0x190], 0
mov dword [eax + 0x194], 8
mov dword [eax + 0x198], 0
mov dword [eax + 0x19c], 0
mov dword [eax + 0x1a0], 0
mov dword [eax + 0x1a8], 1
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
movzx eax, byte [0x94a260]
test al, al
je 0x494770
movzx eax, al
cmp eax, 1
je 0x494d4b
cmp eax, 2
je 0x494d9b
mov ecx, 0x94a258
call fcn.007d3740
test al, al
je 0x494770
movzx eax, al
cmp eax, 2
je 0x494d9b
mov eax, dword [0x94a258]
mov ecx, dword [0x94bfb8]
cmp ecx, 2
jne 0x494770
cmp dword [0x94bcc0], 0
mov edx, dword [str.SetGlobalDefaultErrora_global_default_trace_dispatcher_has_already_been_set]
mov ecx, dword [0x94bcc8]
je 0x494d8b
mov dword [esp + 4], ecx
mov ecx, dword [esp + 4]
mov ecx, dword [ecx + 8]
dec ecx
and ecx, 0xfffffff8
lea edx, [ecx + edx + 8]
mov ecx, dword [esp + 4]
push eax
push edx
call dword [ecx + 0x14]
add esp, 8
test al, al
je 0x494770
mov eax, dword [0x94a258]
mov edx, dword [eax + 0x20]
test edx, edx
je 0x494f75
lea ecx, [eax + 0x1c]
movsd xmm0, qword [eax + 0x24]
mov dword [esp + 4], ecx
mov ecx, dword [eax + 0x1c]
mov dword [esp + 0x28], 0x826e10
mov dword [esp + 0x2c], 1
mov dword [esp + 0x38], 0
mov dword [esp + 0x78], ecx
lea ecx, [esp + 0x40]
mov dword [esp + 0x7c], edx
lea edx, [esp + 0x68]
movlps qword [esp + 0x80], xmm0
mov dword [esp + 0x88], 0
mov dword [esp + 0xd0], ecx
lea ecx, [esp + 0xd0]
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], eax
mov dword [esp + 0xd4], 0x494150
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 1
mov dword [esp + 0x30], ecx
lea ecx, [esp + 0x78]
mov dword [esp + 0x34], 1
mov dword [esp + 0x90], ecx
lea ecx, [esp + 0x28]
mov dword [esp + 0x94], ecx
lea ecx, [esp + 0x90]
mov dword [esp + 0x98], 0x81c698
mov dword [esp + 0x68], ecx
mov ecx, dword [esp + 4]
mov dword [esp + 0x6c], 1
mov dword [esp + 0x70], ecx
mov eax, dword [0x94bfb8]
cmp eax, 2
jne 0x494770
cmp dword [0x94bcc0], 0
mov edx, dword [str.SetGlobalDefaultErrora_global_default_trace_dispatcher_has_already_been_set]
mov ecx, dword [0x94bcc8]
je 0x494e9c
mov eax, dword [ecx + 8]
dec eax
and eax, 0xfffffff8
lea edx, [eax + edx + 8]
lea eax, [esp + 0x10]
mov dword [esp + 0xe0], edx
push eax
push edx
mov dword [esp + 0xc], ecx
call dword [ecx + 0x28]
add esp, 8
test al, al
je 0x494770
lea eax, [esp + 0x10]
push eax
push dword [esp + 0xe4]
mov eax, dword [esp + 0xc]
call dword [eax + 0x2c]
add esp, 8
jmp 0x494770
lea eax, [esp + 0x28]
mov ecx, str.invalid_initial_remote_window_size
mov edx, 0x22
mov dword [esp + 0x28], 3
push 0x826fd0
push 0x81c278
push eax
call fcn.007c1f60
lea eax, [esp + 0x28]
mov ecx, 0x93b384
mov edx, 0x2b
mov dword [esp + 0x28], 3
push 0x826fe0
push 0x81c278
push eax
call fcn.007c1f60
mov ecx, 0x826dbc
mov edx, 0x1b
mov dword [esp + 0x10], 3
push 0x826dd8
push 0x81c278
lea eax, [esp + 0x18]
push eax
call fcn.007c1f60
mov ecx, 0x93c0b4
mov edx, 0x46
push 0x93c14c
push 0x81c258
lea eax, [esp + 0x18]
push eax
call fcn.007c1f60
mov ecx, 8
mov edx, 0x1b0
call fcn.007c1490
mov ecx, 0x8a6758
mov edx, 0x22
push 0x826de8
call fcn.007c2000
int3