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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x88
mov eax, dword [ecx]
test eax, eax
je 0x4bfc39
mov ebp, ecx
mov dword [esp + 0x20], edx
mov ecx, dword [esp + 0x9c]
xor edx, edx
cmp dword [esp + 0xa8], 0
je 0x4bfbb4
cmp eax, 1
jne 0x4bfbb4
lea eax, [ebp + 0xa4]
mov edx, ecx
mov esi, dword [ebp + 0x20c]
mov ebx, dword [ebp + 0x208]
add ebx, 0xffffffff
adc esi, 0xffffffff
mov edi, dword [esp + 0x20]
mov ecx, edi
push dword [ebp + 0x1d4]
push esi
push ebx
push eax
call fcn.004c45a0
add esp, 0x10
mov edx, eax
cmp eax, 0xffffff88
ja 0x4bfc3e
mov ecx, dword [esp + 0x9c]
sub ecx, edx
add edi, edx
mov dword [esp + 0x20], edi
mov dword [ebp], 2
mov esi, dword [esp + 0xa4]
test esi, esi
je 0x4bfc3e
mov dword [esp + 0x60], edx
mov dword [esp + 0xc], ecx
mov edx, dword [esp + 0xa0]
lea eax, [ebp + 0x818]
mov dword [esp + 0x2c], eax
mov ecx, dword [ebp + 0x818]
mov eax, ecx
xor eax, edx
or eax, dword [ebp + 0x870]
setne byte [esp + 0x14]
mov dword [esp + 4], ebp
je 0x4bfc4b
mov ebx, dword [ebp + 0x81c]
mov esi, ebp
mov ebp, dword [ebp + 0x824]
sub ecx, ebx
mov dword [esi + 0x828], ebp
mov dword [esi + 0x824], ecx
mov dword [esi + 0x820], ebx
mov edi, edx
sub edx, ecx
mov dword [esi + 0x81c], edx
mov eax, ecx
sub eax, ebp
cmp eax, 7
ja 0x4bfc30
mov dword [esi + 0x828], ecx
mov ebp, ecx
mov esi, dword [esp + 0xa4]
jmp 0x4bfc5f
mov edx, 0xffffffc4
mov eax, edx
add esp, 0x88
pop esi
pop edi
pop ebx
pop ebp
ret
mov edi, edx
mov ebx, dword [ebp + 0x820]
mov ecx, dword [ebp + 0x824]
mov ebp, dword [ebp + 0x828]
lea eax, [edi + esi]
mov edx, dword [esp + 0x2c]
mov dword [edx], eax
add ebp, ebx
cmp eax, ebp
mov ebp, dword [esp + 4]
jbe 0x4bfc88
lea esi, [ebx + ecx]
cmp esi, edi
jbe 0x4bfc88
mov esi, eax
sub esi, ebx
cmp esi, ecx
cmovge esi, ecx
mov dword [ebp + 0x828], esi
cmp byte [esp + 0x14], 0
je 0x4bfc9f
mov dword [ebp + 0x870], 0
mov dword [ebp + 0x834], ecx
cmp dword [ebp + 0xf8], 1
mov esi, dword [esp + 0xc]
jne 0x4bfd37
mov ecx, dword [ebp + 0x2d0]
cmp ecx, edi
je 0x4bfcfb
mov edx, dword [ebp + 0x2d4]
mov esi, edi
mov ebx, dword [ebp + 0x2dc]
sub ecx, edx
mov dword [ebp + 0x2e0], ebx
mov dword [ebp + 0x2dc], ecx
mov dword [ebp + 0x2d8], edx
sub esi, ecx
mov dword [ebp + 0x2d4], esi
mov esi, ecx
sub esi, ebx
cmp esi, 7
ja 0x4bfcf5
mov dword [ebp + 0x2e0], ecx
mov ebx, ecx
mov esi, dword [esp + 0xc]
jmp 0x4bfd0d
mov edx, dword [ebp + 0x2d8]
mov ecx, dword [ebp + 0x2dc]
mov ebx, dword [ebp + 0x2e0]
mov dword [ebp + 0x2d0], eax
add ebx, edx
cmp eax, ebx
jbe 0x4bfd37
lea esi, [edx + ecx]
cmp esi, edi
mov esi, dword [esp + 0xc]
jbe 0x4bfd37
mov esi, eax
sub esi, edx
cmp esi, ecx
cmovge esi, ecx
mov dword [ebp + 0x2e0], esi
mov esi, dword [esp + 0xc]
mov ebx, edi
lea edi, [ebp + 0xa4]
cmp dword [esp + 0xa8], 0
je 0x4bfdd8
mov dword [esp + 0x68], edi
movzx ecx, byte [ebp + 0xa8]
mov eax, 1
shl eax, cl
mov dword [esp + 0x58], eax
mov ecx, dword [ebp + 0x204]
cmp dword [ebp + 0xc8], 0
mov edx, dword [esp + 0xa4]
je 0x4bfd95
lea eax, [ebp + 0x220]
push edx
push ebx
push eax
mov edi, ecx
call fcn.00679540
mov edx, dword [esp + 0xb0]
mov ecx, edi
add esp, 0xc
lea eax, [ebp + 0x1dc]
mov dword [esp + 0x64], eax
lea eax, [ebp + 0x2a4]
mov dword [esp + 0x28], eax
lea eax, [ebp + 0xa24]
mov dword [esp + 0x4c], eax
lea eax, [ebp + 0x9f8]
mov dword [esp + 0x30], eax
lea eax, [ebp + 0x9cc]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 8], eax
mov eax, edx
mov edi, ebx
jmp 0x4bfe80
lea edx, [ebp + 0x1dc]
mov ecx, dword [esp + 0x2c]
push eax
push ebx
push edi
call fcn.004c5d60
add esp, 0xc
mov ecx, ebp
mov edx, dword [esp + 0x20]
push 0
push dword [esp + 0xa8]
push ebx
push esi
call fcn.004c6000
add esp, 0x10
mov edx, eax
cmp edx, 0xffffff88
ja 0x4bfc3e
jmp 0x4c075a
mov dword [esp + 0x14], edi
mov ecx, dword [esp]
lea edi, [ecx + 3]
cmp edi, esi
mov edx, 0xffffffba
ja 0x4bfc3e
mov eax, dword [esp + 0x10]
lea eax, [eax + ecx*8]
mov edx, dword [esp + 8]
mov word [edx], ax
mov eax, ecx
shr eax, 0xd
mov byte [edx + 2], al
push ecx
push ebx
push dword [esp + 0x1c]
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
mov ecx, dword [esp + 0xc]
add esp, 0xc
mov edx, edi
cmp edi, 0xffffff89
jae 0x4bfc3e
add dword [esp + 8], edi
sub esi, edi
mov dword [ebp + 0x29c], 0
mov eax, dword [esp + 0x74]
sub eax, ecx
mov edi, dword [esp + 0x78]
je 0x4c0730
cmp ecx, eax
setae bl
mov edx, 0xffffffba
cmp esi, 6
jb 0x4bfc3e
mov dword [esp + 0xc], esi
cmp eax, ecx
mov dword [esp + 0x74], eax
cmovb ecx, eax
mov dword [esp], ecx
lea esi, [edi + ecx]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x64]
push esi
mov dword [esp + 0x20], edi
push edi
push dword [esp + 0x70]
call fcn.004c5d60
add esp, 0xc
mov eax, dword [ebp + 0x81c]
mov edx, dword [ebp + 0x830]
mov dword [esp + 0x78], esi
mov ecx, esi
sub ecx, eax
mov esi, dword [esp + 0x58]
add esi, edx
cmp ecx, esi
jbe 0x4bfef4
mov dword [ebp + 0x830], 0
mov dword [ebp + 0x8bc], 0
xor edx, edx
mov ecx, dword [esp + 0x1c]
sub ecx, eax
mov eax, dword [esp + 0x58]
add edx, eax
cmp ecx, edx
jbe 0x4bff50
sub ecx, eax
mov eax, dword [ebp + 0x828]
cmp eax, ecx
jae 0x4bff18
mov dword [ebp + 0x828], ecx
mov eax, ecx
cmp dword [ebp + 0x824], eax
mov esi, dword [esp + 0xc]
jae 0x4bff2a
mov dword [ebp + 0x824], eax
mov dword [ebp + 0x830], 0
mov dword [ebp + 0x8bc], 0
cmp dword [ebp + 0x834], eax
jb 0x4bff62
jmp 0x4bff68
mov eax, dword [ebp + 0x828]
mov esi, dword [esp + 0xc]
cmp dword [ebp + 0x834], eax
jae 0x4bff68
mov dword [ebp + 0x834], eax
xor eax, eax
mov al, bl
and eax, dword [esp + 0xac]
mov dword [esp + 0x10], eax
cmp dword [ebp + 0xd8], 0
je 0x4c0050
mov ecx, ebp
mov ebx, dword [esp + 0x1c]
mov edx, ebx
push dword [esp]
call fcn.004c6200
add esp, 4
cmp eax, 0xffffff88
ja 0x4c0729
test eax, eax
mov ecx, dword [esp]
jne 0x4bffe0
cmp dword [ebp + 0x29c], 0
je 0x4c031e
push dword [esp + 0x10]
push ecx
push ebx
push esi
push dword [esp + 0x18]
push ebp
call fcn.00679f40
mov ecx, dword [esp + 0x18]
add esp, 0x18
cmp eax, 0xffffffba
jne 0x4c011e
nop word cs:[eax + eax]
lea edi, [ecx + 3]
cmp edi, esi
mov edx, 0xffffffba
ja 0x4bfc3e
mov eax, dword [esp + 0x10]
lea eax, [eax + ecx*8]
mov edx, dword [esp + 8]
mov word [edx], ax
mov eax, ecx
shr eax, 0xd
mov byte [edx + 2], al
lea eax, [edx + 3]
push ecx
push ebx
push eax
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
mov ecx, dword [esp + 0xc]
add esp, 0xc
mov edx, edi
cmp edi, 0xffffff88
ja 0x4bfc3e
mov eax, dword [ebp + 0x810]
cmp dword [eax + 0x11dc], 2
jne 0x4bfe60
mov dword [eax + 0x11dc], 1
jmp 0x4bfe60
cmp dword [ebp + 0x124], 1
jne 0x4c00cb
mov ecx, ebp
mov ebx, dword [esp + 0x1c]
mov edx, ebx
push dword [esp]
call fcn.004c6200
add esp, 4
cmp eax, 0xffffff88
ja 0x4c0729
cmp eax, 1
jne 0x4c0178
mov eax, dword [ebp + 0x810]
cmp dword [eax + 0x11dc], 2
jne 0x4c0097
mov dword [eax + 0x11dc], 1
mov ecx, dword [esp]
lea edi, [ecx + 3]
cmp edi, esi
mov edx, 0xffffffba
ja 0x4bfc3e
mov eax, dword [esp + 0x10]
lea eax, [eax + ecx*8]
mov edx, dword [esp + 8]
mov word [edx], ax
mov eax, ecx
shr eax, 0xd
mov byte [edx + 2], al
lea eax, [edx + 3]
push ecx
push ebx
push eax
jmp 0x4bfe49
mov eax, dword [esp + 8]
lea edi, [eax + 3]
lea eax, [esi - 3]
mov ecx, ebp
mov edx, edi
push 1
push dword [esp + 4]
mov ebx, dword [esp + 0x24]
push ebx
push eax
call fcn.004c6000
add esp, 0x10
cmp eax, 0xffffff88
ja 0x4c0729
cmp eax, 1
je 0x4c038d
test eax, eax
je 0x4bfe16
mov edi, eax
mov eax, dword [esp + 0x10]
lea edx, [edi*8]
mov ecx, 4
jmp 0x4c03a2
cmp eax, 0xffffff88
mov edx, eax
ja 0x4bfc3e
mov eax, dword [ebp + 0xc0]
mov ecx, eax
dec cl
cmp eax, 8
movzx ecx, cl
mov eax, 6
cmovb ecx, eax
mov eax, dword [esp]
shr eax, cl
mov ecx, dword [esp]
test edx, edx
je 0x4bffe0
neg eax
add eax, ecx
inc eax
cmp edx, eax
jae 0x4bffe0
movsd xmm0, qword [ebp + 0x810]
shufps xmm0, xmm0, 0xe1
movlps qword [ebp + 0x810], xmm0
mov edi, edx
jmp 0x4c0023
mov edi, dword [ebp + 0x2a8]
sub edi, dword [ebp + 0x2a4]
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], 0
xor edx, edx
cmp edi, 0x28
jb 0x4c01c1
sar edi, 3
lea ecx, [esp + 0x40]
xor edx, edx
push dword [esp + 0x28]
push ebp
push edi
call fcn.004c6b50
add esp, 0xc
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
mov dword [eax + ecx*4], edi
mov edx, dword [esp + 0x44]
mov eax, dword [ebp + 0x810]
mov ecx, dword [eax + 0x11f0]
mov dword [esp + 0x48], ecx
movsd xmm0, qword [eax + 0x11e8]
movsd qword [esp + 0x40], xmm0
movsd xmm0, qword [eax + 0x11e8]
movsd qword [esp + 0x7c], xmm0
mov eax, dword [eax + 0x11f0]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x30]
xorps xmm0, xmm0
movups xmmword [eax + 0x1c], xmm0
movups xmmword [eax + 0x10], xmm0
movups xmmword [eax], xmm0
mov dword [esp + 0x34], edx
test edx, edx
je 0x4c03be
mov ebx, dword [ebp + 0xa24]
mov eax, dword [ebp + 0x2b0]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x28]
movups xmm0, xmmword [eax + 0x1c]
mov ecx, dword [esp + 0x54]
movups xmmword [ecx + 0x1c], xmm0
movups xmm0, xmmword [eax]
movdqu xmm1, xmmword [eax + 0x10]
movdqu xmmword [ecx + 0x10], xmm1
movups xmmword [ecx], xmm0
cmp dword [ebp + 0x2c8], 0
je 0x4c0263
cmp dword [ebp + 0x2cc], ebx
jbe 0x4c0263
mov dword [ebp + 0x9f0], 0
mov edx, dword [ebp + 0x2a4]
mov dword [ebp + 0x9cc], edx
lea eax, [edx + ebx*8]
mov dword [ebp + 0x9d0], eax
mov dword [esp + 0x38], 0
mov edi, 0
test ebx, ebx
mov ecx, ebx
je 0x4c0422
mov ebx, dword [ebp + 0x9f4]
xor eax, eax
mov edi, 0
cmp ecx, 1
mov dword [esp + 0x18], ecx
je 0x4c03fe
and ecx, 0xfffffffe
xor ebp, ebp
xor edi, edi
mov dword [esp + 0x14], ebx
jmp 0x4c02cd
mov esi, dword [esp + 0xc]
inc ebp
cmp ebp, ecx
je 0x4c03f3
mov eax, ebp
movzx esi, word [edx + ebp*8 + 4]
add esi, edi
cmp ebx, ebp
jne 0x4c02ee
lea edi, [esi + 0x10000]
mov ebp, dword [esp + 4]
cmp dword [ebp + 0x9f0], 1
cmove esi, edi
movzx edi, word [edx + eax*8 + 0xc]
add edi, esi
lea ebp, [eax + 1]
cmp ebp, ebx
jne 0x4c02c0
lea esi, [edi + 0x10000]
mov ebx, edx
mov edx, ecx
mov ecx, dword [esp + 4]
cmp dword [ecx + 0x9f0], 1
mov ecx, edx
mov edx, ebx
mov ebx, dword [esp + 0x14]
cmove edi, esi
jmp 0x4c02c0
mov eax, dword [ebp + 0x2a8]
sub eax, dword [ebp + 0x2a4]
cmp eax, 0x1f
ja 0x4bffb4
mov eax, dword [ebp + 0x2b0]
sub eax, dword [ebp + 0x2ac]
cmp eax, 9
ja 0x4bffb4
mov ecx, ebx
mov edx, dword [esp]
call fcn.004c6490
mov ecx, dword [esp]
test eax, eax
je 0x4bffb4
movzx eax, byte [ebx]
mov ecx, dword [esp]
mov edx, dword [esp + 0x10]
lea ecx, [edx + ecx*8]
add ecx, 2
mov edx, dword [esp + 8]
mov word [edx], cx
mov ecx, dword [esp]
shr ecx, 0xd
mov byte [edx + 2], cl
mov ecx, dword [esp]
mov byte [edx + 3], al
mov edi, 4
jmp 0x4c0023
mov edi, eax
mov eax, dword [esp]
lea eax, [eax*8]
mov ecx, 2
mov edx, dword [esp + 0x10]
or eax, edx
or ecx, eax
mov edx, dword [esp + 8]
mov word [edx], cx
shr eax, 0x10
mov byte [edx + 2], al
add edi, 3
mov ecx, dword [esp]
jmp 0x4bfe60
mov ecx, ebp
mov edx, dword [esp + 0x28]
push 0
push dword [esp + 0x14]
mov edi, dword [esp + 8]
push edi
push ebx
push esi
push dword [esp + 0x1c]
lea eax, [esp + 0x94]
push eax
lea eax, [esp + 0x5c]
push eax
call fcn.004c65b0
mov ecx, edi
add esp, 0x20
mov edi, eax
jmp 0x4bfe55
add eax, 2
mov ebp, dword [esp + 4]
mov ecx, dword [esp + 0x18]
test cl, 1
je 0x4c0422
movzx ecx, word [edx + eax*8 + 4]
add edi, ecx
cmp eax, ebx
jne 0x4c041e
lea eax, [edi + 0x10000]
cmp dword [ebp + 0x9f0], 1
cmove edi, eax
mov ecx, dword [esp + 0x18]
mov eax, dword [ebp + 0x2a8]
sub eax, edx
sar eax, 3
add edi, dword [ebp + 0x9d4]
cmp eax, ecx
cmove edi, dword [esp + 0x24]
mov dword [ebp + 0x9d8], edi
xor ebx, ebx
mov eax, dword [esp + 8]
mov dword [esp + 0x50], 0
mov edi, esi
mov ecx, dword [esp + 0x34]
nop word cs:[eax + eax]
mov ebp, dword [esp + 4]
mov esi, dword [ebp + 0x9cc]
mov edx, dword [ebp + 0x9d0]
mov dword [esp + 0x24], esi
sub edx, esi
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x70], eax
mov dword [esp + 0x18], edi
je 0x4c0530
sar edx, 3
mov ecx, dword [ebp + 0x9f4]
cmp edx, 2
mov eax, 1
cmovb edx, eax
mov eax, edx
dec eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x3c], edx
je 0x4c0540
and edx, 0xfffffffe
xor ebp, ebp
xor ebx, ebx
mov eax, dword [esp + 0x24]
jmp 0x4c04c5
inc ebp
cmp ebp, edx
je 0x4c0520
mov edi, ebp
movzx esi, word [eax + ebp*8 + 4]
add esi, ebx
cmp ecx, ebp
jne 0x4c04e6
lea ebx, [esi + 0x10000]
mov ebp, dword [esp + 4]
cmp dword [ebp + 0x9f0], 1
cmove esi, ebx
movzx ebx, word [eax + edi*8 + 0xc]
add ebx, esi
lea ebp, [edi + 1]
cmp ebp, ecx
jne 0x4c04c0
lea esi, [ebx + 0x10000]
mov dword [esp + 0x14], ebx
mov ebx, eax
mov eax, ecx
mov ecx, edx
mov edx, dword [esp + 4]
cmp dword [edx + 0x9f0], 1
mov edx, ecx
mov ecx, eax
mov eax, ebx
mov ebx, dword [esp + 0x14]
cmove ebx, esi
jmp 0x4c04c0
add edi, 2
mov ebp, dword [esp + 4]
test byte [esp + 0x3c], 1
jne 0x4c054f
jmp 0x4c056a
xor edi, edi
mov eax, dword [esp]
mov edx, dword [esp + 0x38]
jmp 0x4c063a
xor edi, edi
xor ebx, ebx
mov eax, dword [esp + 0x24]
test byte [esp + 0x3c], 1
je 0x4c056a
movzx edx, word [eax + edi*8 + 4]
add ebx, edx
cmp edi, ecx
jne 0x4c056a
lea edx, [ebx + 0x10000]
cmp dword [ebp + 0x9f0], 1
cmove ebx, edx
cmp dword [esp + 0x6c], 0
je 0x4c0600
mov edx, dword [esp + 0x3c]
and edx, 0xfffffffe
mov dword [esp + 0x14], edx
xor ebp, ebp
xor edi, edi
jmp 0x4c0597
inc ebp
cmp ebp, dword [esp + 0x14]
je 0x4c05f0
mov esi, ebp
movzx ebp, word [eax + ebp*8 + 6]
add edi, ebp
add edi, 3
cmp ecx, esi
jne 0x4c05bb
lea ebp, [edi + 0x10000]
mov edx, dword [esp + 4]
cmp dword [edx + 0x9f0], 2
cmove edi, ebp
movzx ebp, word [eax + esi*8 + 0xe]
add edi, ebp
add edi, 3
lea ebp, [esi + 1]
cmp ebp, ecx
jne 0x4c0590
lea edx, [edi + 0x10000]
mov eax, dword [esp + 4]
cmp dword [eax + 0x9f0], 2
mov eax, dword [esp + 0x24]
cmove edi, edx
jmp 0x4c0590
add esi, 2
mov ebp, dword [esp + 4]
test byte [esp + 0x3c], 1
jne 0x4c060b
jmp 0x4c0629
xor esi, esi
xor edi, edi
test byte [esp + 0x3c], 1
je 0x4c0629
movzx eax, word [eax + esi*8 + 6]
add edi, eax
add edi, 3
cmp esi, ecx
jne 0x4c0629
lea eax, [edi + 0x10000]
cmp dword [ebp + 0x9f0], 2
cmove edi, eax
add edi, ebx
mov eax, dword [esp]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x5c]
add edx, edi
cmp ebx, ecx
mov dword [esp + 0x38], edx
jne 0x4c0650
add edi, eax
sub edi, edx
mov eax, dword [esp + 0x10]
jmp 0x4c066d
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x4c]
push dword [eax + ebx*4 + 4]
push dword [eax + ebx*4]
call fcn.004c6900
add esp, 8
xor eax, eax
mov ecx, ebp
mov ebx, dword [esp + 0x54]
mov edx, ebx
push 1
push eax
push edi
mov esi, dword [esp + 0x28]
push esi
push dword [esp + 0x28]
mov ebp, dword [esp + 0x84]
push ebp
lea eax, [esp + 0x94]
push eax
lea eax, [esp + 0x5c]
push eax
call fcn.004c65b0
add esp, 0x20
cmp eax, 0xffffff88
ja 0x4c0717
add esi, edi
mov dword [esp + 0x1c], esi
add ebp, eax
mov edi, dword [esp + 0x18]
sub edi, eax
add dword [esp + 0x50], eax
mov eax, dword [esp + 0x30]
movups xmm0, xmmword [eax + 0x1c]
movups xmmword [ebx + 0x1c], xmm0
movups xmm0, xmmword [eax]
movdqu xmm1, xmmword [eax + 0x10]
movdqu xmmword [ebx + 0x10], xmm1
movups xmmword [ebx], xmm0
mov ebx, dword [esp + 0x5c]
inc ebx
mov ecx, dword [esp + 0x34]
cmp ebx, ecx
mov esi, dword [esp + 0xc]
mov eax, ebp
jbe 0x4c0460
mov ebp, dword [esp + 4]
mov eax, dword [ebp + 0x810]
mov ecx, dword [esp + 0x48]
mov dword [eax + 0x11f0], ecx
movsd xmm0, qword [esp + 0x40]
movsd qword [eax + 0x11e8], xmm0
mov ecx, dword [esp]
mov edi, dword [esp + 0x50]
jmp 0x4bfe55
mov edi, eax
mov ecx, dword [esp]
mov esi, dword [esp + 0xc]
mov ebp, dword [esp + 4]
jmp 0x4bfe55
mov edx, eax
jmp 0x4bfc3e
cmp dword [esp + 0xac], 0
mov eax, dword [esp + 0x20]
je 0x4c074b
cmp dword [esp + 8], eax
jbe 0x4c074b
mov dword [ebp], 3
mov edx, dword [esp + 8]
sub edx, eax
cmp edx, 0xffffff88
ja 0x4bfc3e
add edx, dword [esp + 0x60]
movd xmm0, edx
movd xmm1, dword [esp + 0xa4]
punpcklqdq xmm1, xmm0
movdqu xmm0, xmmword [ebp + 0x210]
paddq xmm0, xmm1
movdqu xmmword [ebp + 0x210], xmm0
mov eax, dword [ebp + 0x208]
mov ecx, dword [ebp + 0x20c]
pshufd xmm1, xmm0, 0x55
mov edi, edx
movd edx, xmm1
movd esi, xmm0
add esi, 1
adc edx, 0
cmp eax, esi
mov esi, ecx
sbb esi, edx
mov edx, 0xffffffb8
cmovae edx, edi
or eax, ecx
cmovne edi, edx
mov edx, edi
jmp 0x4bfc3e