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

Disassembly:
sub esp, 0x48
mov eax, dword [0x75d580]
xor eax, esp
mov dword [esp + 0x44], eax
movups xmm0, xmmword [esp + 0x50]
push ebx
push ebp
mov ebp, dword [esp + 0x54]
push esi
mov esi, dword [esp + 0x6c]
push edi
xor edi, edi
mov dword [esp + 0x2c], ebp
mov byte [esp + 0x13], 0
mov byte [esp + 0x19], 0
mov byte [esp + 0x1a], 0
movups xmmword [esp + 0x44], xmm0
test esi, esi
je 0x4fdafa
cmp dword [esi + 0x11f0], 0xc0dedbad
jne 0x4fdafa
mov ecx, fcn.0050f440
nop word [eax + eax]
mov al, byte [ebp + 0xe5]
xor ebx, ebx
mov byte [esp + 0x12], 0
mov byte [ebp + 0xe5], bl
test al, al
je 0x4fcb2c
mov eax, dword [ebp + 0x24]
mov dword [esp + 0x24], eax
test eax, eax
je 0x4fcb2c
mov ebp, dword [eax]
cmp dword [ebp + 0x24], 2
je 0x4fcb02
mov dword [ebp + 0x24], 2
test ecx, ecx
je 0x4fcb02
push ebp
call fcn.0050f440
mov eax, dword [esp + 0x28]
add esp, 4
push 0
push eax
mov eax, dword [esp + 0x34]
add eax, 0x24
push eax
call fcn.00510dd0
push 8
push 0
push 0
push ebp
call fcn.004fb150
mov byte [ebp + 0x10f2], 1
add esp, 0x1c
mov ebp, dword [esp + 0x2c]
mov eax, dword [esi + 8]
test eax, eax
je 0x4fccb9
mov ecx, dword [esi + 0x24]
cmp ecx, 2
jle 0x4fcb46
cmp ecx, 0xf
jge 0x4fcb46
mov dword [eax], esi
cmp dword [esi + 8], ebx
je 0x4fccb9
mov eax, dword [esi + 0x24]
cmp eax, 2
jl 0x4fccb9
cmp eax, 0xf
jge 0x4fccb9
cmp eax, 8
setle al
movzx eax, al
push eax
lea eax, [esp + 0x48]
push eax
push esi
call fcn.0050bbc0
add esp, 0xc
test edx, edx
jg 0x4fccb9
jl 0x4fcb8e
test eax, eax
jae 0x4fccb9
mov eax, dword [esi + 0x24]
movups xmm0, xmmword [esi + 0xc08]
cmp eax, 3
jne 0x4fcbcc
sub esp, 0x10
mov eax, esp
sub esp, 0x10
movups xmmword [eax], xmm0
mov eax, esp
movups xmm0, xmmword [esp + 0x64]
movups xmmword [eax], xmm0
call fcn.00510b90
push edx
push eax
push str.Resolving_timed_out_after__I64d_milliseconds
push esi
call fcn.0050a560
add esp, 0x30
jmp 0x4fcc8b
cmp eax, 4
jne 0x4fcc00
sub esp, 0x10
mov eax, esp
sub esp, 0x10
movups xmmword [eax], xmm0
mov eax, esp
movups xmm0, xmmword [esp + 0x64]
movups xmmword [eax], xmm0
call fcn.00510b90
push edx
push eax
push str.Connection_timed_out_after__I64d_milliseconds
push esi
call fcn.0050a560
add esp, 0x30
jmp 0x4fcc8b
mov edx, dword [esi + 0x88]
mov eax, edx
mov ecx, dword [esi + 0x8c]
and eax, ecx
cmp eax, 0xffffffff
je 0x4fcc52
push ecx
push edx
push dword [esi + 0x9c]
push dword [esi + 0x98]
sub esp, 0x10
mov eax, esp
sub esp, 0x10
movups xmmword [eax], xmm0
mov eax, esp
movups xmm0, xmmword [esp + 0x74]
movups xmmword [eax], xmm0
call fcn.00510b90
add esp, 0x20
push edx
push eax
push str.Operation_timed_out_after__I64d_milliseconds_with__I64d_out_of__I64d_bytes_received
push esi
call fcn.0050a560
add esp, 0x20
jmp 0x4fcc8b
push dword [esi + 0x9c]
push dword [esi + 0x98]
sub esp, 0x10
mov eax, esp
sub esp, 0x10
movups xmmword [eax], xmm0
mov eax, esp
movups xmm0, xmmword [esp + 0x6c]
movups xmmword [eax], xmm0
call fcn.00510b90
add esp, 0x20
push edx
push eax
push str.Operation_timed_out_after__I64d_milliseconds_with__I64d_bytes_received
push esi
call fcn.0050a560
add esp, 0x18
cmp dword [esi + 0x24], 8
jle 0x4fcca3
push 2
push dword [esi + 8]
call fcn.0050b0d0
add esp, 8
mov byte [esp + 0x12], 1
push 1
mov edi, 0x1c
push edi
push esi
call fcn.004fc5c0
add esp, 0xc
jmp case.0x4fccc5.1
mov eax, dword [esi + 0x24]
cmp eax, 0x10
ja case.default.0x4fccc5
jmp dword [eax*4 + 0x4fdb14]
push esi
call fcn.0050f4d0
mov edi, eax
add esp, 4
test edi, edi
jne case.0x4fccc5.1
cmp dword [esi + 0x24], 2
je 0x4fccfe
mov eax, fcn.0050f440
mov dword [esi + 0x24], 2
test eax, eax
je 0x4fccfe
push esi
call fcn.0050f440
add esp, 4
push 1
push esi
call fcn.00517250
add esp, 8
or ebx, 0xffffffff
jmp case.0x4fccc5.1
push esi
call fcn.004fbaa0
mov edi, eax
add esp, 4
test edi, edi
jne case.0x4fccc5.1
push 2
push esi
call fcn.00517250
mov eax, dword [esi + 0x638]
add esp, 8
test eax, eax
je 0x4fcd47
push 0xa
cdq
push edx
push eax
push esi
call fcn.004fb150
add esp, 0x10
mov eax, dword [esi + 0x63c]
test eax, eax
je 0x4fcd5f
push 2
cdq
push edx
push eax
push esi
call fcn.004fb150
add esp, 0x10
lea eax, [esp + 0x13]
push eax
lea eax, [esp + 0x26]
push eax
push esi
call fcn.00505be0
mov edi, eax
add esp, 0xc
cmp edi, 0x59
jne 0x4fcda1
cmp dword [esi + 0x24], 1
je 0x4fcd86
mov dword [esi + 0x24], 1
lea eax, [esi + 0xc]
push eax
push esi
push dword [ebp + 0x28]
lea eax, [ebp + 0x24]
push eax
call fcn.00510d60
add esp, 0x10
xor edi, edi
jmp case.0x4fccc5.1
cmp byte [esi + 0x10f2], bl
je 0x4fcdbf
push str.Transfer_was_pending__now_try_another_n
push esi
call fcn.0050a640
push dword [esi + 0x78]
call fcn.004fdc70
add esp, 0xc
test edi, edi
jne case.0x4fccc5.1
cmp byte [esp + 0x22], bl
je 0x4fcde8
cmp dword [esi + 0x24], 3
mov ecx, fcn.0050f440
je 0x4fd8f2
mov dword [esi + 0x24], 3
jmp 0x4fd8f2
or ebx, 0xffffffff
cmp byte [esp + 0x13], 0
je 0x4fce1b
cmp dword [esi + 0x24], 8
je case.0x4fccc5.1
mov eax, fcn.0050ea50
mov dword [esi + 0x24], 8
test eax, eax
je case.0x4fccc5.1
push esi
call fcn.0050ea50
jmp 0x4fd8ea
push dword [esi + 8]
call fcn.0050ea80
add esp, 4
test al, al
jne 0x4fd012
cmp dword [esi + 0x24], 4
mov ecx, fcn.0050f440
je 0x4fd8f2
mov dword [esi + 0x24], 4
jmp 0x4fd8f2
mov edi, dword [esi + 8]
mov dword [esp + 0x14], ebx
cmp byte [edi + 0x510], bl
je 0x4fce60
mov eax, dword [edi + 0x34c]
jmp 0x4fce76
cmp byte [edi + 0x518], bl
je 0x4fce70
mov eax, dword [edi + 0x31c]
jmp 0x4fce76
mov eax, dword [edi + 0x304]
push dword [edi + 0x364]
mov dword [esp + 0x20], eax
push eax
push edi
call fcn.00511470
add esp, 0xc
mov dword [esp + 0x14], eax
test eax, eax
je 0x4fceb9
push dword [esp + 0x1c]
mov dword [edi + 0x6fc], eax
push 0x6b3e10
mov byte [edi + 0x708], 1
xor edi, edi
push esi
call fcn.0050a640
add esp, 0xc
cmp dword [esp + 0x14], ebx
jne 0x4fcecb
lea eax, [esp + 0x14]
push eax
push dword [esi + 8]
call fcn.00511d20
add esp, 8
mov edi, eax
push esi
push ebp
call fcn.004fdec0
add esp, 8
cmp dword [esp + 0x14], ebx
je 0x4fcef4
lea eax, [esp + 0x13]
push eax
push dword [esi + 8]
call fcn.005119f0
mov edi, eax
add esp, 8
test edi, edi
je 0x4fcf0b
mov dword [esi + 8], ebx
mov ecx, fcn.0050f440
test edi, edi
je 0x4fd8f2
mov byte [esp + 0x12], 1
jmp 0x4fd8f2
or ebx, 0xffffffff
cmp byte [esp + 0x13], 0
jne 0x4fcdf2
push dword [esi + 8]
call fcn.0050ea80
add esp, 4
test al, al
je 0x4fce2e
jmp 0x4fd012
lea eax, [esp + 0x13]
push eax
push dword [esi + 8]
call fcn.005140c0
mov edi, eax
add esp, 8
mov eax, dword [esi + 8]
cmp byte [eax + 0x514], bl
je 0x4fcf87
xor edi, edi
or ebx, 0xffffffff
push edi
push edi
push esi
call fcn.004fc5c0
add esp, 0xc
mov ecx, fcn.0050f440
cmp dword [esi + 0x24], 2
je 0x4fd8f2
mov dword [esi + 0x24], 2
test ecx, ecx
je 0x4fd8f2
push esi
call fcn.0050f440
jmp 0x4fd8ea
test edi, edi
jne 0x4fd06a
cmp dword [eax + 0x358], 2
jne 0x4fcfa4
cmp byte [eax + 0x50e], bl
je case.0x4fccc5.1
push eax
call fcn.0050ea30
add esp, 4
test al, al
je case.0x4fccc5.1
or ebx, 0xffffffff
mov ecx, fcn.0050f440
cmp dword [esi + 0x24], 6
je 0x4fd8f2
mov dword [esi + 0x24], 6
jmp 0x4fd8f2
lea eax, [esp + 0x23]
push eax
push 0
push dword [esi + 8]
call fcn.0050b400
add esp, 0xc
mov edi, eax
cmp byte [esp + 0x23], bl
je 0x4fd050
test edi, edi
jne 0x4fd058
mov eax, dword [esi + 8]
cmp dword [eax + 0x358], 2
jne 0x4fd005
cmp byte [eax + 0x50e], bl
je 0x4fd012
push eax
call fcn.0050ea80
add esp, 4
test al, al
je 0x4fd02d
cmp dword [esi + 0x24], 5
mov ecx, fcn.0050f440
je 0x4fd8f2
mov dword [esi + 0x24], 5
jmp 0x4fd8f2
mov eax, dword [esi + 8]
xor ecx, ecx
or ebx, 0xffffffff
cmp byte [eax + 0x513], cl
sete cl
add ecx, 5
push ecx
push esi
call fcn.004fc460
add esp, 8
jmp case.0x4fccc5.1
test edi, edi
je case.0x4fccc5.1
push esi
call fcn.004026b0
push 1
push edi
push esi
call fcn.004fc5c0
add esp, 0x10
mov byte [esp + 0x12], 1
jmp case.0x4fccc5.1
lea eax, [esp + 0x13]
push eax
push dword [esi + 8]
call fcn.004fdcd0
mov edi, eax
add esp, 8
test edi, edi
jne 0x4fd058
cmp byte [esp + 0x13], bl
jne 0x4fd0cb
cmp dword [esi + 0x24], 7
mov ecx, fcn.0050f440
je 0x4fd8f2
mov dword [esi + 0x24], 7
jmp 0x4fd8f2
lea eax, [esp + 0x13]
push eax
push dword [esi + 8]
call fcn.004fdd90
mov edi, eax
add esp, 8
test edi, edi
jne 0x4fd058
cmp byte [esp + 0x13], bl
je case.0x4fccc5.1
cmp dword [esi + 0x24], 8
je 0x4fd0ea
mov eax, fcn.0050ea50
mov dword [esi + 0x24], 8
test eax, eax
je 0x4fd0ea
push esi
call fcn.0050ea50
add esp, 4
or ebx, 0xffffffff
jmp case.0x4fccc5.1
cmp byte [esi + 0xb49], bl
je 0x4fd11e
push 0
push dword [esi + 8]
call fcn.0050b0d0
add esp, 8
cmp dword [esi + 0x24], 0xe
je 0x4fd114
mov dword [esi + 0x24], 0xe
xor edi, edi
or ebx, 0xffffffff
jmp case.0x4fccc5.1
lea eax, [esp + 0x19]
push eax
push esi
call fcn.004fc520
mov edi, eax
add esp, 8
test edi, edi
jne 0x4fd1be
cmp byte [esp + 0x19], bl
jne 0x4fd18a
cmp byte [esi + 0x10eb], bl
je 0x4fd176
mov eax, dword [esi + 0x10f8]
cmp eax, 7
je 0x4fd154
cmp eax, 5
jne 0x4fd176
push 0
push 0
push esi
call fcn.004fc5c0
add esp, 0xc
cmp dword [esi + 0x24], 0xe
je 0x4fd16e
mov dword [esi + 0x24], 0xe
or ebx, 0xffffffff
jmp case.0x4fccc5.1
cmp dword [esi + 0x24], 9
je 0x4fd183
mov dword [esi + 0x24], 9
xor ebx, ebx
jmp case.0x4fccc5.1
mov eax, dword [esi + 8]
cmp byte [eax + 0x51e], bl
je 0x4fd1a9
cmp dword [esi + 0x24], 0xa
je 0x4fd1a2
mov dword [esi + 0x24], 0xa
xor ebx, ebx
jmp case.0x4fccc5.1
cmp dword [esi + 0x24], 0xb
je 0x4fd1b6
mov dword [esi + 0x24], 0xb
or ebx, 0xffffffff
jmp case.0x4fccc5.1
cmp edi, 0x37
jne 0x4fd27b
mov eax, dword [esi + 8]
cmp byte [eax + 0x516], bl
je 0x4fd27b
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], ebx
push ecx
push eax
call fcn.0050fbc0
add esp, 8
test eax, eax
je 0x4fd1f3
mov edi, eax
mov byte [esp + 0x12], 1
push esi
call fcn.004026b0
push 0
push edi
push esi
call fcn.004fc5c0
mov ecx, dword [esp + 0x24]
add esp, 0x10
test ecx, ecx
je 0x4fd26a
test eax, eax
je 0x4fd224
cmp eax, 0x37
je 0x4fd224
push ecx
mov edi, eax
call dword [0x75d954]
jmp 0x4fd8ea
push 2
push ecx
push esi
call fcn.0050f160
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x4fd25a
cmp dword [esi + 0x24], 2
je 0x4fd255
mov eax, fcn.0050f440
mov dword [esi + 0x24], 2
test eax, eax
je 0x4fd255
push esi
call fcn.0050f440
add esp, 4
or ebx, 0xffffffff
xor edi, edi
mov ecx, dword [esp + 0x14]
push ecx
call dword [0x75d954]
jmp 0x4fd8ea
push ecx
mov byte [esp + 0x16], 1
call dword [0x75d954]
jmp 0x4fd8ea
push esi
call fcn.004026b0
add esp, 4
cmp dword [esi + 8], ebx
je 0x4fd295
push 0
push edi
push esi
call fcn.004fc5c0
add esp, 0xc
mov byte [esp + 0x12], 1
jmp case.0x4fccc5.1
lea eax, [esp + 0x19]
push eax
push dword [esi + 8]
call fcn.004fddd0
mov edi, eax
add esp, 8
test edi, edi
jne 0x4fd2e2
cmp byte [esp + 0x19], bl
je case.0x4fccc5.1
mov eax, dword [esi + 8]
xor ecx, ecx
cmp byte [eax + 0x51e], cl
sete cl
add ecx, 0xa
push ecx
push esi
call fcn.004fc460
add esp, 8
or ebx, 0xffffffff
jmp case.0x4fccc5.1
push esi
call fcn.004026b0
push 0
push edi
push esi
call fcn.004fc5c0
add esp, 0x10
mov byte [esp + 0x12], 1
jmp case.0x4fccc5.1
lea eax, [esp + 0x3c]
push eax
push dword [esi + 8]
call fcn.004fc570
mov edi, eax
add esp, 8
test edi, edi
jne 0x4fd2e2
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x4fd183
cmp ecx, 1
sete al
lea eax, [eax*2 + 9]
push eax
push esi
call fcn.004fc460
add esp, 8
or ebx, 0xffffffff
jmp case.0x4fccc5.1
mov eax, dword [esi + 8]
cmp byte [eax + 0x528], bl
je 0x4fd353
push ebp
call fcn.004fdc70
add esp, 4
mov eax, dword [esi + 8]
cmp dword [eax + 0x584], 0xffffffff
jne 0x4fd39e
cmp dword [eax + 0x588], 0xffffffff
jne 0x4fd39e
cmp byte [esi + 0x10eb], bl
je 0x4fd389
mov eax, dword [eax + 0x560]
test dword [eax + 0x44], 0x1000
jne 0x4fd389
mov dword [esi + 0x10f8], 7
cmp dword [esi + 0x24], 0xe
je 0x4fd3ab
mov dword [esi + 0x24], 0xe
or ebx, 0xffffffff
jmp case.0x4fccc5.1
cmp dword [esi + 0x24], 0xc
je 0x4fd3ab
mov dword [esi + 0x24], 0xc
or ebx, 0xffffffff
jmp case.0x4fccc5.1
push dword [esi + 8]
call fcn.005173a0
add esp, 4
test eax, eax
je 0x4fd3cc
mov edi, 0x2a
jmp case.0x4fccc5.1
movups xmm0, xmmword [esp + 0x44]
sub esp, 0x10
mov eax, esp
push esi
movups xmmword [eax], xmm0
call fcn.005187e0
mov edi, eax
add esp, 0x14
test edi, edi
jne case.0x4fccc5.1
mov edx, dword [esi + 0x66c]
xorps xmm0, xmm0
mov ecx, dword [esi + 0x668]
movlpd qword [esp + 0x24], xmm0
test edx, edx
jl 0x4fd44f
jg 0x4fd40b
test ecx, ecx
je 0x4fd44f
movups xmm0, xmmword [esp + 0x44]
sub esp, 0x10
mov eax, esp
sub esp, 0x10
movups xmmword [eax], xmm0
mov eax, esp
movups xmm0, xmmword [esi + 0xc38]
push edx
push ecx
push dword [esi + 0xc4c]
movups xmmword [eax], xmm0
push dword [esi + 0xc48]
push dword [esi + 0xb9c]
push dword [esi + 0xb98]
call fcn.00516f90
add esp, 0x38
mov dword [esp + 0x1c], edx
jmp 0x4fd45b
mov eax, dword [esp + 0x28]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x24]
mov edx, dword [esi + 0x674]
xorps xmm0, xmm0
mov ecx, dword [esi + 0x670]
mov dword [esp + 0x14], eax
movlpd qword [esp + 0x30], xmm0
test edx, edx
jl 0x4fd4c0
jg 0x4fd47e
test ecx, ecx
je 0x4fd4c0
movups xmm0, xmmword [esp + 0x44]
sub esp, 0x10
mov eax, esp
sub esp, 0x10
movups xmmword [eax], xmm0
mov eax, esp
movups xmm0, xmmword [esi + 0xc50]
push edx
push ecx
push dword [esi + 0xc64]
movups xmmword [eax], xmm0
push dword [esi + 0xc60]
push dword [esi + 0xb94]
push dword [esi + 0xb90]
call fcn.00516f90
add esp, 0x38
mov ecx, eax
jmp 0x4fd4c8
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x14]
or eax, dword [esp + 0x1c]
jne 0x4fd500
mov eax, ecx
or eax, edx
jne 0x4fd500
cmp dword [esi + 0x24], 0xc
je 0x4fd4e5
mov dword [esi + 0x24], 0xc
movups xmm0, xmmword [esp + 0x44]
sub esp, 0x10
mov eax, esp
push esi
movups xmmword [eax], xmm0
call fcn.00517540
add esp, 0x14
jmp case.0x4fccc5.1
cmp dword [esp + 0x1c], edx
jl 0x4fd525
mov eax, dword [esp + 0x14]
jg 0x4fd510
cmp eax, ecx
jb 0x4fd525
push 0xb
push dword [esp + 0x20]
push eax
push esi
call fcn.004fb150
add esp, 0x10
jmp case.0x4fccc5.1
push 0xb
push edx
push ecx
push esi
call fcn.004fb150
add esp, 0x10
jmp case.0x4fccc5.1
mov edx, dword [esi + 0x66c]
xorps xmm0, xmm0
mov ecx, dword [esi + 0x668]
mov dword [esp + 0x14], ebx
mov byte [esp + 0x1b], bl
mov byte [esp + 0x21], bl
movlpd qword [esp + 0x24], xmm0
test edx, edx
jl 0x4fd5a6
jg 0x4fd562
test ecx, ecx
je 0x4fd5a6
movups xmm0, xmmword [esp + 0x44]
sub esp, 0x10
mov eax, esp
sub esp, 0x10
movups xmmword [eax], xmm0
mov eax, esp
movups xmm0, xmmword [esi + 0xc38]
push edx
push ecx
push dword [esi + 0xc4c]
movups xmmword [eax], xmm0
push dword [esi + 0xc48]
push dword [esi + 0xb9c]
push dword [esi + 0xb98]
call fcn.00516f90
add esp, 0x38
mov dword [esp + 0x38], edx
jmp 0x4fd5b2
mov eax, dword [esp + 0x28]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x24]
mov edx, dword [esi + 0x674]
xorps xmm0, xmm0
mov ecx, dword [esi + 0x670]
mov dword [esp + 0x1c], eax
movlpd qword [esp + 0x30], xmm0
test edx, edx
jl 0x4fd61b
jg 0x4fd5d5
test ecx, ecx
je 0x4fd61b
movups xmm0, xmmword [esp + 0x44]
sub esp, 0x10
mov eax, esp
sub esp, 0x10
movups xmmword [eax], xmm0
mov eax, esp
movups xmm0, xmmword [esi + 0xc50]
push edx
push ecx
push dword [esi + 0xc64]
movups xmmword [eax], xmm0
push dword [esi + 0xc60]
push dword [esi + 0xb94]
push dword [esi + 0xb90]
call fcn.00516f90
add esp, 0x38
mov dword [esp + 0x30], eax
mov ecx, eax
jmp 0x4fd627
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
mov dword [esp + 0x30], ecx
mov eax, dword [esp + 0x1c]
or eax, dword [esp + 0x38]
mov dword [esp + 0x24], edx
jne 0x4fd80c
mov eax, ecx
or eax, edx
jne 0x4fd80c
lea eax, [esp + 0x21]
push eax
lea eax, [esp + 0x1e]
push eax
push esi
push dword [esi + 8]
call fcn.0050f890
add esp, 0x10
mov edi, eax
cmp byte [esp + 0x1a], bl
jne 0x4fd6a1
cmp edi, 0x38
je 0x4fd6a1
cmp edi, 0x5c
jne 0x4fd6d3
mov ecx, dword [esi + 8]
mov eax, dword [ecx + 0x560]
test byte [eax + 0x44], 2
jne 0x4fd68a
cmp edi, 0x5c
je 0x4fd68a
push 2
push ecx
call fcn.0050b0d0
add esp, 8
push esi
call fcn.004026b0
push 1
push edi
push esi
call fcn.004fc5c0
add esp, 0x10
jmp case.0x4fccc5.1
lea eax, [esp + 0x14]
push eax
push dword [esi + 8]
call fcn.0050fbc0
add esp, 8
test eax, eax
jne 0x4fd6cd
cmp dword [esp + 0x14], ebx
setne al
mov byte [esp + 0x1b], al
test al, al
je 0x4fd6d3
xor edi, edi
mov byte [esp + 0x1a], 1
jmp 0x4fd6e1
test edi, edi
jne 0x4fd66b
mov edi, eax
test edi, edi
jne 0x4fd66b
cmp byte [esp + 0x1a], bl
je 0x4fd7ec
push esi
call fcn.004026b0
add esp, 4
cmp dword [esi + 0x12c], ebx
jne 0x4fd76e
cmp byte [esp + 0x1b], bl
jne 0x4fd798
cmp dword [esi + 0x128], ebx
je 0x4fd755
push dword [esp + 0x14]
call dword [0x75d954]
mov eax, dword [esi + 0x128]
push 1
push eax
push esi
mov dword [esp + 0x24], eax
mov dword [esi + 0x128], ebx
call fcn.0050f160
push dword [esp + 0x24]
mov edi, eax
call dword [0x75d954]
add esp, 0x14
test edi, edi
je 0x4fd755
push 1
push edi
push esi
mov byte [esp + 0x1e], 1
call fcn.004fc5c0
mov edi, eax
add esp, 0xc
test edi, edi
jne case.0x4fccc5.1
cmp dword [esi + 0x24], 0xe
je 0x4fd16e
mov dword [esi + 0x24], 0xe
or ebx, 0xffffffff
jmp case.0x4fccc5.1
cmp byte [esp + 0x1b], bl
jne 0x4fd798
push dword [esp + 0x14]
call dword [0x75d954]
mov eax, dword [esi + 0x12c]
add esp, 4
mov dword [esp + 0x14], eax
mov edi, 3
mov dword [esi + 0x12c], ebx
jmp 0x4fd79d
mov edi, 2
push 0
push 0
push esi
call fcn.004fc5c0
push edi
push dword [esp + 0x24]
push esi
call fcn.0050f160
mov edi, eax
add esp, 0x18
test edi, edi
jne 0x4fd7dd
cmp dword [esi + 0x24], 2
je 0x4fd7da
mov eax, fcn.0050f440
mov dword [esi + 0x24], 2
test eax, eax
je 0x4fd7da
push esi
call fcn.0050f440
add esp, 4
or ebx, 0xffffffff
push dword [esp + 0x14]
call dword [0x75d954]
jmp 0x4fd8ea
cmp byte [esp + 0x21], bl
je case.0x4fccc5.1
push 8
push 0
push 0
push esi
call fcn.004fb150
add esp, 0x10
xor ebx, ebx
jmp case.0x4fccc5.1
movups xmm0, xmmword [esp + 0x44]
sub esp, 0x10
mov eax, esp
push esi
movups xmmword [eax], xmm0
call fcn.00517540
add esp, 0x14
cmp dword [esi + 0x24], 0xd
je 0x4fd82f
mov dword [esi + 0x24], 0xd
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x38]
cmp edx, ecx
jl 0x4fd85c
jg 0x4fd847
mov eax, dword [esp + 0x30]
cmp dword [esp + 0x1c], eax
jb 0x4fd860
push 0xb
push edx
push dword [esp + 0x24]
push esi
call fcn.004fb150
add esp, 0x10
jmp case.0x4fccc5.1
mov eax, dword [esp + 0x30]
push 0xb
push ecx
push eax
push esi
call fcn.004fb150
add esp, 0x10
jmp case.0x4fccc5.1
mov eax, dword [esi + 8]
or ebx, 0xffffffff
test eax, eax
je 0x4fd8a2
cmp byte [eax + 0x528], 0
je 0x4fd88b
push ebp
call fcn.004fdc70
add esp, 4
push 0
push edi
push esi
call fcn.004fc5c0
test edi, edi
push esi
cmove edi, eax
call fcn.004fb120
add esp, 0x10
cmp byte [esi + 0x10eb], 0
je 0x4fd8c8
cmp dword [esi + 0x10f8], 7
je 0x4fd8c8
cmp dword [esi + 0x24], 0
mov ecx, fcn.0050f440
je 0x4fd8f2
mov dword [esi + 0x24], 0
jmp 0x4fd8f2
cmp dword [esi + 0x24], 0xf
je case.0x4fccc5.1
mov eax, dword [esi + 0x78]
mov dword [esi + 0x24], 0xf
dec dword [eax + 0x10]
mov eax, fcn.004fb0b0
test eax, eax
je case.0x4fccc5.1
push esi
call fcn.004fb0b0
add esp, 4
mov ecx, fcn.0050f440
cmp dword [esi + 0x24], 0xf
jge 0x4fda44
test edi, edi
je 0x4fd9d0
lea eax, [ebp + 0x24]
mov ebp, dword [eax]
mov dword [esp + 0x24], eax
test ebp, ebp
je 0x4fd951
mov ebx, dword [ebp]
cmp dword [ebx + 0x24], 2
je 0x4fd932
mov dword [ebx + 0x24], 2
test ecx, ecx
je 0x4fd932
push ebx
call fcn.0050f440
mov eax, dword [esp + 0x28]
add esp, 4
push 0
push ebp
push eax
call fcn.00510dd0
push 8
push 0
push 0
push ebx
call fcn.004fb150
add esp, 0x1c
mov byte [ebx + 0x10f2], 1
mov ebx, dword [esi + 8]
test ebx, ebx
je 0x4fd999
cmp byte [esp + 0x12], 0
je 0x4fd9a8
push 0
lea eax, [esi + 0x18]
cmp edi, 0x1c
push eax
lea eax, [ebx + 0x5c0]
sete byte [esp + 0x48]
push eax
call fcn.00510dd0
push 1
push ebx
push esi
mov dword [esi + 8], 0
call fcn.00503640
push dword [esp + 0x58]
push ebx
push esi
call fcn.00505ce0
add esp, 0x24
jmp 0x4fd9a8
cmp dword [esi + 0x24], 2
jne 0x4fd9a8
push esi
call fcn.004026b0
add esp, 4
cmp dword [esi + 0x24], 0xf
je 0x4fda3d
mov eax, dword [esi + 0x78]
mov dword [esi + 0x24], 0xf
dec dword [eax + 0x10]
mov eax, fcn.004fb0b0
test eax, eax
je 0x4fda3d
push esi
call fcn.004fb0b0
jmp 0x4fda3a
mov eax, dword [esi + 8]
test eax, eax
je 0x4fda40
push eax
call fcn.005173a0
add esp, 4
test eax, eax
je 0x4fda40
push 2
push dword [esi + 8]
mov edi, 0x2a
call fcn.0050b0d0
mov ecx, dword [esi + 0x24]
xor eax, eax
add esp, 8
cmp ecx, 0xe
setge al
add eax, 0xe
cmp ecx, eax
je 0x4fda3d
mov dword [esi + 0x24], eax
cmp ecx, 0xe
jl 0x4fda16
mov eax, dword [esi + 0x78]
dec dword [eax + 0x10]
xor eax, eax
cmp ecx, 0xe
setge al
cmp dword [eax*4 + 0x6b3cb0], 0
je 0x4fda3d
xor eax, eax
cmp ecx, 0xe
push esi
setge al
mov eax, dword [eax*4 + 0x6b3cb0]
call eax
add esp, 4
or ebx, 0xffffffff
cmp dword [esi + 0x24], 0xf
jne 0x4fda8d
mov eax, dword [esi + 0xb10]
test eax, eax
je 0x4fda59
push edi
push esi
call eax
add esp, 8
jmp 0x4fda80
mov ecx, dword [esp + 0x2c]
lea eax, [esi + 0x2c]
push eax
push eax
mov dword [eax + 0xc], 1
mov dword [eax + 0x10], esi
mov dword [eax + 0x14], edi
lea eax, [ecx + 0x14]
push dword [ecx + 0x18]
push eax
call fcn.00510d60
add esp, 0x10
xor ebx, ebx
cmp dword [esi + 0x24], 0x10
je 0x4fda8d
mov dword [esi + 0x24], 0x10
mov ebp, dword [esp + 0x2c]
mov ecx, fcn.0050f440
cmp ebx, 0xffffffff
je 0x4fcac0
mov cl, byte [ebp + 0xe5]
test cl, cl
mov ecx, fcn.0050f440
jne 0x4fcac0
mov dword [esi + 0x28], edi
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.0048a267
add esp, 0x48
ret
mov dword [esi + 0x28], edi
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.0048a267
add esp, 0x48
ret
mov eax, 4
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.0048a267
add esp, 0x48
ret
mov ecx, dword [esp + 0x54]
mov eax, 2
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0048a267
add esp, 0x48
ret