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

Disassembly:
sub esp, 0x5c
push ebx
push ebp
push esi
mov esi, dword [esp + 0x74]
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 0x4f5bbe
cmp dword [esi], 0xc0dedbad
jne 0x4f5bbe
mov ecx, dword [esp + 0x70]
cmp byte [ecx + 0xe5], 0
je 0x4f4870
mov edi, 0x2a
push esi
mov dword [esp + 0x1c], edi
call fcn.004050e0
push 0
push edi
push esi
call fcn.004f41a0
add esp, 0x10
cmp dword [esi + 0x28], 0xf
je 0x4f4868
mov eax, dword [esi + 0x70]
mov dword [esi + 0x28], 0xf
dec dword [eax + 0x10]
mov ebx, dword [esi + 0xc]
test ebx, ebx
je 0x4f4858
push esi
call fcn.00523ad0
push 0
lea eax, [esi + 0x1c]
push eax
lea eax, [ebx + 0x2fc]
push eax
call fcn.0051e600
push ebx
push esi
call fcn.004e7e60
add esp, 0x18
push esi
mov dword [esi + 0xc], 0
call fcn.004f3380
add esp, 4
mov ecx, dword [esp + 0x70]
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 0x4f48d5
mov eax, dword [ecx + 0x24]
mov dword [esp + 0x30], eax
test eax, eax
je 0x4f48d5
mov ebx, dword [eax]
cmp dword [ebx + 0x28], 2
je 0x4f48b3
push ebx
mov dword [ebx + 0x28], 2
call fcn.0051fc30
mov eax, dword [esp + 0x34]
add esp, 4
mov ecx, dword [esp + 0x70]
push 0
push eax
lea eax, [ecx + 0x24]
push eax
call fcn.0051e600
push 8
push 0
push 0
push ebx
call fcn.004f3170
add esp, 0x1c
mov byte [ebx + 0xd09], 1
mov ecx, dword [esi + 0x28]
lea ebx, [esi + 0xc]
lea eax, [ecx - 3]
cmp eax, 0xb
ja 0x4f48f4
cmp dword [ebx], ebp
jne 0x4f48f8
mov eax, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret
cmp dword [ebx], ebp
je 0x4f4928
lea eax, [ecx - 2]
cmp eax, 0xc
ja 0x4f4928
push 0
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x80]
push esi
call fcn.004f4660
mov edi, dword [esp + 0x2c]
add esp, 0x14
test al, al
jne 0x4f59bd
mov ecx, dword [esi + 0x28]
cmp ecx, 0x10
ja case.default.0x4f4930
jmp dword [ecx*4 + 0x4f5bcc]
push esi
call fcn.0051fcd0
mov edi, eax
add esp, 4
mov dword [esp + 0x18], edi
test edi, edi
jne case.0x4f4930.1
cmp dword [esi + 0x28], 2
je 0x4f4964
push esi
mov dword [esi + 0x28], 2
call fcn.0051fc30
add esp, 4
push 1
lea eax, [esp + 0x40]
push esi
push eax
call fcn.00501ec0
add esp, 0xc
or ebp, 0xffffffff
movups xmm0, xmmword [eax]
mov eax, dword [esp + 0x74]
movups xmmword [eax], xmm0
jmp case.0x4f4930.1
cmp dword [esi + 0x8dc], ebp
jne 0x4f49b7
mov eax, dword [esi + 0x4c8]
inc eax
push eax
call dword [0x6f1ba4]
add esp, 4
mov dword [esi + 0x8dc], eax
test eax, eax
jne 0x4f49b7
mov edi, 0x1b
mov dword [esp + 0x18], edi
jmp case.0x4f4930.1
push 2
lea eax, [esp + 0x50]
push esi
push eax
call fcn.00501ec0
add esp, 0xc
movups xmm0, xmmword [eax]
mov eax, dword [esp + 0x74]
movups xmmword [eax], xmm0
mov eax, dword [esi + 0x1ec]
test eax, eax
je 0x4f49e9
push 0xa
cdq
push edx
push eax
push esi
call fcn.004f3170
add esp, 0x10
mov eax, dword [esi + 0x1f0]
test eax, eax
je 0x4f4a01
push 2
cdq
push edx
push eax
push esi
call fcn.004f3170
add esp, 0x10
lea eax, [esp + 0x11]
push eax
lea eax, [esp + 0x1a]
push eax
push esi
call fcn.004ecc50
mov edi, eax
add esp, 0xc
mov dword [esp + 0x18], edi
cmp edi, 0x59
jne 0x4f4a4f
cmp dword [esi + 0x28], 1
je 0x4f4a2c
mov dword [esi + 0x28], 1
lea eax, [esi + 0x10]
push eax
mov eax, dword [esp + 0x74]
push esi
push dword [eax + 0x28]
add eax, 0x24
push eax
call fcn.0051e580
add esp, 0x10
xor edi, edi
mov dword [esp + 0x18], edi
jmp case.0x4f4930.1
cmp byte [esi + 0xd09], 0
je 0x4f4ab8
push str.Transfer_was_pending__now_try_another
push esi
call fcn.004f8b00
mov eax, dword [esi + 0x70]
add esp, 8
add eax, 0x24
mov dword [esp + 0x24], eax
mov eax, dword [eax]
mov dword [esp + 0x30], eax
test eax, eax
je 0x4f4ab8
mov ebx, dword [eax]
cmp dword [ebx + 0x28], 2
je 0x4f4a96
push ebx
mov dword [ebx + 0x28], 2
call fcn.0051fc30
mov eax, dword [esp + 0x34]
add esp, 4
push 0
push eax
push dword [esp + 0x2c]
call fcn.0051e600
push 8
push 0
push 0
push ebx
call fcn.004f3170
add esp, 0x1c
mov byte [ebx + 0xd09], 1
test edi, edi
jne case.0x4f4930.1
cmp byte [esp + 0x16], 0
je 0x4f4add
cmp dword [esi + 0x28], 3
je case.0x4f4930.1
mov dword [esi + 0x28], 3
jmp case.0x4f4930.1
or ebp, 0xffffffff
cmp byte [esp + 0x11], 0
je 0x4f4b03
cmp dword [esi + 0x28], 8
je case.0x4f4930.1
push esi
mov dword [esi + 0x28], 8
call fcn.00523b50
jmp 0x4f5968
push dword [esi + 0xc]
call fcn.00523ba0
add esp, 4
test al, al
jne 0x4f4d14
cmp dword [esi + 0x28], 4
je case.0x4f4930.1
mov dword [esi + 0x28], 4
jmp case.0x4f4930.1
mov eax, dword [ebx]
mov dword [esp + 0x1c], ebp
cmp byte [eax + 0x260], 0
je 0x4f4b43
mov ebx, dword [eax + 0xac]
jmp 0x4f4b54
cmp byte [eax + 0x269], 0
je 0x4f4b51
mov ebx, dword [eax + 0x7c]
jmp 0x4f4b54
mov ebx, dword [eax + 0x64]
push dword [eax + 0xc4]
push ebx
push esi
call fcn.00504360
add esp, 0xc
mov dword [esp + 0x1c], eax
test eax, eax
je 0x4f4b94
push ebx
push 0x665ed0
xor edi, edi
mov dword [esi + 0x9a4], eax
push esi
mov byte [esi + 0x9b8], 1
mov dword [esp + 0x24], edi
call fcn.004f8b00
add esp, 0xc
cmp dword [esp + 0x1c], edi
jne 0x4f4ba8
lea eax, [esp + 0x1c]
push eax
push esi
call fcn.00504ed0
mov edi, eax
add esp, 8
mov dword [esp + 0x18], edi
mov eax, dword [esp + 0x70]
push esi
push eax
call fcn.004f63c0
mov ebp, eax
add esp, 8
test ebp, ebp
jne 0x4f5ba7
cmp dword [esp + 0x1c], eax
je 0x4f4be1
lea eax, [esp + 0x11]
push eax
push esi
call fcn.00504a10
mov edi, eax
add esp, 8
mov dword [esp + 0x18], edi
test edi, edi
je 0x4f4bf3
mov dword [esi + 0xc], ebp
test edi, edi
je case.0x4f4930.1
mov byte [esp + 0x10], 1
jmp case.0x4f4930.1
or ebp, 0xffffffff
cmp byte [esp + 0x11], 0
jne 0x4f4ae7
push dword [esi + 0xc]
call fcn.00523ba0
mov ecx, dword [esi + 0x28]
add esp, 4
test al, al
je 0x4f4c1b
cmp ecx, 5
jmp 0x4f4d18
cmp ecx, 4
je case.0x4f4930.1
mov dword [esi + 0x28], 4
jmp case.0x4f4930.1
lea eax, [esp + 0x11]
push eax
push esi
call fcn.00510680
mov edi, eax
add esp, 8
mov eax, dword [ebx]
mov dword [esp + 0x18], edi
cmp byte [eax + 0x264], 0
je 0x4f4c7f
xor edi, edi
or ebp, 0xffffffff
push edi
push edi
push esi
mov dword [esp + 0x24], edi
call fcn.004f41a0
add esp, 0xc
cmp dword [esi + 0x28], 2
je case.0x4f4930.1
push esi
mov dword [esi + 0x28], 2
call fcn.0051fc30
jmp 0x4f5968
test edi, edi
jne 0x4f5209
cmp dword [eax + 0xb8], 2
jne 0x4f4c9d
cmp byte [eax + 0x25e], 0
je case.0x4f4930.1
push eax
call fcn.00523ab0
add esp, 4
test al, al
je case.0x4f4930.1
or ebp, 0xffffffff
cmp dword [esi + 0x28], 6
je case.0x4f4930.1
mov dword [esi + 0x28], 6
jmp case.0x4f4930.1
lea eax, [esp + 0x17]
push eax
push 0
push dword [ebx]
push esi
call fcn.004f9ac0
add esp, 0x10
mov edi, eax
cmp byte [esp + 0x17], 0
mov dword [esp + 0x18], edi
je 0x4f4d6a
test edi, edi
jne 0x4f4ed4
mov eax, dword [esi + 0xc]
cmp dword [eax + 0xb8], 2
jne 0x4f4d07
cmp byte [eax + 0x25e], 0
je 0x4f4d14
push eax
call fcn.00523ba0
add esp, 4
test al, al
je 0x4f4d2a
cmp dword [esi + 0x28], 5
je case.0x4f4930.1
mov dword [esi + 0x28], 5
jmp case.0x4f4930.1
mov eax, dword [esi + 0xc]
or ebp, 0xffffffff
mov cl, byte [eax + 0x263]
xor eax, eax
test cl, cl
sete al
add eax, 5
cmp dword [esi + 0x28], eax
je case.0x4f4930.1
mov dword [esi + 0x28], eax
xor eax, eax
test cl, cl
sete al
mov eax, dword [eax*4 + 0x665d4c]
test eax, eax
je case.0x4f4930.1
push esi
call eax
jmp 0x4f5968
test edi, edi
je case.0x4f4930.1
jmp 0x4f4ed4
mov ebx, dword [ebx]
xor edi, edi
mov byte [esp + 0x11], 0
cmp byte [ebx + 0x25c], 0
je 0x4f4dab
cmp byte [ebx + 0x26e], 0
je 0x4f4db8
mov eax, dword [ebx + 0x2a8]
cmp dword [eax + 0x18], edi
jne 0x4f4e1c
mov byte [esp + 0x11], 1
mov dword [esp + 0x18], edi
jmp 0x4f4e5e
cmp byte [ebx + 0x26e], 0
jne 0x4f4e50
push 0
push esi
call fcn.00523c20
mov edi, eax
add esp, 8
test edi, edi
je 0x4f4deb
mov ebx, edi
mov dword [esp + 0x18], edi
push esi
call fcn.004050e0
push 1
push ebx
push esi
call fcn.004f41a0
add esp, 0x10
mov byte [esp + 0x10], 1
jmp case.0x4f4930.1
cmp dword [ebx + 0xb8], 2
jne 0x4f4dfd
cmp byte [ebx + 0x25e], 0
je 0x4f4e1c
cmp byte [ebx + 0x263], 0
je 0x4f4e24
cmp byte [ebx + 0x260], 0
je 0x4f4e24
push ebx
call fcn.00523ba0
add esp, 4
test al, al
je 0x4f4e24
xor edi, edi
mov dword [esp + 0x18], edi
jmp 0x4f4e5e
mov eax, dword [ebx + 0x2a8]
mov eax, dword [eax + 0x14]
test eax, eax
je 0x4f4e44
lea ecx, [esp + 0x11]
push ecx
push esi
call eax
mov edi, eax
add esp, 8
test edi, edi
je 0x4f4e49
jmp 0x4f4e50
mov byte [esp + 0x11], 1
mov byte [ebx + 0x26e], 1
mov dword [esp + 0x18], edi
mov ebx, edi
test edi, edi
jne 0x4f4dcf
cmp byte [esp + 0x11], 0
jne 0x4f4e7b
cmp dword [esi + 0x28], 7
je case.0x4f4930.1
mov dword [esi + 0x28], 7
jmp case.0x4f4930.1
cmp dword [esi + 0x28], 8
je 0x4f5079
push esi
mov dword [esi + 0x28], 8
call fcn.00523b50
add esp, 4
or ebp, 0xffffffff
jmp case.0x4f4930.1
mov edx, dword [ebx]
test edx, edx
je 0x4f4ef6
mov eax, dword [edx + 0x2a8]
cmp dword [eax + 0x18], ebp
je 0x4f4ef6
mov byte [esp + 0x11], 0
lea ecx, [esp + 0x11]
mov eax, dword [edx + 0x2a8]
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
je 0x4f4ef0
push esi
call fcn.004050e0
push 1
push edi
push esi
call fcn.004f41a0
add esp, 0x10
mov byte [esp + 0x10], 1
jmp case.0x4f4930.1
mov al, byte [esp + 0x11]
jmp 0x4f4f02
mov al, 1
xor edi, edi
mov byte [esp + 0x11], al
mov dword [esp + 0x18], edi
test al, al
je case.0x4f4930.1
cmp ecx, 8
jmp 0x4f4e7f
cmp dword [esi + 0x1c8], ebp
je 0x4f4fb6
mov eax, dword [esi + 0x74]
lea edi, [esi + 0x70]
test eax, eax
jne 0x4f4f2e
mov eax, dword [edi]
test eax, eax
je 0x4f4f35
mov byte [eax + 0xe2], 1
push dword [esi + 0xde8]
lea eax, [esi + 0xdb8]
push dword [esi + 0xdb0]
push eax
lea eax, [esi + 0xd80]
push eax
push dword [esi + 0x1cc]
mov eax, dword [esi + 0x1c8]
call eax
mov ecx, dword [esi + 0x74]
add esp, 0x14
mov edx, eax
test ecx, ecx
je 0x4f4f72
mov byte [ecx + 0xe2], 0
jmp 0x4f4f7f
mov eax, dword [edi]
test eax, eax
je 0x4f4f7f
mov byte [eax + 0xe2], 0
test edx, edx
je 0x4f4fb3
push str.operation_aborted_by_pre_request_callback
push esi
call fcn.004f8a30
mov edi, 0x2a
push esi
mov dword [esp + 0x24], edi
call fcn.004050e0
push 0
push edi
push esi
call fcn.004f41a0
add esp, 0x18
mov byte [esp + 0x10], 1
jmp case.0x4f4930.1
mov ecx, dword [esi + 0x28]
cmp byte [esi + 0x700], 0
mov edx, dword [esi + 0xc]
je 0x4f4fe8
push 0
push edx
call fcn.004f95f0
add esp, 8
cmp dword [esi + 0x28], 0xe
je 0x4f4fda
mov dword [esi + 0x28], 0xe
xor edi, edi
or ebp, 0xffffffff
mov dword [esp + 0x18], edi
jmp case.0x4f4930.1
mov eax, dword [edx + 0x2a8]
xor edi, edi
mov eax, dword [eax + 8]
test eax, eax
je 0x4f500a
lea ecx, [esp + 0x12]
push ecx
push esi
call eax
mov edx, dword [esi + 0xc]
add esp, 8
mov ecx, dword [esi + 0x28]
mov edi, eax
mov dword [esp + 0x18], edi
test edi, edi
jne 0x4f50db
cmp byte [esp + 0x12], 0
jne 0x4f5094
cmp byte [esi + 0xd02], 0
je 0x4f5081
mov eax, dword [esi + 0xd10]
cmp eax, 7
je 0x4f5036
cmp eax, 5
jne 0x4f5081
push 0
push 0
push esi
call fcn.004f41a0
mov ecx, dword [esi + 0xc]
add esp, 0xc
mov eax, ecx
neg eax
sbb eax, eax
add eax, 0xf
cmp dword [esi + 0x28], eax
je 0x4f5079
mov dword [esi + 0x28], eax
test ecx, ecx
jne 0x4f5061
mov eax, dword [esi + 0x70]
dec dword [eax + 0x10]
xor eax, eax
test ecx, ecx
sete al
mov eax, dword [eax*4 + 0x665d70]
test eax, eax
je 0x4f5079
push esi
call eax
add esp, 4
or ebp, 0xffffffff
jmp case.0x4f4930.1
cmp ecx, 9
je 0x4f508d
mov dword [esi + 0x28], 9
xor ebp, ebp
jmp case.0x4f4930.1
cmp byte [edx + 0x26d], 0
je 0x4f50b0
cmp ecx, 0xa
je 0x4f50a9
mov dword [esi + 0x28], 0xa
xor ebp, ebp
jmp case.0x4f4930.1
cmp ecx, 0xb
je 0x4f5079
push 6
lea eax, [esp + 0x60]
mov dword [esi + 0x28], 0xb
push esi
push eax
mov byte [esi + 0x142], 0
call fcn.00501ec0
add esp, 0xc
or ebp, 0xffffffff
jmp case.0x4f4930.1
cmp edi, 0x37
jne 0x4f5199
cmp byte [edx + 0x267], 0
je 0x4f5199
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], ebp
push eax
push esi
call fcn.00520480
add esp, 8
test eax, eax
je 0x4f5112
mov edi, eax
mov byte [esp + 0x10], 1
mov dword [esp + 0x18], edi
push esi
call fcn.004050e0
push 0
push edi
push esi
call fcn.004f41a0
mov ecx, dword [esp + 0x2c]
add esp, 0x10
test ecx, ecx
je 0x4f5188
test eax, eax
je 0x4f5147
cmp eax, 0x37
je 0x4f5147
mov edi, eax
push ecx
mov dword [esp + 0x1c], edi
call dword [0x6f1ba8]
jmp 0x4f5968
push 2
push ecx
push esi
call fcn.0051f720
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x4f5174
cmp dword [esi + 0x28], 2
je 0x4f516f
push esi
mov dword [esi + 0x28], 2
call fcn.0051fc30
add esp, 4
or ebp, 0xffffffff
xor edi, edi
mov ecx, dword [esp + 0x1c]
push ecx
mov dword [esp + 0x1c], edi
call dword [0x6f1ba8]
jmp 0x4f5968
push ecx
mov byte [esp + 0x14], 1
call dword [0x6f1ba8]
jmp 0x4f5968
push esi
call fcn.004050e0
add esp, 4
cmp dword [esi + 0xc], ebp
je 0x4f51b3
push 0
push edi
push esi
call fcn.004f41a0
add esp, 0xc
mov byte [esp + 0x10], 1
jmp case.0x4f4930.1
mov edx, dword [ebx]
test edx, edx
je 0x4f5213
mov eax, dword [edx + 0x2a8]
cmp dword [eax + 0x1c], ebp
je 0x4f5213
mov byte [esp + 0x12], 0
lea ecx, [esp + 0x12]
mov eax, dword [edx + 0x2a8]
push ecx
push esi
mov eax, dword [eax + 0x1c]
call eax
mov edx, dword [esi + 0xc]
mov edi, eax
mov ecx, dword [esi + 0x28]
add esp, 8
mov dword [esp + 0x18], edi
test edi, edi
je 0x4f521e
push esi
call fcn.004050e0
push 0
push edi
push esi
call fcn.004f41a0
add esp, 0x10
mov byte [esp + 0x10], 1
jmp case.0x4f4930.1
xor edi, edi
mov byte [esp + 0x12], 1
mov dword [esp + 0x18], edi
cmp byte [esp + 0x12], 0
je case.0x4f4930.1
mov dl, byte [edx + 0x26d]
xor eax, eax
test dl, dl
sete al
add eax, 0xa
cmp ecx, eax
je 0x4f5079
mov dword [esi + 0x28], eax
xor eax, eax
test dl, dl
sete al
mov eax, dword [eax*4 + 0x665d60]
jmp 0x4f506f
mov eax, dword [ebx]
xor edx, edx
mov dword [esp + 0x2c], edx
xor edi, edi
mov eax, dword [eax + 0x2a8]
mov eax, dword [eax + 0x10]
test eax, eax
je 0x4f5282
lea ecx, [esp + 0x2c]
push ecx
push esi
call eax
mov ecx, dword [esi + 0x28]
add esp, 8
mov edx, dword [esp + 0x2c]
mov edi, eax
mov dword [esp + 0x18], edi
test edi, edi
jne 0x4f51f7
test edx, edx
je 0x4f5816
xor eax, eax
cmp edx, 1
sete al
lea eax, [eax*2 + 9]
cmp ecx, eax
je 0x4f5079
mov dword [esi + 0x28], eax
mov eax, dword [eax*4 + 0x665d38]
jmp 0x4f506f
mov eax, dword [ebx]
mov edx, ecx
cmp byte [eax + 0x278], 0
je 0x4f531b
mov eax, dword [esp + 0x70]
add eax, 0x24
mov dword [esp + 0x30], eax
mov ebp, dword [eax]
test ebp, ebp
je 0x4f531b
mov ebx, dword [ebp]
cmp dword [ebx + 0x28], 2
je 0x4f52f7
push ebx
mov dword [ebx + 0x28], 2
call fcn.0051fc30
mov eax, dword [esp + 0x34]
add esp, 4
push 0
push ebp
push eax
call fcn.0051e600
push 8
push 0
push 0
push ebx
call fcn.004f3170
mov byte [ebx + 0xd09], 1
add esp, 0x1c
mov edx, dword [esi + 0x28]
mov ecx, edx
mov eax, dword [esi + 0xc]
cmp dword [eax + 0x2c0], 0xffffffff
jne 0x4f5366
cmp dword [eax + 0x2c4], 0xffffffff
jne 0x4f5366
cmp byte [esi + 0xd02], 0
je 0x4f5352
mov eax, dword [eax + 0x2a8]
test dword [eax + 0x4c], 0x1000
jne 0x4f5352
mov dword [esi + 0xd10], 7
cmp ecx, 0xe
je 0x4f5372
mov dword [esi + 0x28], 0xe
or ebp, 0xffffffff
jmp case.0x4f4930.1
cmp edx, 0xc
je 0x4f5372
mov dword [esi + 0x28], 0xc
or ebp, 0xffffffff
jmp case.0x4f4930.1
push esi
call fcn.00502020
add esp, 4
test eax, eax
je 0x4f5394
mov ebx, 0x2a
mov edi, ebx
mov dword [esp + 0x18], edi
jmp 0x4f53b8
mov ecx, dword [esp + 0x74]
sub esp, 0x10
mov eax, esp
movups xmm0, xmmword [ecx]
push esi
movups xmmword [eax], xmm0
call fcn.00521e40
mov edi, eax
add esp, 0x14
mov dword [esp + 0x18], edi
mov ebx, edi
test edi, edi
je 0x4f53ee
mov ecx, dword [esi + 0xc]
mov eax, dword [ecx + 0x2a8]
test byte [eax + 0x4c], 2
jne 0x4f53d7
cmp ebx, 0x5c
je 0x4f53d7
push 2
push ecx
call fcn.004f95f0
add esp, 8
push esi
call fcn.004050e0
push 1
push ebx
push esi
call fcn.004f41a0
add esp, 0x10
jmp case.0x4f4930.1
mov edx, dword [esi + 0x218]
xorps xmm0, xmm0
mov ecx, dword [esi + 0x21c]
mov eax, edx
or eax, ecx
movlpd qword [esp + 0x30], xmm0
je 0x4f5451
mov ebx, dword [esp + 0x74]
sub esp, 0x10
mov eax, esp
sub esp, 0x10
movups xmm0, xmmword [ebx]
movups xmmword [eax], xmm0
mov eax, esp
movups xmm0, xmmword [esi + 0x7e8]
push ecx
push edx
push dword [esi + 0x7fc]
movups xmmword [eax], xmm0
push dword [esi + 0x7f8]
push dword [esi + 0x74c]
push dword [esi + 0x748]
call fcn.00501b00
add esp, 0x38
mov dword [esp + 0x1c], edx
mov ebx, eax
jmp 0x4f545d
mov eax, dword [esp + 0x34]
mov ebx, dword [esp + 0x30]
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0x220]
xorps xmm0, xmm0
mov ecx, dword [esi + 0x224]
or eax, ecx
movlpd qword [esp + 0x24], xmm0
je 0x4f54c0
mov edx, dword [esp + 0x74]
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 + 0x800]
push ecx
push edx
push dword [esi + 0x814]
movups xmmword [eax], xmm0
push dword [esi + 0x810]
push dword [esi + 0x744]
push dword [esi + 0x740]
call fcn.00501b00
add esp, 0x38
mov ecx, eax
jmp 0x4f54c8
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov eax, ebx
or eax, dword [esp + 0x1c]
jne 0x4f5500
mov eax, ecx
or eax, edx
jne 0x4f5500
cmp dword [esi + 0x28], 0xc
je 0x4f54e3
mov dword [esi + 0x28], 0xc
mov ecx, dword [esp + 0x74]
sub esp, 0x10
mov eax, esp
movups xmm0, xmmword [ecx]
push esi
movups xmmword [eax], xmm0
call fcn.00502370
add esp, 0x14
jmp case.0x4f4930.1
mov eax, dword [esp + 0x1c]
cmp eax, edx
jl 0x4f5520
jg 0x4f550e
cmp ebx, ecx
jb 0x4f5520
push 0xb
push eax
push ebx
push esi
call fcn.004f3170
add esp, 0x10
jmp case.0x4f4930.1
push 0xb
push edx
push ecx
push esi
call fcn.004f3170
add esp, 0x10
jmp case.0x4f4930.1
mov edx, dword [esi + 0x218]
xorps xmm0, xmm0
mov ecx, dword [esi + 0x21c]
mov eax, edx
or eax, ecx
mov dword [esp + 0x1c], ebp
mov byte [esp + 0x14], 0
mov byte [esp + 0x15], 0
movlpd qword [esp + 0x30], xmm0
je 0x4f55a3
mov ebx, dword [esp + 0x74]
sub esp, 0x10
mov eax, esp
sub esp, 0x10
movups xmm0, xmmword [ebx]
movups xmmword [eax], xmm0
mov eax, esp
movups xmm0, xmmword [esi + 0x7e8]
push ecx
push edx
push dword [esi + 0x7fc]
movups xmmword [eax], xmm0
push dword [esi + 0x7f8]
push dword [esi + 0x74c]
push dword [esi + 0x748]
call fcn.00501b00
add esp, 0x38
mov dword [esp + 0x20], edx
mov ebx, eax
jmp 0x4f55af
mov eax, dword [esp + 0x34]
mov ebx, dword [esp + 0x30]
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0x220]
xorps xmm0, xmm0
mov ecx, dword [esi + 0x224]
or eax, ecx
movlpd qword [esp + 0x24], xmm0
je 0x4f5616
mov edx, dword [esp + 0x74]
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 + 0x800]
push ecx
push edx
push dword [esi + 0x814]
movups xmmword [eax], xmm0
push dword [esi + 0x810]
push dword [esi + 0x744]
push dword [esi + 0x740]
call fcn.00501b00
add esp, 0x38
mov dword [esp + 0x24], eax
mov ecx, eax
jmp 0x4f5622
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x24], ecx
mov eax, ebx
mov dword [esp + 0x30], edx
or eax, dword [esp + 0x20]
jne 0x4f581d
mov eax, ecx
or eax, edx
jne 0x4f581d
lea eax, [esp + 0x15]
push eax
lea eax, [esp + 0x17]
push eax
push esi
push dword [esi + 0xc]
call fcn.00520170
add esp, 0x10
mov edi, eax
cmp byte [esp + 0x13], 0
mov dword [esp + 0x18], edi
jne 0x4f56a3
cmp edi, 0x38
je 0x4f56a3
cmp edi, 0x5c
jne 0x4f572b
mov ecx, dword [esi + 0xc]
mov eax, dword [ecx + 0x2a8]
test byte [eax + 0x4c], 2
jne 0x4f568c
cmp edi, 0x5c
je 0x4f568c
push 2
push ecx
call fcn.004f95f0
add esp, 8
push esi
call fcn.004050e0
push 1
push edi
push esi
call fcn.004f41a0
add esp, 0x10
jmp case.0x4f4930.1
lea eax, [esp + 0x1c]
push eax
push esi
call fcn.00520480
add esp, 8
test eax, eax
jne 0x4f571d
cmp dword [esp + 0x1c], ebp
setne bl
test bl, bl
je 0x4f572f
push esi
mov byte [esp + 0x17], 1
call fcn.004050e0
add esp, 4
mov edi, 2
push 0
push 0
push esi
call fcn.004f41a0
push edi
push dword [esp + 0x2c]
push esi
call fcn.0051f720
mov edi, eax
add esp, 0x18
mov dword [esp + 0x18], edi
test edi, edi
jne 0x4f570e
cmp dword [esi + 0x28], 2
je 0x4f570b
push esi
mov dword [esi + 0x28], 2
call fcn.0051fc30
add esp, 4
or ebp, 0xffffffff
push dword [esp + 0x1c]
call dword [0x6f1ba8]
jmp 0x4f5968
test edi, edi
jne 0x4f566d
mov edi, eax
mov dword [esp + 0x18], edi
mov bl, byte [esp + 0x14]
test edi, edi
jne 0x4f566d
cmp byte [esp + 0x13], 0
je 0x4f57fc
push esi
call fcn.004050e0
add esp, 4
test bl, bl
jne 0x4f56ce
cmp dword [esi + 0x128], ebp
jne 0x4f57d5
cmp dword [esi + 0x124], ebp
je 0x4f57bc
push dword [esp + 0x1c]
call dword [0x6f1ba8]
mov eax, dword [esi + 0x124]
push 1
push eax
push esi
mov dword [esp + 0x2c], eax
mov dword [esi + 0x124], ebp
call fcn.0051f720
push dword [esp + 0x2c]
mov edi, eax
mov dword [esp + 0x2c], edi
call dword [0x6f1ba8]
add esp, 0x14
test edi, edi
je 0x4f57bc
push 1
push edi
push esi
mov byte [esp + 0x1c], 1
call fcn.004f41a0
mov edi, eax
add esp, 0xc
mov dword [esp + 0x18], edi
test edi, edi
jne case.0x4f4930.1
cmp dword [esi + 0x28], 0xe
je 0x4f5079
mov dword [esi + 0x28], 0xe
or ebp, 0xffffffff
jmp case.0x4f4930.1
push dword [esp + 0x1c]
call dword [0x6f1ba8]
mov eax, dword [esi + 0x128]
add esp, 4
mov dword [esp + 0x1c], eax
mov edi, 3
mov dword [esi + 0x128], ebp
jmp 0x4f56d3
cmp byte [esp + 0x15], 0
je case.0x4f4930.1
push 8
push 0
push 0
push esi
call fcn.004f3170
add esp, 0x10
xor ebp, ebp
jmp case.0x4f4930.1
mov ecx, dword [esp + 0x74]
sub esp, 0x10
mov eax, esp
movups xmm0, xmmword [ecx]
push esi
movups xmmword [eax], xmm0
call fcn.00502370
add esp, 0x14
cmp dword [esi + 0x28], 0xd
je 0x4f5842
mov dword [esi + 0x28], 0xd
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x30]
cmp eax, edx
jl 0x4f586a
jg 0x4f5872
mov ecx, dword [esp + 0x24]
cmp ebx, ecx
jb 0x4f586e
push 0xb
push eax
push ebx
push esi
call fcn.004f3170
add esp, 0x10
jmp case.0x4f4930.1
mov ecx, dword [esp + 0x24]
mov ebx, ecx
mov eax, edx
push 0xb
push eax
push ebx
push esi
call fcn.004f3170
add esp, 0x10
jmp case.0x4f4930.1
mov eax, dword [ebx]
or ebp, 0xffffffff
test eax, eax
je 0x4f58fe
cmp byte [eax + 0x278], 0
je 0x4f58e9
mov eax, dword [esp + 0x70]
add eax, 0x24
mov dword [esp + 0x24], eax
mov eax, dword [eax]
mov dword [esp + 0x30], eax
test eax, eax
je 0x4f58e9
mov ebx, dword [eax]
cmp dword [ebx + 0x28], 2
je 0x4f58c7
push ebx
mov dword [ebx + 0x28], 2
call fcn.0051fc30
mov eax, dword [esp + 0x34]
add esp, 4
push 0
push eax
push dword [esp + 0x2c]
call fcn.0051e600
push 8
push 0
push 0
push ebx
call fcn.004f3170
add esp, 0x1c
mov byte [ebx + 0xd09], 1
push 0
push edi
push esi
call fcn.004f41a0
add esp, 0xc
test edi, edi
cmove edi, eax
mov dword [esp + 0x18], edi
cmp byte [esi + 0xd02], 0
je 0x4f591f
cmp dword [esi + 0xd10], 7
je 0x4f591f
cmp dword [esi + 0x28], 0
je case.0x4f4930.1
mov dword [esi + 0x28], 0
jmp case.0x4f4930.1
cmp dword [esi + 0x28], 0xf
je case.0x4f4930.1
mov eax, dword [esi + 0x70]
mov dword [esi + 0x28], 0xf
dec dword [eax + 0x10]
mov ebx, dword [esi + 0xc]
test ebx, ebx
je 0x4f595b
push esi
call fcn.00523ad0
push 0
lea eax, [esi + 0x1c]
push eax
lea eax, [ebx + 0x2fc]
push eax
call fcn.0051e600
push ebx
push esi
call fcn.004e7e60
add esp, 0x18
push esi
mov dword [esi + 0xc], 0
call fcn.004f3380
add esp, 4
cmp dword [esi + 0xc], 0
lea ebx, [esi + 0xc]
je 0x4f59bd
mov eax, dword [esi + 0x28]
lea ebx, [esi + 0xc]
mov ecx, dword [esp + 0x70]
sub eax, 2
cmp eax, 5
ja 0x4f59c1
lea ebx, [esi + 0xc]
cmp ebp, 0xffffffff
je 0x4f59c1
cmp byte [ecx + 0xe1], 0
lea ebx, [esi + 0xc]
jne 0x4f59c1
push 1
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x80]
push esi
call fcn.004f4660
mov edi, dword [esp + 0x2c]
lea ebx, [esi + 0xc]
add esp, 0x14
mov ecx, dword [esp + 0x70]
mov eax, dword [esi + 0x28]
cmp eax, 0xf
jge 0x4f5b3d
test edi, edi
je 0x4f5ada
mov ebp, dword [ecx + 0x24]
add ecx, 0x24
mov dword [esp + 0x30], ecx
test ebp, ebp
je 0x4f5a22
mov ebx, dword [ebp]
cmp dword [ebx + 0x28], 2
je 0x4f5a00
push ebx
mov dword [ebx + 0x28], 2
call fcn.0051fc30
mov ecx, dword [esp + 0x34]
add esp, 4
push 0
push ebp
push ecx
call fcn.0051e600
push 8
push 0
push 0
push ebx
call fcn.004f3170
mov byte [ebx + 0xd09], 1
add esp, 0x1c
mov eax, dword [esi + 0x28]
mov ebp, dword [esi + 0xc]
test ebp, ebp
je 0x4f5a77
cmp byte [esp + 0x10], 0
je 0x4f5a88
cmp edi, 0x1c
push esi
sete byte [esp + 0x3c]
call fcn.00523ad0
push 0
lea eax, [esi + 0x1c]
push eax
lea eax, [ebp + 0x2fc]
push eax
call fcn.0051e600
push ebp
push esi
call fcn.004e7e60
push 1
push ebp
push esi
mov dword [esi + 0xc], 0
call fcn.004f79d0
push dword [esp + 0x5c]
push ebp
push esi
call fcn.004ece70
add esp, 0x30
jmp 0x4f5a88
lea ebp, [esi + 0xc]
cmp eax, 2
jne 0x4f5a8b
push esi
call fcn.004050e0
add esp, 4
lea ebp, [esi + 0xc]
cmp dword [esi + 0x28], 0xf
je 0x4f5b3a
mov eax, dword [esi + 0x70]
mov dword [esi + 0x28], 0xf
dec dword [eax + 0x10]
mov ebx, dword [esi + 0xc]
test ebx, ebx
je 0x4f5acb
push esi
call fcn.00523ad0
push 0
lea eax, [esi + 0x1c]
push eax
lea eax, [ebx + 0x2fc]
push eax
call fcn.0051e600
push ebx
push esi
call fcn.004e7e60
add esp, 0x18
push esi
mov dword [ebp], 0
call fcn.004f3380
jmp 0x4f5b37
cmp dword [ebx], 0
je 0x4f5b3d
push esi
call fcn.00502020
add esp, 4
test eax, eax
je 0x4f5b3d
push 2
push dword [ebx]
mov edi, 0x2a
mov dword [esp + 0x20], edi
call fcn.004f95f0
mov ecx, dword [esi + 0x28]
xor eax, eax
add esp, 8
cmp ecx, 0xe
setge al
add eax, 0xe
cmp ecx, eax
je 0x4f5b3a
mov dword [esi + 0x28], eax
cmp ecx, 0xe
jl 0x4f5b21
mov eax, dword [esi + 0x70]
dec dword [eax + 0x10]
xor eax, eax
cmp ecx, 0xe
setge al
mov eax, dword [eax*4 + 0x665d70]
test eax, eax
je 0x4f5b3a
push esi
call eax
add esp, 4
or ebp, 0xffffffff
cmp dword [esi + 0x28], 0xf
jne 0x4f5b8a
mov eax, dword [esi + 0x6c0]
test eax, eax
je 0x4f5b56
push edi
push esi
call eax
add esp, 8
jmp 0x4f5b7d
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 + 0x78]
push dword [eax + 0x18]
add eax, 0x14
push eax
call fcn.0051e580
add esp, 0x10
xor ebp, ebp
cmp dword [esi + 0x28], 0x10
je 0x4f5b8a
mov dword [esi + 0x28], 0x10
mov ecx, dword [esp + 0x70]
cmp ebp, 0xffffffff
je 0x4f4870
cmp byte [ecx + 0xe1], 0
jne 0x4f4870
mov dword [esi + 0x2c], edi
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret
mov dword [esi + 0x2c], edi
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret
pop edi
pop esi
pop ebp
mov eax, 2
pop ebx
add esp, 0x5c
ret