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

Disassembly:
push 0xffffffffffffffff
push 0x4f190d
mov eax, dword fs:[0]
push eax
sub esp, 0x2d0
mov eax, dword [0x502c60]
xor eax, esp
mov dword [esp + 0x2cc], eax
push esi
push edi
mov eax, dword [0x502c60]
xor eax, esp
push eax
lea eax, [esp + 0x2dc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x84], esi
mov ecx, dword [esp + 0x2ec]
mov dword [esp + 0x88], ecx
cmp dword [ecx + 4], 0x147
sbb eax, eax
neg eax
or dword [esi + 0x70], eax
mov eax, dword [esi + 0x70]
and eax, 1
je 0x4c3b51
push dword [esp + 0x2f4]
push dword [esp + 0x2f4]
push ecx
mov ecx, esi
call fcn.004c3170
jmp 0x4c4863
mov eax, dword [ecx]
mov dword [esi + 0x2b8], eax
test al, 1
jne 0x4c3b64
xor al, al
jmp 0x4c4863
mov eax, dword [esp + 0x2f4]
lea edi, [esi + 0x74]
mov dword [edi], eax
lea eax, [ecx + 0x20]
mov dword [esi + 0x2bc], eax
mov eax, dword [esp + 0x2f0]
add eax, 0xffffffe0
mov dword [esp + 0x78], edi
mov dword [esi + 0x2c0], eax
lea eax, [esi + 0x18c]
push eax
push ecx
mov ecx, edi
call fcn.004c6170
mov eax, dword [edi]
mov dword [edi + 4], eax
mov ecx, dword [esi + 0x2bc]
push ecx
push dword [esi + 0x2c0]
mov dword [esp + 0x2c0], eax
mov dword [esp + 0x2c8], eax
lea eax, [esi + 0x18c]
mov dword [esp + 0x2c4], 0
mov dword [esp + 0x2cc], 0
movdqu xmm0, xmmword [esp + 0x2c0]
push ecx
push eax
movdqu xmmword [esi + 0x1b4], xmm0
call fcn.004ca940
mov eax, dword [esi + 0x2b8]
add esp, 0x10
shr eax, 1
test al, 1
je 0x4c3c41
mov eax, dword [esp + 0x88]
lea edi, [esi + 0xa0]
mov ecx, edi
mov eax, dword [eax + 4]
xor eax, dword [esp + 0x2f4]
push eax
call fcn.004e94a0
push edi
push dword [esp + 0x8c]
lea ecx, [esi + 0x74]
call fcn.004c5c30
push dword [esi + 0x2c0]
mov ecx, edi
push dword [esi + 0x2bc]
call fcn.004e96b0
push dword [esp + 0x98]
mov eax, dword [esp + 0x8c]
lea ecx, [esp + 0x83]
push ecx
push dword [esi + 0x2c8]
xor edi, edi
movzx eax, word [eax + 8]
push dword [esi + 0x2c4]
mov dword [esp + 0xa4], edi
mov dword [esp + 0x9c], eax
call fcn.0045ee90
mov eax, dword [esi + 0x2c4]
add esp, 0x10
mov dword [esi + 0x2c8], eax
mov ecx, dword [esi + 0x2cc]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
mov ecx, dword [esp + 0x8c]
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, ecx
jae 0x4c3cd3
cmp ecx, 0x15555555
jbe 0x4c3cc0
push 0x44f2e0
call fcn.004d06db
push ecx
lea ecx, [esi + 0x2c4]
call fcn.004c6490
mov ecx, dword [esp + 0x8c]
push ecx
lea ecx, [esi + 0x2ec]
call fcn.004c6940
mov edx, dword [esp + 0x8c]
xor ecx, ecx
test edx, edx
jle 0x4c3d02
lea esp, [esp]
mov eax, dword [esi + 0x2ec]
mov dword [eax + ecx*4], 0xffffffff
inc ecx
cmp ecx, edx
jl 0x4c3cf0
xorps xmm0, xmm0
mov dword [esp + 0x74], edi
movq qword [esp + 0x6c], xmm0
mov dword [esp + 0x6c], edi
mov dword [esp + 0x70], edi
mov dword [esp + 0x74], edi
push 0x44
lea ecx, [esp + 0x70]
mov dword [esp + 0x2e8], 0
call fcn.00477160
mov eax, dword [esp + 0x8c]
test eax, eax
jle 0x4c423c
lea ecx, [esp + 0x2c8]
sub ecx, dword [esp + 0x94]
mov dword [esp + 0xa0], ecx
mov ecx, 5
mov edx, dword [esp + 0xa0]
mov dword [esp + 0x9c], ecx
jmp 0x4c3d70
mov eax, dword [esi + 0x2b8]
shr eax, 1
test al, 1
je 0x4c3d98
push edi
lea ecx, [esi + 0xa0]
call fcn.004e95b0
mov ecx, dword [esp + 0x9c]
mov edx, dword [esp + 0xa0]
jmp 0x4c3da1
mov eax, dword [esi + 0x2bc]
mov al, byte [edi + eax]
mov byte [edx + edi], al
inc edi
dec ecx
mov dword [esp + 0x9c], ecx
jne 0x4c3d70
lea eax, [esp + 0x68]
push eax
lea eax, [esp + 0x2cc]
push eax
call fcn.004c30c0
mov ecx, dword [esp + 0x94]
xorps xmm0, xmm0
add ecx, eax
movq qword [esp + 0x1c0], xmm0
mov dword [esp + 0x1c8], 0
mov dword [esp + 0x94], ecx
mov dword [esp + 0x1c0], 0
mov dword [esp + 0x1c4], 0
mov dword [esp + 0x1c8], 0
mov eax, dword [esp + 0x68]
mov byte [esp + 0x2e4], 1
mov dword [esp + 0x90], eax
test eax, eax
jle 0x4c41aa
mov edi, ecx
xor ecx, ecx
mov dword [esp + 0x9c], ecx
nop
mov eax, dword [esi + 0x2b8]
shr eax, 1
test al, 1
je 0x4c3e51
push edi
lea ecx, [esi + 0xa0]
call fcn.004e95b0
mov ecx, dword [esp + 0x9c]
jmp 0x4c3e5a
mov eax, dword [esi + 0x2bc]
mov al, byte [edi + eax]
mov byte [esp + ecx + 0x1cc], al
inc edi
inc ecx
mov dword [esp + 0x9c], ecx
cmp ecx, 0x2c
jl 0x4c3e30
mov esi, dword [esp + 0x78]
add dword [esp + 0x94], 0x2c
xor edx, edx
mov ecx, dword [esi + 4]
imul ecx, ecx, 0x6255
add ecx, 0x3619
and ecx, 0xffff
mov al, cl
mov dword [esi + 4], ecx
mov byte [esp + edx + 0x238], al
inc edx
cmp edx, 0x10
jb 0x4c3e80
mov esi, dword [esp + 0x84]
lea eax, [esp + 0x1cc]
movdqu xmm0, xmmword [esp + 0x238]
push eax
push 0x2c
push eax
lea eax, [esi + 0x18c]
push eax
movdqu xmmword [esi + 0x1b4], xmm0
call fcn.004ca940
push 0x9c
lea eax, [esp + 0xb8]
push 0
push eax
call fcn.004d26a0
add esp, 0x1c
mov dword [esp + 0xa4], 0x453764
mov dword [esp + 0x118], 0
mov dword [esp + 0x11c], 0
mov dword [esp + 0x120], 0
lea ecx, [esp + 0xa4]
mov byte [esp + 0x2e4], 2
call fcn.004bf7e0
mov dword [esp + 0xa4], 0x45376c
mov dword [esp + 0x124], esi
mov dword [esp + 0x128], esi
mov dword [esp + 0x12c], 0
mov dword [esp + 0x130], 0
mov dword [esp + 0x134], 0
mov dword [esp + 0x138], 0
mov dword [esp + 0x13c], 0
lea eax, [esp + 0x1cc]
mov byte [esp + 0x2e4], 3
push eax
lea ecx, [esp + 0xa8]
call fcn.004bfc70
mov eax, dword [esp + 0x1f4]
mov dword [esp + 0xa0], eax
cmp eax, 0xffffffff
je 0x4c4112
xor ecx, ecx
mov edi, eax
mov dword [esp + 0x9c], ecx
jmp 0x4c3fc0
mov eax, dword [esi + 0x2b8]
shr eax, 1
test al, 1
je 0x4c3fe1
push edi
lea ecx, [esi + 0xa0]
call fcn.004e95b0
mov ecx, dword [esp + 0x9c]
jmp 0x4c3fea
mov eax, dword [esi + 0x2bc]
mov al, byte [edi + eax]
mov byte [esp + ecx + 0x2d0], al
inc edi
inc ecx
mov dword [esp + 0x9c], ecx
cmp ecx, 8
jl 0x4c3fc0
mov eax, dword [esi + 0x74]
mov edi, dword [esp + 0xa0]
mov dword [esp + 0x2a8], eax
mov dword [esp + 0x2b0], eax
lea eax, [esp + 0x2d0]
push eax
push 8
push eax
mov dword [esp + 0x2b8], edi
lea eax, [esi + 0x18c]
mov dword [esp + 0x2c0], edi
movdqu xmm0, xmmword [esp + 0x2b4]
push eax
movdqu xmmword [esi + 0x1b4], xmm0
call fcn.004ca940
mov eax, dword [esp + 0x2e0]
add esp, 0x10
mov ecx, dword [esp + 0x2d4]
add edi, 8
mov dword [esp + 0x98], eax
add eax, 0xfffffff8
mov dword [esp + 0x80], ecx
lea ecx, [esp + 0x6c]
push eax
mov dword [esp + 0xa4], edi
call fcn.0048b1e0
mov eax, dword [esp + 0x70]
mov ecx, esi
mov edi, dword [esp + 0x6c]
sub eax, edi
push eax
push edi
push dword [esp + 0xa8]
mov dword [esp + 0xa8], eax
call fcn.004c2e30
mov eax, dword [esi + 0x74]
mov ecx, dword [esp + 0xa0]
push edi
push dword [esp + 0xa0]
mov dword [esp + 0x2a0], eax
mov dword [esp + 0x2a8], eax
lea eax, [esi + 0x18c]
mov dword [esp + 0x2a4], ecx
mov dword [esp + 0x2ac], ecx
movdqu xmm0, xmmword [esp + 0x2a0]
push edi
push eax
movdqu xmmword [esi + 0x1b4], xmm0
call fcn.004ca940
add esp, 0x10
lea eax, [esp + 0x6c]
lea ecx, [esp + 0xa4]
push eax
push dword [esp + 0x84]
push dword [esp + 0xa0]
call fcn.004c5d60
lea eax, [esp + 0xa4]
push eax
lea ecx, [esp + 0x1c4]
call fcn.00487c60
mov dword [esp + 0x13c], 0
mov dword [esp + 0xa4], 0x453764
lea ecx, [esp + 0xa4]
mov byte [esp + 0x2e4], 4
call fcn.004bf7e0
mov edi, dword [esp + 0x118]
mov byte [esp + 0x2e4], 1
test edi, edi
je 0x4c4196
mov eax, dword [esp + 0x11c]
cmp edi, eax
je 0x4c418d
mov esi, eax
mov eax, dword [edi]
mov ecx, edi
push 0
call dword [eax]
add edi, 0x24
cmp edi, esi
jne 0x4c4170
mov edi, dword [esp + 0x118]
mov esi, dword [esp + 0x84]
push edi
call fcn.004d105d
add esp, 4
dec dword [esp + 0x90]
mov ecx, dword [esp + 0x94]
jne 0x4c3e24
lea eax, [esp + 0x1c0]
push eax
lea ecx, [esi + 0x2c4]
call fcn.004c6880
mov eax, dword [esp + 0x1c0]
mov byte [esp + 0x2e4], 0
test eax, eax
je 0x4c4228
mov edi, eax
cmp eax, dword [esp + 0x1c4]
je 0x4c41fe
jmp 0x4c41e0
mov eax, dword [edi]
mov ecx, edi
push 0
call dword [eax]
add edi, 0x9c
cmp edi, dword [esp + 0x1c4]
jne 0x4c41e0
mov eax, dword [esp + 0x1c0]
push eax
call fcn.004d105d
add esp, 4
mov dword [esp + 0x1c0], 0
mov dword [esp + 0x1c4], 0
mov dword [esp + 0x1c8], 0
dec dword [esp + 0x8c]
mov edi, dword [esp + 0x94]
jne 0x4c3d40
push dword [esp + 0x98]
mov eax, dword [esp + 0x8c]
lea ecx, [esp + 0x82]
push ecx
push dword [esi + 0x2dc]
movzx eax, word [eax + 0xa]
push dword [esi + 0x2d8]
mov dword [esp + 0x9c], eax
call fcn.0045ef50
mov eax, dword [esi + 0x2d8]
lea ecx, [esi + 0x2d8]
mov edx, dword [esp + 0x9c]
add esp, 0x10
mov dword [ecx + 4], eax
mov eax, dword [ecx + 8]
sub eax, dword [ecx]
sar eax, 7
cmp eax, edx
jae 0x4c42b2
cmp edx, 0x1ffffff
jbe 0x4c42a5
push 0x44f2e0
call fcn.004d06db
push edx
call fcn.004c6590
mov edx, dword [esp + 0x8c]
mov dword [esp + 0xa0], 0
test edx, edx
jle 0x4c4648
jmp 0x4c42d0
xor ecx, ecx
mov dword [esp + 0x98], edi
mov dword [esp + 0x90], ecx
mov eax, dword [esi + 0x2b8]
shr eax, 1
test al, 1
je 0x4c4301
push edi
lea ecx, [esi + 0xa0]
call fcn.004e95b0
mov ecx, dword [esp + 0x90]
jmp 0x4c430a
mov eax, dword [esi + 0x2bc]
mov al, byte [edi + eax]
mov byte [esp + ecx + 0x208], al
inc edi
inc ecx
mov dword [esp + 0x90], ecx
cmp ecx, 0x20
jl 0x4c42e0
mov edi, dword [esp + 0x94]
mov esi, dword [esp + 0x78]
add edi, 0x20
mov dword [esp + 0x94], edi
xor edx, edx
mov ecx, dword [esi + 4]
lea esp, [esp]
imul ecx, ecx, 0x6255
add ecx, 0x3619
and ecx, 0xffff
mov al, cl
mov dword [esi + 4], ecx
mov byte [esp + edx + 0x1f8], al
inc edx
cmp edx, 0x10
jb 0x4c4340
mov esi, dword [esp + 0x84]
lea eax, [esp + 0x208]
movdqu xmm0, xmmword [esp + 0x1f8]
push eax
push 0x20
push eax
lea eax, [esi + 0x18c]
push eax
movdqu xmmword [esi + 0x1b4], xmm0
call fcn.004ca940
push 0x80
lea eax, [esp + 0x154]
push 0
push eax
call fcn.004d26a0
xorps xmm0, xmm0
mov dword [esp + 0x1c4], esi
add esp, 0x1c
mov dword [esp + 0x1ac], esi
mov dword [esp + 0x1b0], 0
mov dword [esp + 0x1b4], 0
mov dword [esp + 0x1b8], 0
mov dword [esp + 0x1bc], 0
mov dword [esp + 0x140], 0
mov dword [esp + 0x144], 0
mov dword [esp + 0x148], 0
mov dword [esp + 0x14c], 0
mov dword [esp + 0x150], 0
mov dword [esp + 0x154], 0
mov dword [esp + 0x158], 0
movdqu xmmword [esp + 0x15c], xmm0
mov dword [esp + 0x16c], 0
mov dword [esp + 0x194], 0
movdqu xmmword [esp + 0x170], xmm0
mov dword [esp + 0x190], 0
movdqu xmmword [esp + 0x180], xmm0
movdqu xmmword [esp + 0x198], xmm0
push dword [esp + 0xa0]
lea eax, [esp + 0x20c]
mov byte [esp + 0x2e8], 5
push eax
lea ecx, [esp + 0x148]
call fcn.004c98e0
mov ecx, dword [esi + 0x2dc]
lea eax, [esi + 0x2d8]
lea edx, [esp + 0x140]
cmp edx, ecx
jae 0x4c457e
mov edx, dword [eax]
lea edi, [esp + 0x140]
cmp edx, edi
mov dword [esp + 0x90], edx
mov edi, dword [esp + 0x94]
ja 0x4c457e
lea edx, [esp + 0x140]
sub edx, dword [eax]
sar edx, 7
mov dword [esp + 0x80], edx
mov edx, dword [eax + 8]
cmp ecx, edx
jne 0x4c455e
mov eax, edx
sub eax, ecx
sar eax, 7
cmp eax, 1
jae 0x4c4558
sub ecx, dword [esp + 0x90]
mov eax, 0x1ffffff
sar ecx, 7
sub eax, ecx
cmp eax, 1
jb 0x4c3cb6
sub edx, dword [esp + 0x90]
inc ecx
sar edx, 7
mov eax, 0x1ffffff
mov dword [esp + 0x98], ecx
mov ecx, edx
shr ecx, 1
sub eax, ecx
cmp eax, edx
jae 0x4c453b
xor edx, edx
jmp 0x4c453d
add edx, ecx
cmp edx, dword [esp + 0x98]
lea ecx, [esi + 0x2d8]
cmovb edx, dword [esp + 0x98]
push edx
call fcn.004c6590
lea eax, [esi + 0x2d8]
mov edx, dword [esp + 0x80]
shl edx, 7
add edx, dword [eax]
cmp dword [eax + 4], 0
je 0x4c4620
mov edi, dword [eax + 4]
mov esi, edx
jmp 0x4c460b
mov edx, dword [eax + 8]
cmp ecx, edx
jne 0x4c45fb
mov eax, edx
sub eax, ecx
sar eax, 7
cmp eax, 1
jae 0x4c45f5
mov eax, dword [esi + 0x2d8]
sub ecx, eax
mov dword [esp + 0x98], eax
mov eax, 0x1ffffff
sar ecx, 7
sub eax, ecx
cmp eax, 1
jb 0x4c3cb6
sub edx, dword [esp + 0x98]
inc ecx
sar edx, 7
mov eax, 0x1ffffff
mov dword [esp + 0x80], ecx
mov ecx, edx
shr ecx, 1
sub eax, ecx
cmp eax, edx
jae 0x4c45d8
xor edx, edx
jmp 0x4c45da
add edx, ecx
cmp edx, dword [esp + 0x80]
lea ecx, [esi + 0x2d8]
cmovb edx, dword [esp + 0x80]
push edx
call fcn.004c6590
lea eax, [esi + 0x2d8]
mov edx, dword [eax + 4]
test edx, edx
je 0x4c4620
lea esi, [esp + 0x140]
mov edi, edx
mov ecx, 0x20
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x84]
mov edi, dword [esp + 0x94]
sub dword [eax + 4], 0xffffff80
mov eax, dword [esp + 0xa0]
inc eax
mov byte [esp + 0x2e4], 0
mov dword [esp + 0xa0], eax
cmp eax, dword [esp + 0x8c]
jl 0x4c42d0
mov ecx, dword [esp + 0x88]
mov dword [esi + 0x2e4], edi
mov eax, dword [ecx + 0xc]
mov dword [esi + 0x2e8], eax
add edi, dword [ecx + 0xc]
lea ecx, [esi + 0x2d0]
mov eax, dword [ecx]
push dword [eax + 4]
call fcn.00464450
mov eax, dword [esi + 0x2d0]
xor ecx, ecx
mov dword [esp + 0x9c], 0
mov dword [eax + 4], eax
mov eax, dword [esi + 0x2d0]
mov dword [eax], eax
mov eax, dword [esi + 0x2d0]
mov dword [eax + 8], eax
mov eax, dword [esp + 0x88]
mov dword [esi + 0x2d4], 0
cmp cx, word [eax + 0x10]
jae 0x4c4837
lea eax, [esp + 0x248]
sub eax, edi
mov dword [esp + 0xa0], eax
mov edx, dword [esp + 0xa0]
mov ecx, 0x50
mov dword [esp + 0x90], ecx
mov eax, dword [esi + 0x2b8]
shr eax, 1
test al, 1
je 0x4c46fe
push edi
lea ecx, [esi + 0xa0]
call fcn.004e95b0
mov ecx, dword [esp + 0x90]
mov edx, dword [esp + 0xa0]
jmp 0x4c4707
mov eax, dword [esi + 0x2bc]
mov al, byte [edi + eax]
mov byte [edx + edi], al
inc edi
dec ecx
mov dword [esp + 0x90], ecx
jne 0x4c46d6
mov esi, dword [esp + 0x78]
xor edx, edx
mov ecx, dword [esi + 4]
mov edi, edi
imul ecx, ecx, 0x6255
add ecx, 0x3619
and ecx, 0xffff
mov al, cl
mov dword [esi + 4], ecx
mov byte [esp + edx + 0x228], al
inc edx
cmp edx, 0x10
jb 0x4c4720
mov esi, dword [esp + 0x84]
lea eax, [esp + 0x248]
movdqu xmm0, xmmword [esp + 0x228]
push eax
push 0x50
push eax
lea eax, [esi + 0x18c]
push eax
movdqu xmmword [esi + 0x1b4], xmm0
call fcn.004ca940
movdqu xmm0, xmmword [esp + 0x268]
mov eax, dword [esp + 0x258]
add esp, 0x10
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x24c]
movdqu xmmword [esp + 0x1c], xmm0
mov dword [esp + 0x10], eax
movdqu xmm0, xmmword [esp + 0x268]
mov eax, dword [esp + 0x250]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x254]
movdqu xmmword [esp + 0x2c], xmm0
mov dword [esp + 0x18], eax
movdqu xmm0, xmmword [esp + 0x278]
movdqu xmmword [esp + 0x3c], xmm0
movdqu xmm0, xmmword [esp + 0x288]
movdqu xmmword [esp + 0x4c], xmm0
movzx eax, byte [0x504f8c]
lea ecx, [esi + 0x2d0]
sub dword [esp + 0xa0], 0x50
push eax
lea eax, [esp + 0x10]
mov byte [esp + 0x2e8], 6
push eax
push 0
lea eax, [esp + 0x68]
push eax
call fcn.004c19f0
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x9c]
inc edx
mov byte [esp + 0x2e4], 0
mov dword [esp + 0x9c], edx
movzx eax, word [eax + 0x10]
cmp edx, eax
jl 0x4c46c3
push 0
push 0
push ecx
mov eax, esp
lea ecx, [esp + 0x70]
push ecx
mov ecx, esi
mov dword [eax], 1
mov eax, dword [esi]
call dword [eax + 8]
mov eax, dword [esp + 0x6c]
test eax, eax
je 0x4c4861
push eax
call fcn.004d105d
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x2dc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x2cc]
xor ecx, esp
call fcn.004d17f4
add esp, 0x2dc
ret 0xc