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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x94
mov eax, dword [0x570400]
xor eax, esp
mov dword [esp + 0x90], eax
push ebx
mov ebx, edx
xor eax, eax
push esi
push edi
mov edi, ecx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x28], edi
cmp dword [ebx + 0x44], eax
je 0x4c30dc
cmp dword [ebx + 0x34], eax
jne 0x4c30dc
test dword [ebx + 4], 0x100000
jne 0x4c30dc
cmp byte [edi + 0xdc], 2
jae 0x4c30dc
mov eax, dword [edi + 8]
mov dword [esp + 0x2c], eax
test eax, eax
jne 0x4c296f
cmp dword [edi + 0x80], eax
jne 0x4c2966
mov eax, dword [edi]
test byte [eax + 0x50], 8
jne 0x4c2966
mov byte [edi + 0x17], 1
call fcn.00441d60
mov dword [esp + 0x2c], eax
mov ecx, dword [ebx + 0x20]
mov eax, dword [edi]
mov dword [esp + 0x30], ecx
mov ecx, dword [ebx + 0x24]
mov dword [esp + 0x40], ecx
mov ecx, dword [ebx + 0x28]
mov dword [esp + 0x3c], ecx
mov ecx, dword [ebx + 0x2c]
mov dword [esp + 0x48], ecx
mov ecx, dword [ebx + 0x44]
mov dword [esp + 0x14], ecx
mov ecx, dword [ebx + 4]
mov dword [esp + 0x24], eax
mov dword [esp + 0x4c], ecx
push 0
push 0x40
test eax, eax
je 0x4c29b6
mov ecx, eax
call fcn.004190c0
mov esi, eax
mov dword [esp + 0x28], esi
jmp 0x4c29c1
call fcn.00418960
mov esi, eax
mov dword [esp + 0x28], eax
add esp, 8
test esi, esi
je 0x4c3141
push 0x40
push 0
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [esp + 0x80], edi
xorps xmm0, xmm0
mov dword [esp + 0x84], 0x465b60
mov edx, ebx
movlpd qword [esp + 0x8c], xmm0
lea ecx, [esp + 0x80]
movlpd qword [esp + 0x94], xmm0
mov dword [esp + 0x88], fcn.004182e0
call fcn.00457100
test byte [ebx + 4], 8
mov dword [esp + 0x1c], esi
jne 0x4c2a7e
mov ebx, dword [ebx + 0x30]
mov dword [esp + 0x84], 0x4c28c0
mov dword [esp + 0x88], 0
mov dword [esp + 0x1c], esi
test ebx, ebx
je 0x4c2a7a
mov esi, dword [ebx]
add ebx, 8
mov eax, dword [esp + 0x20]
mov dword [esp + 0x1c], eax
test esi, esi
jle 0x4c2a7a
mov dword [esp + 0x1c], eax
nop dword [eax]
mov edx, dword [ebx]
lea ecx, [esp + 0x80]
call fcn.004570f0
test eax, eax
jne 0x4c2a7a
dec esi
add ebx, 0x14
test esi, esi
jg 0x4c2a60
mov ebx, dword [esp + 0xc]
mov eax, dword [ebx + 4]
xor edx, edx
mov esi, dword [esp + 0x14]
and eax, 0xfffffff7
or eax, 0x100000
mov dword [ebx + 0x20], 0
mov dword [ebx + 0x24], 0
mov ecx, edi
mov dword [ebx + 0x28], 0
mov dword [ebx + 0x2c], 0
mov dword [ebx + 4], eax
push 1
push dword [esi + 8]
call fcn.004c26e0
push 1
push dword [esi + 0xc]
mov edx, eax
mov ecx, edi
call fcn.004c26e0
mov esi, eax
add esp, 0x10
mov dword [esp + 0x18], esi
test esi, esi
je 0x4c2b8f
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x4c2b8f
mov edx, dword [esi]
mov eax, dword [eax]
mov dword [esp + 0x34], edx
cmp eax, edx
jg 0x4c2b8f
mov dword [esi], eax
mov edx, dword [ebx + 0x30]
test edx, edx
je 0x4c2b89
cmp eax, dword [edx]
jne 0x4c2b89
xor ebx, ebx
test eax, eax
jle 0x4c2b67
mov eax, dword [esp + 0x18]
lea ecx, [esi + 8]
sub eax, edx
mov dword [esp + 0x10], ecx
lea esi, [edx + 0x10]
mov dword [esp + 0x44], eax
mov al, byte [eax + esi]
cmp al, byte [esi]
jne 0x4c2b81
mov edx, dword [ecx]
xor ecx, ecx
push 0xffffffffffffffff
push dword [esi - 8]
call fcn.00465000
add esp, 8
test eax, eax
jne 0x4c2b81
mov eax, dword [esp + 0x18]
inc ebx
mov ecx, dword [esp + 0x10]
add esi, 0x14
add ecx, 0x14
mov dword [esp + 0x10], ecx
cmp ebx, dword [eax]
mov eax, dword [esp + 0x44]
jl 0x4c2b23
mov ebx, dword [esp + 0xc]
mov esi, dword [esp + 0x18]
mov edx, dword [ebx + 0x30]
jmp 0x4c2b6b
mov ebx, dword [esp + 0xc]
test edx, edx
je 0x4c2b78
mov ecx, dword [esp + 0x24]
call fcn.0045d940
mov dword [ebx + 0x30], 0
jmp 0x4c2b89
mov esi, dword [esp + 0x18]
mov ebx, dword [esp + 0xc]
mov eax, dword [esp + 0x34]
mov dword [esi], eax
mov ecx, dword [esp + 0x14]
lea esi, [esp + 0x50]
mov eax, dword [edi + 0x28]
xor edx, edx
xorps xmm0, xmm0
mov dword [esp + 0x78], 0
movlpd qword [esp + 0x70], xmm0
mov dword [ecx + 0x30], eax
add dword [edi + 0x28], 4
mov eax, dword [esp + 0x30]
mov ebx, dword [ebx + 0x1c]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x60], 0
mov dword [esp + 0x58], edx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x5c], eax
mov dword [esp + 0x64], edi
mov dword [esp + 0x68], 0x4c2470
mov dword [esp + 0x6c], 0x4c26b0
mov dword [esp + 0x7c], esi
test ebx, ebx
je 0x4c2c23
mov esi, dword [ebx]
add ebx, 8
test esi, esi
jle 0x4c2c23
nop dword [eax]
mov edx, dword [ebx]
lea ecx, [esp + 0x64]
call fcn.004570f0
test eax, eax
jne 0x4c2c17
dec esi
add ebx, 0x14
test esi, esi
jg 0x4c2c00
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
mov ebx, dword [esp + 0xc]
xorps xmm0, xmm0
mov esi, dword [esp + 0x30]
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x50]
movlpd qword [esp + 0x70], xmm0
mov ebx, dword [ebx + 0x30]
mov dword [esp + 0x78], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x58], edx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], esi
mov dword [esp + 0x64], edi
mov dword [esp + 0x68], 0x4c2470
mov dword [esp + 0x6c], 0x4c26b0
mov dword [esp + 0x7c], eax
test ebx, ebx
je 0x4c2c9f
mov esi, dword [ebx]
add ebx, 8
test esi, esi
jle 0x4c2c9f
mov edx, dword [ebx]
lea ecx, [esp + 0x64]
call fcn.004570f0
test eax, eax
jne 0x4c2c97
dec esi
add ebx, 0x14
test esi, esi
jg 0x4c2c80
mov edx, dword [esp + 0x58]
mov ecx, dword [esp + 0x14]
test edx, edx
je 0x4c2ca7
mov eax, dword [edx]
jmp 0x4c2ca9
xor eax, eax
push 0
push dword [ecx + 8]
mov dword [ecx + 0x4c], eax
mov ecx, edi
call fcn.004c26e0
mov esi, dword [esp + 0x1c]
mov edx, eax
push 0
mov ecx, edi
push dword [esi + 0xc]
call fcn.004c26e0
mov edx, dword [esp + 0x24]
add esp, 0x10
mov esi, eax
mov dword [esp + 0x10], edx
mov ebx, edx
nop dword [eax]
mov eax, dword [ebx + 0x48]
mov ecx, dword [eax + 0x14]
mov eax, dword [ebx + 0x2c]
test dword [eax + 4], 0x100000
je 0x4c2d9d
mov eax, dword [esp + 0x30]
xorps xmm0, xmm0
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x50]
movlpd qword [esp + 0x70], xmm0
mov dword [esp + 0x78], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x58], esi
mov dword [esp + 0x50], edx
mov dword [esp + 0x64], edi
mov dword [esp + 0x68], 0x4c2470
mov dword [esp + 0x6c], 0x4c26b0
mov dword [esp + 0x7c], eax
test ecx, ecx
je 0x4c2d83
mov ebx, dword [ecx]
lea eax, [ecx + 8]
mov dword [esp + 0x34], eax
test ebx, ebx
jle 0x4c2d7f
mov edi, eax
nop word [eax + eax]
mov edx, dword [edi]
lea ecx, [esp + 0x64]
call fcn.004570f0
test eax, eax
jne 0x4c2d77
dec ebx
add edi, 0x14
test ebx, ebx
jg 0x4c2d60
mov esi, dword [esp + 0x58]
mov edi, dword [esp + 0x28]
mov ebx, dword [esp + 0x10]
test esi, esi
je 0x4c2d92
mov eax, dword [esi]
mov dword [ebx + 0x50], eax
mov byte [ebx + 0x60], 1
jmp 0x4c2dbb
xor eax, eax
mov byte [ebx + 0x60], 1
mov dword [ebx + 0x50], eax
jmp 0x4c2dbb
test esi, esi
je 0x4c2da5
mov eax, dword [esi]
jmp 0x4c2da7
xor eax, eax
push 0
push ecx
mov edx, esi
mov dword [ebx + 0x50], eax
mov ecx, edi
call fcn.004c26e0
add esp, 8
mov esi, eax
mov edx, dword [ebx + 0x28]
test edx, edx
je 0x4c2e24
mov ecx, dword [esp + 0x24]
push 0
push 0
call fcn.0045c7e0
add esp, 8
mov edx, eax
test esi, esi
jne 0x4c2de3
mov ecx, dword [edi]
call fcn.0045d400
mov esi, eax
jmp 0x4c2e24
mov eax, dword [esi]
lea ecx, [eax + 1]
mov dword [esp + 0x34], ecx
cmp dword [esi + 4], ecx
jge 0x4c2e02
mov ecx, dword [edi]
push edx
mov edx, esi
call fcn.0045d470
add esp, 4
mov esi, eax
jmp 0x4c2e24
movups xmm0, xmmword [0x55b010]
lea eax, [eax + eax*4]
lea ecx, [esi + eax*4]
mov eax, dword [esp + 0x34]
mov dword [esi], eax
mov eax, dword [0x55b020]
movups xmmword [ecx + 8], xmm0
mov dword [ecx + 0x18], eax
mov dword [ecx + 8], edx
inc dword [edi + 0x2c]
mov eax, dword [edi + 0x2c]
mov dword [ebx + 0x34], eax
inc dword [edi + 0x2c]
mov eax, dword [edi + 0x2c]
mov edx, dword [ebx + 0x34]
mov dword [ebx + 0x38], eax
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + 0x6c]
cmp dword [eax + 0x70], ecx
jg 0x4c2e5b
push 0
push edx
push 0
mov edx, 0x4b
mov ecx, eax
call fcn.00441fb0
add esp, 0xc
jmp 0x4c2e94
mov edi, dword [esp + 0x2c]
lea eax, [ecx + 1]
lea ecx, [ecx + ecx*4]
mov dword [edi + 0x6c], eax
mov eax, edi
mov edi, dword [esp + 0x28]
mov eax, dword [eax + 0x68]
mov dword [eax + ecx*4], 0x4b
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ebx, dword [ebx + 0x24]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x10], ebx
test ebx, ebx
jne 0x4c2ce0
test esi, esi
jne 0x4c2edd
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x34]
push esi
push eax
mov edx, 0x9b
mov dword [esp + 0x3c], 0x560e14
mov dword [esp + 0x40], 1
call fcn.0045b950
mov ecx, dword [edi]
add esp, 8
mov edx, eax
call fcn.0045d400
mov esi, eax
push 0
push 0
push dword [esp + 0x20]
mov edx, esi
mov ecx, edi
push dword [esp + 0x54]
push dword [esp + 0x4c]
push dword [esp + 0x54]
push dword [esp + 0x48]
call fcn.00493a60
mov ecx, dword [edi]
add esp, 0x1c
mov ebx, eax
mov dword [esp + 0x28], ebx
push 0
push 0x50
call fcn.004190c0
mov esi, eax
add esp, 8
test esi, esi
jne 0x4c2f43
mov eax, dword [esp + 0xc]
mov dword [eax + 0x20], esi
mov esi, dword [esp + 0x1c]
test ebx, ebx
je 0x4c3097
mov ecx, dword [esp + 0x24]
mov edx, ebx
push 1
call fcn.00493930
add esp, 4
jmp 0x4c3097
push 0x48
lea eax, [esi + 8]
mov dword [esi + 4], 1
push 0
push eax
mov dword [esi], 1
call sub.VCRUNTIME140.dll_memset
mov ecx, dword [esp + 0x18]
add esp, 0xc
mov dword [esi + 0x34], 0xffffffff
mov eax, dword [esi]
lea eax, [eax + eax*8]
mov dword [esi + eax*8 - 0x38], 0
mov dword [esi + eax*8 - 0x3c], 0
mov dword [ecx + 0x20], esi
mov dword [esi + 0x1c], ebx
mov eax, dword [ecx + 0x20]
or dword [eax + 0x30], 8
mov ecx, dword [ecx + 0x20]
mov eax, dword [esp + 0x1c]
mov esi, eax
mov dword [esp + 0x40], ecx
test ecx, ecx
je 0x4c2fe2
xor ebx, ebx
cmp dword [ecx], ebx
jle 0x4c2fde
lea esi, [ecx + 0x34]
mov dword [esp + 0x3c], eax
nop dword [eax + eax]
cmp dword [esi], 0
jge 0x4c2fd2
mov eax, dword [edi + 0x28]
mov dword [esi], eax
inc dword [edi + 0x28]
mov edx, dword [esi - 0x18]
test edx, edx
je 0x4c2fd2
mov edx, dword [edx + 0x20]
mov ecx, edi
call fcn.00476d10
mov ecx, dword [esp + 0x40]
inc ebx
add esi, 0x48
cmp ebx, dword [ecx]
jl 0x4c2fb0
mov esi, dword [esp + 0x3c]
mov ebx, dword [esp + 0x28]
or dword [ebx + 4], 0x8000040
mov edx, ebx
push 0x40
mov ecx, edi
call fcn.00497f30
mov ecx, eax
add esp, 4
mov eax, dword [esp + 0x4c]
and eax, 8
or dword [ebx + 4], eax
test ecx, ecx
jne 0x4c3011
mov ecx, 7
jmp 0x4c3099
movups xmm0, xmmword [ecx]
mov edx, dword [esp + 0x20]
mov esi, ecx
mov eax, dword [esp + 0xc]
movups xmmword [edx], xmm0
movups xmm0, xmmword [ecx + 0x10]
movups xmmword [edx + 0x10], xmm0
movups xmm0, xmmword [ecx + 0x20]
movups xmmword [edx + 0x20], xmm0
movups xmm0, xmmword [ecx + 0x30]
lea ecx, [esp + 0x80]
movups xmmword [edx + 0x30], xmm0
or dword [edx + 0x1c], 0x4000
mov eax, dword [eax + 0x20]
xorps xmm0, xmm0
mov dword [eax + 0x18], edx
mov edx, ebx
mov dword [esp + 0x80], 0
movlpd qword [esp + 0x90], xmm0
mov dword [esp + 0x98], 0
mov dword [esp + 0x84], 0x4c2890
mov dword [esp + 0x88], 0x4572e0
mov dword [esp + 0x8c], 0x4572f0
call fcn.00457100
xor ecx, ecx
mov eax, dword [esp + 0x24]
mov edx, 7
cmp byte [eax + 0x57], 0
mov eax, dword [0x570670]
cmovne ecx, edx
mov dword [esp + 0x10], ecx
test eax, eax
je 0x4c30f1
push 0x12c
call eax
mov ecx, dword [edi]
add esp, 4
test eax, eax
je 0x4c30f3
call fcn.00419390
test esi, esi
je 0x4c30d8
mov ecx, dword [edi]
mov edx, esi
call fcn.00418c30
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x90]
xor ecx, esp
call fcn.0054507b
mov esp, ebp
pop ebp
ret
mov ecx, dword [edi]
push 0
push 0xc
test ecx, ecx
je 0x4c3102
call fcn.004190c0
jmp 0x4c3107
call fcn.00418960
mov ecx, eax
add esp, 8
test ecx, ecx
je 0x4c30cb
mov eax, dword [edi + 0x8c]
mov dword [ecx], eax
mov eax, dword [esp + 0x10]
mov dword [edi + 0x8c], ecx
mov dword [ecx + 4], esi
mov dword [ecx + 8], fcn.00418d90
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x90]
xor ecx, esp
call fcn.0054507b
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x24]
test eax, eax
je 0x4c315d
mov eax, dword [eax + 0x10c]
test eax, eax
je 0x4c315d
inc dword [eax + 0x24]
mov dword [eax + 0xc], 7
mov ecx, dword [esp + 0x9c]
mov eax, 7
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0054507b
mov esp, ebp
pop ebp
ret