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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x8c
mov eax, dword [0x609e44]
xor eax, esp
mov dword [esp + 0x88], eax
mov eax, dword [ecx + 0xf4]
push ebx
push esi
push edi
mov edi, dword [ecx]
mov ebx, edx
mov edx, dword [ebp + 8]
mov dword [esp + 0x38], ebx
mov dword [esp + 0x1c], ecx
test byte [edi + 0x4c], 1
mov dword [esp + 0x3c], edx
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x30], 0
mov dword [esp + 0x28], edi
jne 0x4cb442
mov eax, dword [ebx + 0x20]
lea ecx, [edx + edx*8]
shl ecx, 3
mov dword [esp + 0x14], eax
add eax, ecx
cmp dword [ebx + 0x44], 0
mov dword [esp + 0x34], ecx
mov dword [esp + 0x18], eax
mov ecx, dword [eax + 0x34]
mov dword [esp + 0x40], ecx
mov ecx, dword [eax + 0x1c]
jne 0x4cb442
cmp dword [ecx + 0x44], 0
jne 0x4cb442
mov eax, dword [ecx + 0x3c]
mov esi, dword [ecx + 0x20]
test eax, eax
je 0x4cb3eb
cmp dword [ebx + 0x3c], 0
jne 0x4cb442
cmp dword [eax + 0x10], 0
jne 0x4cb442
mov edx, dword [ebx + 4]
test edx, 0x100
je 0x4cb3fa
test eax, eax
jne 0x4cb442
cmp dword [esi], 0
je 0x4cb442
test byte [ecx + 4], 1
jne 0x4cb442
mov esi, dword [ebp + 0xc]
test eax, eax
je 0x4cb41d
mov edi, dword [esp + 0x14]
cmp dword [edi], 1
mov edi, dword [esp + 0x28]
jg 0x4cb442
test esi, esi
jne 0x4cb442
cmp dword [ebx + 0x30], 0
je 0x4cb429
cmp dword [ecx + 0x30], 0
jne 0x4cb442
test esi, esi
je 0x4cb433
cmp dword [ecx + 0x30], 0
jne 0x4cb442
test eax, eax
je 0x4cb459
cmp dword [ebx + 0x24], 0
jne 0x4cb442
and edx, 1
je 0x4cb45c
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x88]
xor ecx, esp
call fcn.005a6fed
mov esp, ebp
pop ebp
ret
and edx, 1
test dword [ecx + 4], 0x2000
jne 0x4cb442
mov eax, dword [esp + 0x18]
test byte [eax + 0x2c], 0x20
je 0x4cb491
mov eax, dword [ecx + 0x20]
mov dword [esp + 0x30], 1
cmp dword [eax], 1
jg 0x4cb442
test esi, esi
jne 0x4cb442
mov eax, dword [eax + 0x18]
cmp dword [eax + 0x38], esi
jne 0x4cb442
test byte [ebx + 4], 1
jne 0x4cb442
cmp dword [ecx + 0x34], 0
lea eax, [ecx + 0x34]
mov dword [esp + 0x20], eax
je 0x4cb512
cmp dword [ecx + 0x30], 0
jne 0x4cb442
test esi, esi
jne 0x4cb442
test edx, edx
jne 0x4cb442
mov eax, dword [esp + 0x14]
cmp dword [eax], 1
jne 0x4cb442
test byte [ecx + 4], 9
jne 0x4cb442
mov edx, dword [ecx + 0x34]
test edx, edx
je 0x4cb4cb
cmp byte [ecx], 0x85
jne 0x4cb442
mov eax, dword [ecx + 0x20]
cmp dword [eax], 1
jl 0x4cb442
cmp dword [ecx + 0x44], 0
jne 0x4cb442
mov ecx, edx
test ecx, ecx
jne 0x4cb4b5
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x4cb512
mov edx, dword [eax]
test edx, edx
jle 0x4cb512
add eax, 0x14
nop word [eax + eax]
cmp word [eax], 0
je 0x4cb442
inc ecx
add eax, 0x14
cmp ecx, edx
jl 0x4cb500
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
mov ecx, dword [eax + 0x10]
mov dword [esi + 0xf4], ecx
cmp byte [edi + 0xa5], 0
jne 0x4cb58a
cmp byte [esi + 0xcc], 0
jne 0x4cb58a
mov eax, dword [edi + 0x150]
test eax, eax
je 0x4cb58a
push ecx
push 0
push 0
push 0
push 0x15
push dword [edi + 0x154]
call eax
add esp, 0x18
cmp eax, 1
jne 0x4cb56c
push str.not_authorized
push esi
call fcn.0045b840
mov dword [esi + 0xc], 0x17
jmp 0x4cb587
test eax, eax
je 0x4cb58a
cmp eax, 2
je 0x4cb58a
push str.authorizer_malfunction
push esi
call fcn.0045b840
mov dword [esi + 0xc], 1
add esp, 8
mov eax, dword [esp + 0x24]
mov dword [esi + 0xf4], eax
mov eax, dword [esp + 0x20]
mov eax, dword [eax]
mov dword [esp + 0x24], eax
test eax, eax
je 0x4cb62c
mov eax, dword [ebx + 0x34]
mov edx, ebx
mov edi, dword [ebx + 0x30]
mov esi, dword [ebx + 0x3c]
mov ecx, dword [esp + 0x28]
push 0
mov dword [esp + 0x24], eax
mov dword [ebx + 0x30], 0
mov dword [ebx + 0x20], 0
mov dword [ebx + 0x34], 0
mov dword [ebx + 0x3c], 0
call fcn.00493090
mov ecx, eax
mov dword [ebx + 0x3c], esi
mov eax, dword [esp + 0x18]
add esp, 4
mov dword [ebx + 0x20], eax
mov eax, dword [esp + 0x20]
mov dword [ebx + 0x30], edi
mov byte [ebx], 0x85
test ecx, ecx
je 0x4cb608
mov dword [ecx + 0x34], eax
test eax, eax
je 0x4cb603
mov dword [eax + 0x38], ecx
mov dword [ecx + 0x38], ebx
mov eax, ecx
mov edi, dword [esp + 0x28]
mov dword [ebx + 0x34], eax
cmp byte [edi + 0x51], 0
jne 0x4cba9f
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 0x34]
mov dword [esp + 0x24], eax
test eax, eax
jne 0x4cb5a6
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + 0x1c]
mov esi, eax
mov ecx, dword [ecx + 0xc]
mov dword [esp + 0x44], eax
mov dword [esp + 0x20], esi
test ecx, ecx
je 0x4cb699
cmp dword [edi + 0x1f8], 0
je 0x4cb658
mov edx, ecx
mov ecx, edi
call fcn.00457e30
jmp 0x4cb699
cmp ecx, dword [edi + 0x14c]
jae 0x4cb690
cmp ecx, dword [edi + 0x144]
jb 0x4cb678
mov eax, dword [edi + 0x140]
mov dword [ecx], eax
mov dword [edi + 0x140], ecx
jmp 0x4cb699
cmp ecx, dword [edi + 0x148]
jb 0x4cb690
mov eax, dword [edi + 0x138]
mov dword [ecx], eax
mov dword [edi + 0x138], ecx
jmp 0x4cb699
push ecx
call fcn.00457dc0
add esp, 4
mov ecx, dword [esp + 0x18]
mov ecx, dword [ecx + 0x10]
test ecx, ecx
je 0x4cb6f9
cmp dword [edi + 0x1f8], 0
je 0x4cb6b8
mov edx, ecx
mov ecx, edi
call fcn.00457e30
jmp 0x4cb6f9
cmp ecx, dword [edi + 0x14c]
jae 0x4cb6f0
cmp ecx, dword [edi + 0x144]
jb 0x4cb6d8
mov eax, dword [edi + 0x140]
mov dword [ecx], eax
mov dword [edi + 0x140], ecx
jmp 0x4cb6f9
cmp ecx, dword [edi + 0x148]
jb 0x4cb6f0
mov eax, dword [edi + 0x138]
mov dword [ecx], eax
mov dword [edi + 0x138], ecx
jmp 0x4cb6f9
push ecx
call fcn.00457dc0
add esp, 4
mov ecx, dword [esp + 0x18]
mov ecx, dword [ecx + 0x14]
test ecx, ecx
je 0x4cb759
cmp dword [edi + 0x1f8], 0
je 0x4cb718
mov edx, ecx
mov ecx, edi
call fcn.00457e30
jmp 0x4cb759
cmp ecx, dword [edi + 0x14c]
jae 0x4cb750
cmp ecx, dword [edi + 0x144]
jb 0x4cb738
mov eax, dword [edi + 0x140]
mov dword [ecx], eax
mov dword [edi + 0x140], ecx
jmp 0x4cb759
cmp ecx, dword [edi + 0x148]
jb 0x4cb750
mov eax, dword [edi + 0x138]
mov dword [ecx], eax
mov dword [edi + 0x138], ecx
jmp 0x4cb759
push ecx
call fcn.00457dc0
add esp, 4
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx + 0x18]
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x1c], 0
test edx, edx
je 0x4cb7b4
mov eax, dword [edx + 0x20]
cmp eax, 1
jne 0x4cb7a9
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx + 0x74]
test eax, eax
cmovne ecx, eax
mov eax, dword [ecx + 0x104]
mov dword [edx + 0x4c], eax
mov dword [ecx + 0x104], edx
mov ecx, dword [esp + 0x18]
jmp 0x4cb7ad
dec eax
mov dword [edx + 0x20], eax
mov dword [ecx + 0x18], 0
mov eax, dword [esi + 0x20]
mov edi, dword [ebx + 0x20]
mov byte [esp + 0x13], 0
mov dword [esp + 0x14], eax
mov esi, dword [eax]
mov dword [esp + 0x24], esi
test edi, edi
je 0x4cb7d6
mov al, byte [ecx + 0x2c]
mov byte [esp + 0x13], al
jmp 0x4cb82e
mov ecx, dword [esp + 0x1c]
push 0
push 0x50
mov ecx, dword [ecx]
call fcn.004581b0
mov edi, eax
add esp, 8
test edi, edi
je 0x4cba4c
push 0x48
lea eax, [edi + 8]
mov dword [edi + 4], 1
push 0
push eax
mov dword [edi], 1
call sub.VCRUNTIME140.dll_memset
mov dword [edi + 0x34], 0xffffffff
add esp, 0xc
mov eax, dword [edi]
lea eax, [eax + eax*8]
mov dword [edi + eax*8 - 0x38], 0
mov dword [edi + eax*8 - 0x3c], 0
mov dword [ebx + 0x20], edi
cmp esi, 1
jle 0x4cb85a
mov eax, dword [esp + 0x3c]
mov edx, edi
mov ecx, dword [esp + 0x1c]
inc eax
push eax
lea eax, [esi - 1]
push eax
call fcn.004aa620
mov edi, eax
add esp, 8
test edi, edi
je 0x4cba4c
mov dword [ebx + 0x20], edi
jmp 0x4cb85e
test esi, esi
jle 0x4cb8d9
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x34]
add esi, 8
mov ebx, dword [esp + 0x24]
add eax, edi
mov dword [esp + 0x14], eax
lea edi, [eax + 8]
nop word [eax + eax]
mov edx, dword [edi + 0x34]
mov ecx, dword [esp + 0x28]
call fcn.004aa470
movups xmm0, xmmword [esi]
push 0x48
push 0
movups xmmword [edi], xmm0
push esi
movups xmm0, xmmword [esi + 0x10]
movups xmmword [edi + 0x10], xmm0
movups xmm0, xmmword [esi + 0x20]
movups xmmword [edi + 0x20], xmm0
movups xmm0, xmmword [esi + 0x30]
movups xmmword [edi + 0x30], xmm0
movq xmm0, qword [esi + 0x40]
movq qword [edi + 0x40], xmm0
mov eax, dword [esi + 0x2c]
mov dword [esp + 0x38], eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea edi, [edi + 0x48]
add esi, 0x48
sub ebx, 1
jne 0x4cb880
mov ebx, dword [esp + 0x38]
jmp 0x4cb8e3
mov eax, dword [esp + 0x34]
add eax, edi
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x14]
mov edi, dword [esp + 0x20]
mov al, byte [esp + 0x13]
mov byte [ecx + 0x2c], al
mov edx, dword [edi + 0x30]
test edx, edx
je 0x4cb928
test dword [ebx + 4], 0x400000
jne 0x4cb928
xor ecx, ecx
cmp dword [edx], ecx
jle 0x4cb91e
lea eax, [edx + 0x14]
nop dword [eax + eax]
xor esi, esi
lea eax, [eax + 0x14]
mov word [eax - 0x14], si
inc ecx
cmp ecx, dword [edx]
jl 0x4cb910
mov dword [ebx + 0x30], edx
mov dword [edi + 0x30], 0
cmp dword [esp + 0x30], 0
mov esi, dword [edi + 0x24]
mov dword [edi + 0x24], 0
jbe 0x4cb944
mov edx, dword [esp + 0x2c]
mov ecx, esi
call fcn.004c3ae0
test esi, esi
je 0x4cb96c
mov eax, dword [ebx + 0x24]
test eax, eax
je 0x4cb969
push eax
push esi
mov esi, dword [esp + 0x24]
mov edx, 0x2c
mov ecx, esi
call fcn.00492070
add esp, 8
mov dword [ebx + 0x24], eax
jmp 0x4cb970
mov dword [ebx + 0x24], esi
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x28]
cmp byte [eax + 0x51], 0
jne 0x4cb9ad
mov eax, dword [esp + 0x40]
lea ecx, [esp + 0x48]
mov dword [esp + 0x4c], eax
mov edx, ebx
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x54], eax
mov eax, dword [edi + 0x1c]
push 0
mov dword [esp + 0x4c], esi
mov dword [esp + 0x5c], eax
call fcn.004cb1c0
add esp, 4
mov eax, dword [edi + 4]
and eax, 0x100
or dword [ebx + 4], eax
mov eax, dword [edi + 0x3c]
test eax, eax
je 0x4cb9c9
mov dword [ebx + 0x3c], eax
mov dword [edi + 0x3c], 0
mov edi, dword [esp + 0x24]
test edi, edi
jle 0x4cba2e
mov esi, dword [esp + 0x14]
add esi, 0x40
cmp dword [esi - 0x28], 0
je 0x4cba26
xorps xmm0, xmm0
mov dword [esp + 0x5c], 0
lea eax, [esi - 0x38]
movlpd qword [esp + 0x68], xmm0
mov edx, ebx
mov dword [esp + 0x70], 0
lea ecx, [esp + 0x5c]
mov dword [esp + 0x60], 0x4cb310
mov dword [esp + 0x64], fcn.00457570
mov dword [esp + 0x74], eax
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0048e670
add esi, 0x48
sub edi, 1
jne 0x4cb9d8
mov esi, dword [esp + 0x20]
mov ebx, dword [ebx + 0x34]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x38], ebx
mov esi, dword [esi + 0x34]
mov dword [esp + 0x20], esi
test ebx, ebx
jne 0x4cb7b4
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x78]
mov esi, dword [esp + 0x44]
xorps xmm0, xmm0
mov edx, esi
movlpd qword [esp + 0x84], xmm0
movlpd qword [esp + 0x8c], xmm0
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], 0x49b0a0
mov dword [esp + 0x80], fcn.00457570
call fcn.0048e670
test esi, esi
je 0x4cba9f
mov ecx, dword [esp + 0x28]
mov edx, esi
push 1
call fcn.004c3630
add esp, 4
mov ecx, dword [esp + 0x94]
mov eax, 1
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.005a6fed
mov esp, ebp
pop ebp
ret