Function at 0x4d8760
Capabilities:
Inspect section memory permissions
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xf0
mov esi, esp
mov dword [esi + 0xd8], ebp
mov dword [esi + 0xdc], esp
mov dword [esi + 0xe8], 0xffffffff
mov dword [esi + 0xe4], 0x579070
lea eax, [esi + 0xe0]
mov dword [esi + 0x38], ecx
mov edx, dword fs:[0]
mov dword [esi + 0xe0], edx
mov dword fs:[0], eax
mov eax, dword [ecx]
test byte [eax + 0x59], 1
mov dword [esi + 0x10], eax
jne 0x4d87eb
mov ebx, dword [ecx + 4]
mov eax, dword [ebx + 0x80]
mov edx, dword [ebx + 0x88]
lea edi, [ebx + 0x88]
lea ecx, [ebx + 0x80]
mov dword [esi + 8], edi
sub eax, edx
cmp eax, 0xc
jb 0x4d9859
mov eax, dword [ecx + 4]
mov edi, 0xc
jmp 0x4d8834
mov eax, dword [eax + 0x280]
mov ebx, dword [ecx + 4]
mov eax, dword [eax + 0x15c]
mov edx, dword [ebx + 0x88]
lea ecx, [ebx + 0x80]
lea eax, [eax + eax*2]
lea edi, [eax + eax + 0xc]
mov eax, dword [ebx + 0x80]
sub eax, edx
cmp eax, edi
lea eax, [ebx + 0x88]
mov dword [esi + 8], eax
jb 0x4d985e
test edi, edi
je 0x4d888b
mov eax, dword [ecx + 4]
cmp edi, 8
mov ecx, edi
jb 0x4d8880
movaps xmm0, xmmword [0x589850]
mov ecx, edi
and edi, 0xfffffff8
mov dword [esi + 0x14], ebx
lea ebx, [eax + edx*4 + 0x10]
mov dword [esi + 0x24], ecx
and ecx, 7
add edx, edi
mov dword [esi + 0x20], edi
nop word cs:[eax + eax]
nop dword [eax]
movups xmmword [ebx - 0x10], xmm0
movups xmmword [ebx], xmm0
add ebx, 0x20
add edi, 0xfffffff8
jne 0x4d8860
mov edi, dword [esi + 0x20]
mov ebx, dword [esi + 0x14]
cmp dword [esi + 0x24], edi
je 0x4d888b
nop word [eax + eax]
mov dword [eax + edx*4], 0x80000000
inc edx
dec ecx
jne 0x4d8880
mov eax, dword [esi + 8]
mov dword [eax], edx
mov dword [esi + 0xe8], 0xffffffff
call fcn.004d7f80
mov dword [esi + 0x1c], eax
lock inc dword [eax]
jle 0x4d9c1d
mov edi, dword [ebx + 0x88]
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebx + 0x94]
mov dword [esi + 0x28], edx
mov dword [esi + 0x14], ebx
add edi, dword [ebx + 0x7c]
mov dword [esi + 8], ecx
lea ecx, [edx + ecx*8 + 0x14]
lea eax, [eax + eax*2]
mov edx, dword [esi + 0x10]
lea eax, [ecx + eax*4]
add eax, dword [ebx + 0xa4]
add edi, dword [ebx + 0x38]
movzx ecx, byte [edx + 0x284]
add eax, dword [ebx + 0x68]
add edi, dword [ebx + 0x44]
add edi, dword [ebx + 0x54]
add edi, dword [ebx + 0x60]
add edi, dword [ebx + 0x98]
mov ebx, 4
shl ebx, cl
lea eax, [eax + edi*4]
add eax, ebx
cmp eax, dword [edx + 0x288]
jbe 0x4d8990
mov eax, dword [esi + 0x10]
cmp dword [eax + 0x48], 1
jne 0x4d897a
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 0x10]
mov eax, dword [eax + 0x6c]
cmp eax, dword [ecx + 0x4c]
jb 0x4d897a
mov eax, dword [esi + 0x10]
cmp dword [eax + 0x50], 1
jne 0x4d98a6
mov eax, dword [esi + 0x10]
mov edx, dword [esi + 0x14]
mov ebx, dword [eax + 0x54]
mov eax, dword [edx + 0x70]
cmp dword [edx + 0xb0], 0
je 0x4d895f
mov ecx, dword [edx + 0xb8]
mov edx, dword [edx + 0xb4]
mov edi, ecx
sub edi, edx
neg edi
sub ecx, edx
cmovb ecx, edi
jmp 0x4d8961
xor ecx, ecx
mov edx, dword [esi + 8]
add ecx, eax
mov eax, ebx
mul edx
mov edx, 0xffffffff
cmovno edx, eax
cmp ecx, edx
jb 0x4d98a6
mov ecx, dword [esi + 0x38]
mov byte [esi + 0xf], 1
mov dword [esi + 0xe8], 5
call fcn.004d9ee0
mov ecx, dword [esi + 0x38]
mov byte [esi + 0xf], 1
mov dword [esi + 0xe8], 5
call fcn.004da710
test eax, eax
jne 0x4d98a6
cmp dword [esi + 0x28], 0
je 0x4d988c
mov eax, dword [esi + 0x10]
mov edi, dword [esi + 0x14]
mov dword [esi + 8], edx
mov ebx, 1
mov ecx, dword [eax + 0x284]
mov eax, dword [edi + 0x74]
mov edx, dword [edi + 0x7c]
and ecx, 0x1f
sub eax, edx
mov dword [esi + 0x24], ecx
shl ebx, cl
lea ecx, [edi + 0x74]
cmp eax, ebx
mov eax, dword [esi + 0x1c]
mov dword [esi + 0x60], ecx
movzx eax, byte [eax + 8]
mov dword [esi + 0x2c], eax
jae 0x4d8a0e
mov byte [esi + 0xf], 1
mov dword [esi + 0x20], ebx
push ebx
call fcn.00581ee0
add esp, 4
mov ecx, dword [esi + 8]
mov edi, dword [esi + 0x14]
mov ebx, dword [esi + 0x20]
mov edx, dword [edi + 0x7c]
jmp 0x4d8a11
mov ecx, dword [esi + 8]
mov eax, dword [esi + 0x2c]
and eax, 1
shl eax, 0x1b
or eax, ecx
cmp dword [esi + 0x24], 3
mov dword [esi + 0x2c], eax
mov eax, dword [edi + 0x78]
jb 0x4d8a69
movaps xmm0, xmmword [0x589850]
mov ecx, ebx
and ebx, 6
lea edi, [eax + edx*4 + 0x10]
and ecx, 0xfffffff8
mov dword [esi + 0x20], ebx
add edx, ecx
mov ebx, ecx
nop word cs:[eax + eax]
nop dword [eax]
movups xmmword [edi - 0x10], xmm0
movups xmmword [edi], xmm0
add edi, 0x20
add ebx, 0xfffffff8
jne 0x4d8a50
mov edi, dword [esi + 0x14]
mov ebx, dword [esi + 0x20]
test ecx, ecx
jne 0x4d8a7f
mov ecx, edx
nop dword [eax + eax]
lea edx, [ecx + 1]
mov dword [eax + ecx*4], 0x80000000
dec ebx
mov ecx, edx
jne 0x4d8a70
mov dword [edi + 0x7c], edx
mov edi, dword [esi + 0x10]
or dword [esi + 0x2c], 0x80000000
mov ecx, dword [edi + 0x26c]
mov eax, dword [edi + 0x260]
mov edx, dword [edi + 0x268]
mov ebx, dword [edi + 0x264]
or edx, dword [edi + 0x278]
or eax, dword [edi + 0x270]
or ecx, dword [edi + 0x27c]
or ebx, dword [edi + 0x274]
or ebx, ecx
or eax, edx
lea ecx, [edi + 0x260]
or ebx, eax
mov dword [esi + 0x24], ecx
je 0x4d8b00
cmp dword [esi + 0x2c], 0x80000000
je 0x4d8b00
mov eax, dword [esi + 0x10]
mov ecx, dword [eax + 0x284]
mov eax, 1
and ecx, 0x1f
shl eax, cl
cmp ecx, 0x1b
jae 0x4d9b69
or eax, 0x40000000
cmp eax, dword [esi + 0x2c]
jne 0x4d8c5d
mov ebx, dword [esi + 0x28]
mov ecx, dword [esi + 0x14]
mov eax, dword [esi + 0x1c]
add dword [ecx + 0x68], ebx
lock inc dword [eax]
jle 0x4d9c1d
mov edx, dword [ecx + 0x94]
lea eax, [ecx + 0x8c]
mov dword [esi + 0x5c], eax
cmp edx, dword [ecx + 0x8c]
jne 0x4d8b49
mov ecx, eax
mov dword [esi + 0xe8], 6
call fcn.00418c70
mov ecx, dword [esi + 0x14]
mov ebx, dword [esi + 0x28]
mov edx, dword [ecx + 0x94]
mov eax, dword [ecx + 0x90]
mov edi, dword [esi + 0x1c]
mov dword [eax + edx*8], edi
mov dword [eax + edx*8 + 4], ebx
inc edx
mov dword [ecx + 0x94], edx
mov byte [esi + 0xf], 0
mov dword [esi + 0xe8], 5
mov edx, edi
push dword [esi + 0x2c]
push ebx
call fcn.004da8d0
add esp, 8
mov eax, dword [esi + 0x2c]
mov ecx, dword [esi + 0x1c]
mov dword [esi + 0x64], eax
lock inc dword [ecx]
jle 0x4d9c1d
mov edi, dword [esi + 0x14]
mov ecx, dword [esi + 0x28]
mov ebx, dword [esi + 0x10]
mov eax, dword [edi + 0xc]
mov edx, dword [edi + 0x94]
add ecx, 0x14
mov dword [esi + 0x70], ecx
lea eax, [eax + eax*2]
lea ecx, [ecx + edx*8]
lea eax, [ecx + eax*4]
mov ecx, dword [edi + 0x88]
add eax, dword [edi + 0xa4]
add ecx, dword [edi + 0x7c]
add eax, dword [edi + 0x68]
add ecx, dword [edi + 0x38]
add ecx, dword [edi + 0x44]
add ecx, dword [edi + 0x54]
add ecx, dword [edi + 0x60]
add ecx, dword [edi + 0x98]
mov edi, 4
lea eax, [eax + ecx*4]
movzx ecx, byte [ebx + 0x284]
shl edi, cl
add eax, edi
cmp eax, dword [ebx + 0x288]
jbe 0x4d8ddb
mov eax, dword [esi + 0x10]
cmp dword [eax + 0x48], 1
jne 0x4d8dc5
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 0x10]
mov eax, dword [eax + 0x6c]
cmp eax, dword [ecx + 0x4c]
jb 0x4d8dc5
mov eax, dword [esi + 0x10]
cmp dword [eax + 0x50], 1
jne 0x4d98f6
mov eax, dword [esi + 0x10]
mov edi, dword [esi + 0x14]
mov eax, dword [eax + 0x54]
mov ebx, dword [edi + 0x70]
cmp dword [edi + 0xb0], 0
je 0x4d8daf
mov ecx, dword [edi + 0xb8]
mov dword [esi + 8], eax
mov eax, ebx
mov ebx, dword [edi + 0xb4]
mov edi, ecx
sub edi, ebx
neg edi
sub ecx, ebx
mov ebx, eax
mov eax, dword [esi + 8]
cmovb ecx, edi
jmp 0x4d8db1
mov eax, 2
shl eax, cl
cmp eax, 0x8000000
jae 0x4d9be1
or eax, 0x20000000
xor ecx, ecx
mov dword [esi + 0x5c], eax
cmp ecx, 0x101
mov eax, 0x100
cmovae eax, ecx
mov dword [esi + 0x34], eax
nop word [eax + eax]
cmp dword [esi + 0x34], ecx
je 0x4d8b00
mov dword [esi + 8], ecx
mov eax, ecx
mov eax, dword [esi + 8]
and al, 0x78
mov dword [esi + 0xd4], 0
mov dword [esi + 0xd0], 0
mov dword [esi + 0xcc], 0
mov dword [esi + 0xc8], 1
mov dword [esi + 0xc4], 0
mov dword [esi + 0xc0], 0
mov dword [esi + 0xbc], 0
mov dword [esi + 0xb8], 0
mov ecx, dword [esi + 8]
shr al, 3
neg al
movsx edi, al
mov edx, dword [esi + edi + 0xd0]
mov eax, dword [esi + edi + 0xd4]
mov dword [esi + 0x30], edi
mov ch, cl
and ch, 7
mov cl, ch
shld eax, edx, cl
shl edx, cl
not cl
mov dword [esi + 0x20], eax
mov eax, dword [esi + 8]
mov ebx, dword [esi + edi + 0xcc]
shr eax, 3
mov edi, ebx
and eax, 0x10
shr edi, 1
shr edi, cl
mov cl, ch
or edi, edx
mov edx, dword [esi + 0x30]
mov edx, dword [esi + edx + 0xc8]
shld ebx, edx, cl
shl edx, cl
mov ecx, dword [esi + 0x24]
and edi, dword [ecx + eax + 8]
and edx, dword [ecx + eax]
and ebx, dword [ecx + eax + 4]
or edx, edi
mov edi, dword [esi + 0x20]
and edi, dword [ecx + eax + 0xc]
mov eax, dword [esi + 8]
or ebx, edi
lea ecx, [eax + 1]
or ebx, edx
je 0x4d8c90
cmp eax, 0xff
ja 0x4d8b00
mov dword [esi + 8], ecx
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0x14]
shl eax, 8
mov byte [esi + 0xf], 1
mov dword [esi + 0xe8], 5
movzx eax, ax
push dword [esi + 0x5c]
push eax
push dword [esi + 0x2c]
call fcn.004da7e0
mov ecx, dword [esi + 8]
add esp, 0xc
jmp 0x4d8c79
xor ecx, ecx
add ecx, ebx
mul edx
mov edx, 0xffffffff
cmovno edx, eax
cmp ecx, edx
jb 0x4d98f6
mov ecx, dword [esi + 0x38]
mov byte [esi + 0x1a], 1
mov dword [esi + 0xe8], 3
call fcn.004d9ee0
mov ecx, dword [esi + 0x38]
mov byte [esi + 0x1a], 1
mov dword [esi + 0xe8], 3
call fcn.004da710
mov dword [esi + 8], edx
test eax, eax
jne 0x4d98f6
mov eax, dword [esi + 0x10]
mov edi, dword [esi + 0x14]
mov ebx, dword [esi + 0x1c]
mov ecx, dword [eax + 0x284]
mov eax, 1
mov edx, dword [edi + 0x7c]
movzx ebx, byte [ebx + 8]
and ecx, 0x1f
mov dword [esi + 0x20], ecx
shl eax, cl
mov ecx, eax
mov eax, dword [edi + 0x74]
sub eax, edx
cmp eax, ecx
jae 0x4d8e4e
mov eax, ecx
mov ecx, dword [esi + 0x60]
mov dword [esi + 0x2c], ebx
mov byte [esi + 0x1a], 1
mov dword [esi + 0x30], eax
push eax
call fcn.00581ee0
add esp, 4
mov edi, dword [esi + 0x14]
mov ebx, dword [esi + 0x2c]
mov ecx, dword [esi + 0x30]
mov edx, dword [edi + 0x7c]
and ebx, 1
mov eax, dword [edi + 0x78]
shl ebx, 0x1b
or ebx, dword [esi + 8]
cmp dword [esi + 0x20], 3
jae 0x4d8e64
mov edi, edx
jmp 0x4d8eab
movaps xmm0, xmmword [0x589850]
mov edi, ecx
and ecx, 0xfffffff8
mov dword [esi + 0x2c], ebx
and edi, 6
mov ebx, ecx
mov dword [esi + 0x30], edi
lea edi, [eax + edx*4 + 0x10]
add edx, ecx
nop word cs:[eax + eax]
nop dword [eax + eax]
movups xmmword [edi - 0x10], xmm0
movups xmmword [edi], xmm0
add edi, 0x20
add ebx, 0xfffffff8
jne 0x4d8e90
test ecx, ecx
mov ebx, dword [esi + 0x2c]
mov ecx, dword [esi + 0x30]
mov edi, edx
jne 0x4d8ebf
mov edx, edi
nop dword [eax]
lea edi, [edx + 1]
mov dword [eax + edx*4], 0x80000000
dec ecx
mov edx, edi
jne 0x4d8eb0
mov eax, dword [esi + 0x14]
or ebx, 0x40000000
mov dword [esi + 0x2c], ebx
mov dword [eax + 0x7c], edi
mov edi, dword [esi + 0x24]
mov eax, dword [edi]
mov edx, dword [edi + 8]
mov ecx, dword [edi + 0xc]
or edx, dword [edi + 0x18]
or eax, dword [edi + 0x10]
or ecx, dword [edi + 0x1c]
or eax, edx
mov edx, dword [edi + 4]
or edx, dword [edi + 0x14]
or edx, ecx
or edx, eax
je 0x4d8f1a
mov eax, dword [esi + 0x10]
mov ecx, dword [eax + 0x284]
mov eax, 1
and ecx, 0x1f
shl eax, cl
cmp ecx, 0x1b
jae 0x4d9aa7
or eax, 0x40000000
cmp eax, dword [esi + 0x2c]
jne 0x4d9069
mov ebx, dword [esi + 0x28]
mov ecx, dword [esi + 0x14]
mov eax, dword [esi + 0x1c]
add dword [ecx + 0x68], ebx
lock inc dword [eax]
jle 0x4d9c1d
mov edx, dword [ecx + 0x94]
cmp edx, dword [ecx + 0x8c]
jne 0x4d8f5b
mov ecx, dword [esi + 0x5c]
mov dword [esi + 0xe8], 4
call fcn.00418c70
mov ecx, dword [esi + 0x14]
mov ebx, dword [esi + 0x28]
mov edx, dword [ecx + 0x94]
mov eax, dword [ecx + 0x90]
mov edi, dword [esi + 0x1c]
mov dword [eax + edx*8], edi
mov dword [eax + edx*8 + 4], ebx
inc edx
mov dword [ecx + 0x94], edx
mov byte [esi + 0x1a], 0
mov dword [esi + 0xe8], 3
mov edx, edi
push dword [esi + 0x2c]
push ebx
call fcn.004da8d0
add esp, 8
mov eax, dword [esi + 0x2c]
mov ecx, dword [esi + 0x1c]
mov dword [esi + 0x68], eax
lock inc dword [ecx]
jle 0x4d9c1d
mov edx, dword [esi + 0x14]
mov ecx, dword [esi + 0x70]
mov ebx, dword [esi + 0x10]
mov edi, dword [edx + 0x94]
mov eax, dword [edx + 0xc]
mov dword [esi + 8], edi
lea ecx, [ecx + edi*8]
mov edi, dword [edx + 0x88]
lea eax, [eax + eax*2]
lea eax, [ecx + eax*4]
movzx ecx, byte [ebx + 0x284]
add eax, dword [edx + 0xa4]
add edi, dword [edx + 0x7c]
add eax, dword [edx + 0x68]
add edi, dword [edx + 0x38]
add edi, dword [edx + 0x44]
add edi, dword [edx + 0x54]
add edi, dword [edx + 0x60]
add edi, dword [edx + 0x98]
mov edx, 4
shl edx, cl
lea eax, [eax + edi*4]
add eax, edx
cmp eax, dword [ebx + 0x288]
jbe 0x4d91ee
mov eax, dword [esi + 0x10]
mov edx, dword [esi + 0x38]
cmp dword [eax + 0x48], 1
jne 0x4d91d9
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 0x10]
mov eax, dword [eax + 0x6c]
cmp eax, dword [ecx + 0x4c]
jb 0x4d91d9
mov eax, dword [esi + 0x10]
cmp dword [eax + 0x50], 1
jne 0x4d9946
mov eax, dword [esi + 0x10]
mov edx, dword [esi + 0x14]
mov eax, dword [eax + 0x54]
mov edi, dword [edx + 0x70]
cmp dword [edx + 0xb0], 0
je 0x4d91bf
mov ecx, dword [edx + 0xb8]
mov ebx, dword [edx + 0xb4]
mov edx, edi
mov edi, ecx
sub edi, ebx
neg edi
sub ecx, ebx
cmovb ecx, edi
mov edi, edx
jmp 0x4d91c1
mov eax, 2
shl eax, cl
cmp eax, 0x8000000
jae 0x4d9ba3
or eax, 0x20000000
xor ecx, ecx
mov dword [esi + 0x6c], eax
cmp ecx, 0x101
mov eax, 0x100
cmovae eax, ecx
mov dword [esi + 0x34], eax
nop word cs:[eax + eax]
cmp dword [esi + 0x34], ecx
je 0x4d8f1a
mov dword [esi + 8], ecx
mov eax, ecx
mov eax, dword [esi + 8]
and al, 0x78
mov dword [esi + 0xb4], 0
mov dword [esi + 0xb0], 0
mov dword [esi + 0xac], 0
mov dword [esi + 0xa8], 1
mov dword [esi + 0xa4], 0
mov dword [esi + 0xa0], 0
mov dword [esi + 0x9c], 0
mov dword [esi + 0x98], 0
mov ecx, dword [esi + 8]
shr al, 3
neg al
movsx edi, al
mov edx, dword [esi + edi + 0xb0]
mov eax, dword [esi + edi + 0xb4]
mov dword [esi + 0x30], edi
mov ch, cl
and ch, 7
mov cl, ch
shld eax, edx, cl
shl edx, cl
not cl
mov dword [esi + 0x20], eax
mov eax, dword [esi + 8]
mov ebx, dword [esi + edi + 0xac]
shr eax, 3
mov edi, ebx
and eax, 0x10
shr edi, 1
shr edi, cl
mov cl, ch
or edi, edx
mov edx, dword [esi + 0x30]
mov edx, dword [esi + edx + 0xa8]
shld ebx, edx, cl
shl edx, cl
mov ecx, dword [esi + 0x24]
and edi, dword [ecx + eax + 8]
and edx, dword [ecx + eax]
and ebx, dword [ecx + eax + 4]
or edx, edi
mov edi, dword [esi + 0x20]
and edi, dword [ecx + eax + 0xc]
mov eax, dword [esi + 8]
or ebx, edi
lea ecx, [eax + 1]
or ebx, edx
je 0x4d90a0
cmp eax, 0xff
ja 0x4d8f1a
mov dword [esi + 8], ecx
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0x14]
shl eax, 8
mov byte [esi + 0x1a], 1
mov dword [esi + 0xe8], 3
movzx eax, ax
push dword [esi + 0x6c]
push eax
push dword [esi + 0x2c]
call fcn.004da7e0
mov ecx, dword [esi + 8]
add esp, 0xc
jmp 0x4d9085
xor ecx, ecx
add ecx, edi
mul dword [esi + 8]
mov edx, 0xffffffff
cmovno edx, eax
cmp ecx, edx
mov edx, dword [esi + 0x38]
jb 0x4d9946
mov ecx, edx
mov byte [esi + 0x1b], 1
mov dword [esi + 0xe8], 1
call fcn.004d9ee0
mov ecx, dword [esi + 0x38]
mov byte [esi + 0x1b], 1
mov dword [esi + 0xe8], 1
call fcn.004da710
test eax, eax
mov dword [esi + 8], edx
jne 0x4d9946
mov eax, dword [esi + 0x10]
mov edi, dword [esi + 0x14]
mov ebx, 1
mov ecx, dword [eax + 0x284]
mov eax, dword [edi + 0x74]
mov edx, dword [edi + 0x7c]
and ecx, 0x1f
sub eax, edx
mov dword [esi + 0x20], ecx
shl ebx, cl
cmp eax, ebx
mov eax, dword [esi + 0x1c]
movzx eax, byte [eax + 8]
mov dword [esi + 0x30], eax
jae 0x4d925f
mov ecx, dword [esi + 0x60]
mov byte [esi + 0x1b], 1
mov dword [esi + 0x34], ebx
push ebx
call fcn.00581ee0
add esp, 4
mov ecx, dword [esi + 8]
mov edi, dword [esi + 0x14]
mov ebx, dword [esi + 0x34]
mov edx, dword [edi + 0x7c]
jmp 0x4d9262
mov ecx, dword [esi + 8]
mov eax, dword [esi + 0x30]
and eax, 1
shl eax, 0x1b
or eax, ecx
cmp dword [esi + 0x20], 3
mov dword [esi + 0x30], eax
mov eax, dword [edi + 0x78]
jb 0x4d92b9
movaps xmm0, xmmword [0x589850]
mov ecx, ebx
and ebx, 6
lea edi, [eax + edx*4 + 0x10]
and ecx, 0xfffffff8
mov dword [esi + 0x34], ebx
add edx, ecx
mov ebx, ecx
nop word cs:[eax + eax]
nop dword [eax]
movups xmmword [edi - 0x10], xmm0
movups xmmword [edi], xmm0
add edi, 0x20
add ebx, 0xfffffff8
jne 0x4d92a0
mov edi, dword [esi + 0x14]
mov ebx, dword [esi + 0x34]
test ecx, ecx
jne 0x4d92cf
mov ecx, edx
nop dword [eax + eax]
lea edx, [ecx + 1]
mov dword [eax + ecx*4], 0x80000000
dec ebx
mov ecx, edx
jne 0x4d92c0
mov dword [edi + 0x7c], edx
mov edi, dword [esi + 0x24]
or dword [esi + 0x30], 0x20000000
mov ecx, dword [edi + 0xc]
mov eax, dword [edi]
mov edx, dword [edi + 8]
mov ebx, dword [edi + 4]
or edx, dword [edi + 0x18]
or eax, dword [edi + 0x10]
or ecx, dword [edi + 0x1c]
or ebx, dword [edi + 0x14]
or eax, edx
or ebx, ecx
or ebx, eax
je 0x4d9336
mov eax, dword [esi + 0x10]
mov ecx, dword [eax + 0x284]
and ecx, 0x1f
cmp ecx, 0x1b
jae 0x4d9ae4
mov edx, 2
shl edx, cl
cmp edx, 0x8000000
jae 0x4d9b28
mov eax, edx
or eax, 0x20000000
cmp eax, dword [esi + 0x30]
mov dword [esi + 0x38], eax
jne 0x4d972b
mov ebx, dword [esi + 0x28]
mov ecx, dword [esi + 0x14]
mov eax, dword [esi + 0x1c]
add dword [ecx + 0x68], ebx
lock inc dword [eax]
jle 0x4d9c1d
mov edx, dword [ecx + 0x94]
mov eax, dword [esi + 0x5c]
cmp edx, dword [ecx + 0x8c]
jne 0x4d9379
mov ecx, eax
mov dword [esi + 0xe8], 2
call fcn.00418c70
mov ecx, dword [esi + 0x14]
mov ebx, dword [esi + 0x28]
mov edx, dword [ecx + 0x94]
mov eax, dword [ecx + 0x90]
mov edi, dword [esi + 0x1c]
mov dword [eax + edx*8], edi
mov dword [eax + edx*8 + 4], ebx
inc edx
mov dword [ecx + 0x94], edx
mov byte [esi + 0x1b], 0
mov dword [esi + 0xe8], 1
mov edx, edi
push dword [esi + 0x30]
push ebx
call fcn.004da8d0
add esp, 8
mov eax, dword [esi + 0x30]
cmp dword [esi + 0x64], 0x80000000
mov dword [esi + 0x3c], 0x80000000
mov dword [esi + 0x74], eax
jne 0x4d9996
mov eax, dword [esi + 0x10]
mov edx, 1
mov ecx, dword [eax + 0x284]
and ecx, 0x1f
shl edx, cl
cmp ecx, 0x1b
jae 0x4d99c7
or edx, 0x40000000
cmp dword [esi + 0x68], edx
mov dword [esi + 0x3c], edx
jne 0x4d9a04
mov eax, 2
shl eax, cl
cmp eax, 0x8000000
jae 0x4d9a35
or eax, 0x20000000
mov dword [esi + 0x34], edx
cmp dword [esi + 0x30], eax
mov dword [esi + 0x3c], eax
jne 0x4d9a76
xor eax, eax
mov dword [esi + 0x20], 0
jmp 0x4d9480
mov ecx, dword [esi + 0x10]
mov bl, 1
mov dword [esi + 0x20], ebx
movzx edx, byte [ecx + eax + 0x160]
mov dword [esi + 0xe8], 0
mov byte [esi + 8], dl
lea edx, [eax + 1]
mov dword [esi + 0x24], edx
xor edx, edx
nop word [eax + eax]
shl eax, 8
mov byte [esi + 7], 1
mov dword [esi + 0xe8], 0
or eax, edx
mov edx, dword [esi + 0x14]
push 0x80000000
push eax
push 0x80000000
call fcn.004da7e0
add esp, 0xc
mov eax, dword [esi + 0x24]
movzx ebx, byte [esi + 8]
cmp byte [esi + 0x20], 0
je 0x4d94d0
cmp eax, 0x101
mov edx, 0x100
cmovae edx, eax
nop word cs:[eax + eax]
nop dword [eax]
cmp edx, eax
je 0x4d94dd
mov ecx, dword [esi + 0x10]
movzx edi, al
inc eax
movzx ecx, byte [ecx + edi + 0x160]
cmp bl, cl
je 0x4d94a0
mov byte [esi + 8], cl
mov cl, 1
mov dword [esi + 0x24], eax
xor edx, edx
mov eax, edi
mov dword [esi + 0x20], ecx
mov ecx, dword [esi + 0x10]
jmp 0x4d9450
cmp eax, 0xff
jbe 0x4d9425
mov edx, eax
cmp edx, 0xffffffff
je 0x4d9515
mov ecx, dword [esi + 0x10]
mov edx, 1
mov dword [esi + 0x24], 0xffffffff
mov byte [esi + 8], bl
movzx eax, byte [ecx + 0x25f]
mov dword [esi + 0xe8], 0
shl eax, 0x10
add eax, 0x10001
shr eax, 8
jmp 0x4d9450
xor eax, eax
mov dword [esi + 0x20], 0
jmp 0x4d957b
mov ecx, dword [esi + 0x10]
mov bl, 1
mov dword [esi + 0x20], ebx
movzx edx, byte [ecx + eax + 0x160]
mov dword [esi + 0xe8], 0
mov byte [esi + 8], dl
lea edx, [eax + 1]
mov dword [esi + 0x24], edx
xor edx, edx
nop word cs:[eax + eax]
nop
shl eax, 8
mov edi, dword [esi + 0x34]
mov byte [esi + 7], 1
mov dword [esi + 0xe8], 0
or eax, edx
mov edx, dword [esi + 0x14]
push edi
push eax
push edi
call fcn.004da7e0
add esp, 0xc
mov eax, dword [esi + 0x24]
movzx ebx, byte [esi + 8]
cmp byte [esi + 0x20], 0
je 0x4d95c0
cmp eax, 0x101
mov edx, 0x100
cmovae edx, eax
nop
cmp edx, eax
je 0x4d95cd
mov ecx, dword [esi + 0x10]
movzx edi, al
inc eax
movzx ecx, byte [ecx + edi + 0x160]
cmp bl, cl
je 0x4d9590
mov byte [esi + 8], cl
mov cl, 1
mov dword [esi + 0x24], eax
xor edx, edx
mov eax, edi
mov dword [esi + 0x20], ecx
mov ecx, dword [esi + 0x10]
jmp 0x4d9550
cmp eax, 0xff
jbe 0x4d9520
mov edx, eax
cmp edx, 0xffffffff
je 0x4d9605
mov ecx, dword [esi + 0x10]
mov edx, 1
mov dword [esi + 0x24], 0xffffffff
mov byte [esi + 8], bl
movzx eax, byte [ecx + 0x25f]
mov dword [esi + 0xe8], 0
shl eax, 0x10
add eax, 0x10001
shr eax, 8
jmp 0x4d9550
xor eax, eax
mov dword [esi + 0x20], 0
jmp 0x4d966b
mov ecx, dword [esi + 0x10]
mov bl, 1
mov dword [esi + 0x20], ebx
movzx edx, byte [ecx + eax + 0x160]
mov dword [esi + 0xe8], 0
mov byte [esi + 8], dl
lea edx, [eax + 1]
mov dword [esi + 0x24], edx
xor edx, edx
nop word cs:[eax + eax]
nop
shl eax, 8
mov edi, dword [esi + 0x30]
mov byte [esi + 7], 1
mov dword [esi + 0xe8], 0
or eax, edx
mov edx, dword [esi + 0x14]
push edi
push eax
push edi
call fcn.004da7e0
add esp, 0xc
mov eax, dword [esi + 0x24]
movzx ebx, byte [esi + 8]
cmp byte [esi + 0x20], 0
je 0x4d96b0
cmp eax, 0x101
mov edx, 0x100
cmovae edx, eax
nop
cmp edx, eax
je 0x4d96bd
mov ecx, dword [esi + 0x10]
movzx edi, al
inc eax
movzx ecx, byte [ecx + edi + 0x160]
cmp bl, cl
je 0x4d9680
mov byte [esi + 8], cl
mov cl, 1
mov dword [esi + 0x24], eax
xor edx, edx
mov eax, edi
mov dword [esi + 0x20], ecx
mov ecx, dword [esi + 0x10]
jmp 0x4d9640
cmp eax, 0xff
jbe 0x4d9610
mov edx, eax
cmp edx, 0xffffffff
je 0x4d96f5
mov ecx, dword [esi + 0x10]
mov edx, 1
mov dword [esi + 0x24], 0xffffffff
mov byte [esi + 8], bl
movzx eax, byte [ecx + 0x25f]
mov dword [esi + 0xe8], 0
shl eax, 0x10
add eax, 0x10001
shr eax, 8
jmp 0x4d9640
mov ecx, dword [esi + 0x14]
mov edx, dword [esi + 0x1c]
mov byte [esi + 7], 0
mov dword [esi + 0xe8], 0
push dword [esi + 0x34]
push dword [esi + 0x28]
call fcn.004da8d0
add esp, 8
mov eax, dword [esi + 0xe0]
mov dword fs:[0], eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
xor ecx, ecx
cmp ecx, 0x101
mov eax, 0x100
cmovae eax, ecx
mov dword [esi + 0x2c], eax
nop
cmp dword [esi + 0x2c], ecx
je 0x4d9336
mov dword [esi + 8], ecx
mov eax, ecx
mov eax, dword [esi + 8]
and al, 0x78
mov dword [esi + 0x94], 0
mov dword [esi + 0x90], 0
mov dword [esi + 0x8c], 0
mov dword [esi + 0x88], 1
mov dword [esi + 0x84], 0
mov dword [esi + 0x80], 0
mov dword [esi + 0x7c], 0
mov dword [esi + 0x78], 0
mov ecx, dword [esi + 8]
shr al, 3
neg al
movsx edi, al
mov edx, dword [esi + edi + 0x90]
mov eax, dword [esi + edi + 0x94]
mov dword [esi + 0x34], edi
mov ch, cl
and ch, 7
mov cl, ch
shld eax, edx, cl
shl edx, cl
not cl
mov dword [esi + 0x20], eax
mov eax, dword [esi + 8]
mov ebx, dword [esi + edi + 0x8c]
shr eax, 3
mov edi, ebx
and eax, 0x10
shr edi, 1
shr edi, cl
mov cl, ch
or edi, edx
mov edx, dword [esi + 0x34]
mov edx, dword [esi + edx + 0x88]
shld ebx, edx, cl
shl edx, cl
mov ecx, dword [esi + 0x24]
and edi, dword [ecx + eax + 8]
and edx, dword [ecx + eax]
and ebx, dword [ecx + eax + 4]
or edx, edi
mov edi, dword [esi + 0x20]
and edi, dword [ecx + eax + 0xc]
mov eax, dword [esi + 8]
or ebx, edi
lea ecx, [eax + 1]
or ebx, edx
je 0x4d9740
cmp eax, 0xff
ja 0x4d9336
mov dword [esi + 8], ecx
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0x14]
shl eax, 8
mov byte [esi + 0x1b], 1
mov dword [esi + 0xe8], 1
movzx eax, ax
push dword [esi + 0x38]
push eax
push dword [esi + 0x30]
call fcn.004da7e0
mov ecx, dword [esi + 8]
add esp, 0xc
jmp 0x4d972d
mov edi, 0xc
mov dword [esi + 0x14], ecx
lea ecx, [ebx + 0x80]
push edi
call fcn.00581ee0
add esp, 4
mov edx, dword [ebx + 0x88]
mov ecx, dword [esi + 0x14]
mov eax, dword [ecx + 4]
cmp edi, 8
mov ecx, edi
jb 0x4d8880
jmp 0x4d8834
mov byte [esi + 0xf], 1
xor ecx, ecx
xor edx, edx
push 0x59e5c0
call fcn.0057f710
add esp, 4
jmp 0x4d9c1d
mov eax, dword [esi + 0x1c]
lock dec dword [eax]
jne 0x4d98c3
mov ecx, dword [esi + 0x1c]
mov edx, dword [esi + 0x28]
call fcn.004c2b10
mov dword [esi + 0xe8], 0
mov byte [esi + 7], 1
mov dword [esi + 0xe8], 0
lea eax, [esi + 0x40]
mov ecx, str.called__Result::unwrap____on_an__Err__value
mov edx, 0x2b
push 0x59bb1c
push 0x59a9dc
push eax
call fcn.0057fa90
add esp, 0xc
jmp 0x4d9c1d
mov eax, dword [esi + 0x1c]
lock dec dword [eax]
jne 0x4d9913
mov ecx, dword [esi + 0x1c]
mov edx, dword [esi + 0x28]
call fcn.004c2b10
mov dword [esi + 0xe8], 0
mov byte [esi + 7], 1
mov dword [esi + 0xe8], 0
lea eax, [esi + 0x40]
mov ecx, str.called__Result::unwrap____on_an__Err__value
mov edx, 0x2b
push 0x59bb2c
push 0x59a9dc
push eax
call fcn.0057fa90
add esp, 0xc
jmp 0x4d9c1d
mov eax, dword [esi + 0x1c]
lock dec dword [eax]
jne 0x4d9963
mov ecx, dword [esi + 0x1c]
mov edx, dword [esi + 0x28]
call fcn.004c2b10
mov dword [esi + 0xe8], 0
mov byte [esi + 7], 1
mov dword [esi + 0xe8], 0
lea eax, [esi + 0x40]
mov ecx, str.called__Result::unwrap____on_an__Err__value
mov edx, 0x2b
push 0x59bb3c
push 0x59a9dc
push eax
call fcn.0057fa90
add esp, 0xc
jmp 0x4d9c1d
mov dword [esi + 0x40], 0
mov byte [esi + 7], 1
mov dword [esi + 0xe8], 0
lea eax, [esi + 0x40]
lea ecx, [esi + 0x64]
lea edx, [esi + 0x3c]
push 0x59bb4c
push eax
call fcn.00582de0
add esp, 8
jmp 0x4d9c1d
mov dword [esi + 0x40], edx
mov dword [esi + 0x44], 0
mov byte [esi + 7], 1
mov dword [esi + 0xe8], 0
lea eax, [esi + 0x40]
mov ecx, str.called__Result::unwrap____on_an__Err__value
mov edx, 0x2b
push 0x59bcf4
push 0x59aa5c
push eax
call fcn.0057fa90
add esp, 0xc
jmp 0x4d9c1d
mov dword [esi + 0x40], 0
mov byte [esi + 7], 1
mov dword [esi + 0xe8], 0
lea eax, [esi + 0x40]
lea ecx, [esi + 0x68]
lea edx, [esi + 0x3c]
push 0x59bb5c
push eax
call fcn.00582de0
add esp, 8
jmp 0x4d9c1d
mov dword [esi + 0x44], 0
mov dword [esi + 0x40], 0x8000000
mov byte [esi + 7], 1
mov dword [esi + 0xe8], 0
lea eax, [esi + 0x40]
mov ecx, str.called__Result::unwrap____on_an__Err__value
mov edx, 0x2b
push 0x59bd04
push 0x59aa5c
push eax
call fcn.0057fa90
add esp, 0xc
jmp 0x4d9c1d
mov dword [esi + 0x40], 0
mov byte [esi + 7], 1
mov dword [esi + 0xe8], 0
lea eax, [esi + 0x40]
lea ecx, [esi + 0x74]
lea edx, [esi + 0x3c]
push 0x59bb6c
push eax
call fcn.00582de0
add esp, 8
jmp 0x4d9c1d
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], 0
mov byte [esi + 0x1a], 1
mov dword [esi + 0xe8], 3
lea eax, [esi + 0x40]
mov ecx, str.called__Result::unwrap____on_an__Err__value
mov edx, 0x2b
push 0x59bcf4
push 0x59aa5c
push eax
call fcn.0057fa90
add esp, 0xc
jmp 0x4d9c1d
mov eax, 1
mov dword [esi + 0x44], 0
mov byte [esi + 0x1b], 1
mov dword [esi + 0xe8], 1
mov edx, 0x2b
shl eax, cl
mov ecx, str.called__Result::unwrap____on_an__Err__value
mov dword [esi + 0x40], eax
lea eax, [esi + 0x40]
push 0x59bcf4
push 0x59aa5c
push eax
call fcn.0057fa90
add esp, 0xc
jmp 0x4d9c1d
mov dword [esi + 0x44], 0
mov dword [esi + 0x40], 0x8000000
mov byte [esi + 0x1b], 1
mov dword [esi + 0xe8], 1
lea eax, [esi + 0x40]
mov ecx, str.called__Result::unwrap____on_an__Err__value
mov edx, 0x2b
push 0x59bd04
push 0x59aa5c
push eax
call fcn.0057fa90
add esp, 0xc
jmp 0x4d9c1d
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], 0
mov byte [esi + 0xf], 1
mov dword [esi + 0xe8], 5
lea eax, [esi + 0x40]
mov ecx, str.called__Result::unwrap____on_an__Err__value
mov edx, 0x2b
push 0x59bcf4
push 0x59aa5c
push eax
call fcn.0057fa90
add esp, 0xc
jmp 0x4d9c1d
mov dword [esi + 0x44], 0
mov dword [esi + 0x40], 0x8000000
mov byte [esi + 0x1a], 1
mov dword [esi + 0xe8], 3
lea eax, [esi + 0x40]
mov ecx, str.called__Result::unwrap____on_an__Err__value
mov edx, 0x2b
push 0x59bd04
push 0x59aa5c
push eax
call fcn.0057fa90
add esp, 0xc
jmp 0x4d9c1d
mov dword [esi + 0x44], 0
mov dword [esi + 0x40], 0x8000000
mov byte [esi + 0xf], 1
mov dword [esi + 0xe8], 5
lea eax, [esi + 0x40]
mov ecx, str.called__Result::unwrap____on_an__Err__value
mov edx, 0x2b
push 0x59bd04
push 0x59aa5c
push eax
call fcn.0057fa90
add esp, 0xc
ud2