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

Disassembly:
sub esp, 0x94
mov eax, dword [0x502c60]
xor eax, esp
mov dword [esp + 0x90], eax
push ebp
push esi
push edi
mov edi, dword [esp + 0xa4]
push 7
push 0
lea esi, [edi + 0x20]
push esi
call fcn.004cded0
add esp, 0xc
cmp eax, 3
je 0x4cfb1b
push 7
lea ebp, [edi + 0x40]
push 0
push ebp
call fcn.004cded0
add esp, 0xc
cmp eax, 3
je 0x4cfb1b
push 7
push 7
lea eax, [esp + 0x14]
push edi
push eax
call fcn.004cdf40
movdqu xmm0, xmmword [ebp]
mov eax, dword [ebp + 0x18]
push 7
mov dword [esp + 0x74], eax
lea eax, [esp + 0x78]
movdqu xmmword [esp + 0x5c], xmm0
push ebp
movq xmm0, qword [ebp + 0x10]
push eax
movq qword [esp + 0x74], xmm0
call fcn.004ce9a0
push 0x502a68
push 0xe
lea eax, [esp + 0x88]
push eax
push 7
push ebp
call fcn.004cfeb0
push 7
lea eax, [esp + 0x40]
push ebp
push eax
call fcn.004ceb00
add esp, 0x3c
test eax, eax
jne 0x4cf668
push 7
lea eax, [esp + 0x10]
push 0x502a68
push eax
call fcn.004cde70
add esp, 0xc
push 7
push edi
push ebp
call fcn.004cde70
add esp, 0xc
test eax, eax
je 0x4cf688
push 7
push 0x502a68
push ebp
call fcn.004ceb00
add esp, 0xc
push 7
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x6c]
push ebp
push eax
call fcn.004ce760
push 0x502a68
push 0xe
lea eax, [esp + 0x7c]
push eax
push 7
push ebp
call fcn.004cfeb0
push 7
push 7
lea eax, [esp + 0x38]
push ebp
push eax
call fcn.004cdf40
lea eax, [esp + 0x40]
mov dword [esp + 0x5c], 0
push 7
push eax
push eax
call fcn.004cde70
add esp, 0x40
test eax, eax
je 0x4cf6dd
inc dword [esp + 0x28]
push ebx
push 7
lea eax, [esp + 0x14]
push ebp
push eax
call fcn.004cde70
mov ebx, dword [esp + 0x38]
add esp, 0xc
test eax, eax
je 0x4cf6fb
inc ebx
mov dword [esp + 0x2c], ebx
test ebx, ebx
je 0x4cf744
nop
push 7
lea eax, [esp + 0x14]
push 0x502a68
push eax
call fcn.004ceb00
add esp, 0xc
test eax, eax
jne 0x4cf719
dec ebx
test ebx, ebx
jne 0x4cf700
push 7
lea eax, [esp + 0x14]
push 0x502a68
push eax
call fcn.004ce890
push 0x1c
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x44]
push eax
call fcn.004d1c60
add esp, 0x18
jmp 0x4cf75a
push 7
push 7
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.004cdf40
add esp, 0x10
push 7
lea eax, [esp + 0x50]
push eax
push esi
call fcn.004ceba0
push 7
lea eax, [esp + 0x5c]
push eax
lea eax, [esp + 0x7c]
push esi
push eax
call fcn.004ce760
push 0x502a68
push 0xe
lea eax, [esp + 0x8c]
push eax
push 7
push esi
call fcn.004cfeb0
push 7
push esi
push esi
call fcn.004cde70
add esp, 0x3c
test eax, eax
je 0x4cf7e4
mov dword [edi + 0x3c], 1
mov ebx, dword [esi + 0x1c]
test ebx, ebx
je 0x4cf7c9
mov edi, edi
push 7
push 0x502a68
push esi
call fcn.004ceb00
add esp, 0xc
test eax, eax
jne 0x4cf7c5
dec ebx
test ebx, ebx
jne 0x4cf7b0
push 7
push 0x502a68
push esi
call fcn.004ce890
push 0x1c
push esi
push ebp
call fcn.004d1c60
add esp, 0x18
jmp 0x4cf7f2
push 7
push 7
push esi
push ebp
call fcn.004cdf40
add esp, 0x10
push 7
push 7
lea eax, [esp + 0x54]
push eax
push esi
call fcn.004cdf40
push 7
lea eax, [esp + 0x7c]
push esi
push eax
call fcn.004ce9a0
push 0x502a68
push 0xe
lea eax, [esp + 0x8c]
push eax
push 7
push esi
call fcn.004cfeb0
movdqu xmm0, xmmword [esi]
mov eax, dword [esi + 0x18]
push 7
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x9c]
movdqu xmmword [esp + 0x44], xmm0
push esi
movq xmm0, qword [esi + 0x10]
push eax
movq qword [esp + 0x5c], xmm0
call fcn.004ce9a0
push 0x502a68
push 0xe
lea eax, [esp + 0xac]
push eax
push 7
push esi
call fcn.004cfeb0
add esp, 0x50
lea eax, [esp + 0x10]
push 7
push eax
lea eax, [esp + 0x70]
push edi
push eax
call fcn.004ce760
push 0x502a68
push 0xe
lea eax, [esp + 0x80]
push eax
push 7
push edi
call fcn.004cfeb0
push 7
push edi
push edi
mov dword [esp + 0x5c], 0
call fcn.004cde70
add esp, 0x30
test eax, eax
mov eax, dword [esp + 0x2c]
je 0x4cf8b1
inc eax
push 7
add eax, eax
push edi
push edi
mov dword [esp + 0x38], eax
call fcn.004cde70
add esp, 0xc
test eax, eax
mov eax, dword [esp + 0x2c]
je 0x4cf8d0
inc eax
mov dword [esp + 0x2c], eax
push 7
test eax, eax
je 0x4cf930
push 7
lea eax, [esp + 0x18]
push edi
push eax
call fcn.004cdf40
mov ebx, dword [esp + 0x3c]
add esp, 0x10
test ebx, ebx
je 0x4cf90d
mov edi, edi
push 7
lea eax, [esp + 0x14]
push 0x502a68
push eax
call fcn.004ceb00
add esp, 0xc
test eax, eax
jne 0x4cf909
dec ebx
test ebx, ebx
jne 0x4cf8f0
push 7
lea eax, [esp + 0x14]
push 0x502a68
push eax
call fcn.004ce890
push 0x1c
lea eax, [esp + 0x20]
push eax
push edi
call fcn.004d1c60
add esp, 0x18
jmp 0x4cf93e
push 0x502a68
push edi
call fcn.004ce890
add esp, 0xc
push 7
lea eax, [esp + 0x34]
push eax
push edi
call fcn.004ceba0
movdqu xmm0, xmmword [edi]
mov eax, dword [edi + 0x18]
push 7
mov dword [esp + 0x74], eax
lea eax, [esp + 0x78]
movdqu xmmword [esp + 0x5c], xmm0
push edi
movq xmm0, qword [edi + 0x10]
push eax
movq qword [esp + 0x74], xmm0
call fcn.004ce9a0
push 0x502a68
push 0xe
lea eax, [esp + 0x88]
push eax
push 7
push edi
call fcn.004cfeb0
push 7
lea eax, [esp + 0x60]
push eax
push edi
call fcn.004ceb00
add esp, 0x38
test eax, eax
jne 0x4cf9af
push 7
push 0x502a68
push edi
call fcn.004cde70
add esp, 0xc
push 7
lea eax, [esp + 0x34]
push eax
push edi
call fcn.004ceb00
add esp, 0xc
push 7
push 0x502a68
push edi
test eax, eax
jne 0x4cf9d2
call fcn.004cde70
jmp 0x4cf9d7
call fcn.004ce890
add esp, 0xc
mov dword [esp + 0x2c], 0
push 7
push esi
push esi
call fcn.004cde70
add esp, 0xc
test eax, eax
mov eax, dword [esp + 0x2c]
je 0x4cf9f7
inc eax
push 7
add eax, eax
push esi
push esi
mov dword [esp + 0x38], eax
call fcn.004cde70
add esp, 0xc
test eax, eax
mov eax, dword [esp + 0x2c]
je 0x4cfa12
inc eax
push 7
add eax, eax
push esi
push esi
mov dword [esp + 0x38], eax
call fcn.004cde70
add esp, 0xc
test eax, eax
mov eax, dword [esp + 0x2c]
je 0x4cfa31
inc eax
mov dword [esp + 0x2c], eax
push 7
test eax, eax
je 0x4cfa90
push 7
lea eax, [esp + 0x18]
push esi
push eax
call fcn.004cdf40
mov ebx, dword [esp + 0x3c]
add esp, 0x10
test ebx, ebx
je 0x4cfa6d
nop
push 7
lea eax, [esp + 0x14]
push 0x502a68
push eax
call fcn.004ceb00
add esp, 0xc
test eax, eax
jne 0x4cfa69
dec ebx
test ebx, ebx
jne 0x4cfa50
push 7
lea eax, [esp + 0x14]
push 0x502a68
push eax
call fcn.004ce890
push 0x1c
lea eax, [esp + 0x20]
push eax
push esi
call fcn.004d1c60
add esp, 0x18
jmp 0x4cfa9e
push 0x502a68
push esi
call fcn.004ce890
add esp, 0xc
push 7
lea eax, [esp + 0x34]
push edi
push eax
call fcn.004ceb00
add esp, 0xc
pop ebx
test eax, eax
jne 0x4cfac7
push 7
lea eax, [esp + 0x30]
push 0x502a68
push eax
call fcn.004cde70
add esp, 0xc
push 7
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x70]
push eax
call fcn.004ce760
push 0x502a68
push 0xe
lea eax, [esp + 0x7c]
push eax
lea eax, [esp + 0x48]
push 7
push eax
call fcn.004cfeb0
push 7
lea eax, [esp + 0x54]
push eax
push esi
call fcn.004ceb50
add esp, 0x30
test eax, eax
jne 0x4cfb3f
push 7
push 0x502a68
push esi
call fcn.004cde70
add esp, 0xc
jmp 0x4cfb3f
push 1
push 7
push edi
call fcn.004ce8b0
push 1
push 7
push esi
call fcn.004ce8b0
push 0
lea eax, [edi + 0x40]
push 7
push eax
call fcn.004ce8b0
add esp, 0x24
mov ecx, dword [esp + 0x9c]
mov eax, 1
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.004d17f4
add esp, 0x94
ret