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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x388
mov esi, esp
mov dword [esi + 0x370], ebp
lea eax, [esi + 0x378]
mov edi, edx
mov dword [eax - 4], esp
or dword [eax + 8], 0xffffffff
mov dword [eax + 4], 0x503e10
mov edx, dword fs:[0]
mov dword [eax], edx
mov dword fs:[0], eax
mov eax, dword [edi]
xor eax, 3
or eax, dword [edi + 4]
call 0x4c1bcd
pop eax
mov dword [esi + 0x54], eax
jne 0x4c1be8
mov eax, dword [edi + 8]
and dword [ecx + 4], 0
mov dword [ecx], 3
mov dword [ecx + 8], eax
jmp 0x4c28ae
lea eax, [edi + 0xc8]
movsd xmm0, qword [edi + 0xac]
movsd xmm1, qword [edi + 0xb4]
mov dword [esi + 0x50], ecx
lea ebx, [edi + 0x40]
lea ecx, [esi + 0x344]
mov dword [esi + 0x44], eax
mov eax, dword [edi + 0xbc]
movsd qword [esi + 0xa0], xmm0
movsd qword [esi + 0xa8], xmm1
movsd xmm0, qword [edi + 0x40]
movsd xmm1, qword [edi + 0x48]
mov dword [esi + 0xb0], eax
mov eax, dword [edi + 0x8c]
movsd qword [esi + 0x1c0], xmm1
movsd qword [esi + 0x1b8], xmm0
mov dword [esi + 0x3c], eax
mov eax, dword [edi + 0x88]
mov dword [esi + 0x38], eax
mov al, byte [edi + 0xc0]
mov byte [esi + 0x27], al
mov eax, dword [edi + 0x90]
mov dword [esi + 0x70], eax
mov eax, dword [edi + 0x50]
mov dword [esi + 0x40], eax
mov eax, dword [edi + 0x54]
mov dword [esi + 0x30], eax
mov eax, dword [edi + 0x58]
mov dword [esi + 0x48], eax
lea eax, [edi + 0x5c]
push 0x2c
push eax
push ecx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
lea eax, [esi + 0x178]
push 0x40
push edi
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, dword [edi + 0xa8]
movsd xmm0, qword [edi + 0x98]
movsd xmm1, qword [edi + 0xa0]
mov ecx, ebx
mov dword [esi + 0x4c], edi
mov dword [esi + 0x380], 2
mov dword [esi + 8], ebx
mov dword [esi + 0x88], eax
mov al, 1
movsd qword [esi + 0x80], xmm1
movsd qword [esi + 0x78], xmm0
mov byte [esi + 6], al
mov byte [esi + 7], al
call fcn.0046d6b0
mov ecx, eax
push 4
push 0x5a7b4f
call fcn.004bfb14
pop ecx
pop edx
test al, al
je 0x4c1d2c
mov ecx, dword [esi + 8]
mov al, 1
mov byte [esi + 6], al
mov byte [esi + 7], al
call fcn.0046d6b0
mov ecx, eax
push 5
push 0x5a7b53
call fcn.004bfb14
pop ecx
pop edx
test al, al
je 0x4c1d2c
mov ecx, dword [esi + 8]
mov byte [esi + 6], 1
mov byte [esi + 7], 0
call fcn.004bcdee
jmp 0x4c1d78
mov eax, dword [esi + 0x44]
mov edx, dword [eax]
cmp byte [edx + 0x12a], 0
mov dword [esi + 0x20], edx
je 0x4c1dc7
mov ecx, dword [esi + 8]
mov al, 1
mov byte [esi + 6], al
mov byte [esi + 7], al
call fcn.0046d6b0
mov ecx, eax
push 5
push 0x5a7b53
call fcn.004bfb14
pop ecx
pop edx
mov edx, dword [esi + 0x20]
test al, al
je 0x4c1dc7
mov ecx, dword [esi + 8]
mov byte [esi + 6], 1
mov byte [esi + 7], 0
call fcn.004bcdee
mov ecx, dword [esi + 0x50]
mov byte [esi + 0xc], 0
mov dword [esi + 0x380], 1
and dword [ecx + 4], 0
mov dword [ecx], 3
mov dword [ecx + 8], eax
lea ecx, [esi + 0x78]
call fcn.004c00e3
and dword [esi + 0x380], 0
lea ecx, [esi + 0x178]
mov byte [esi + 0x1b], 0
call fcn.0046b44b
mov edi, dword [esi + 0x4c]
lea ecx, [edi + 0xac]
call fcn.00404ddf
jmp 0x4c28a7
xor ecx, ecx
cmp dword [edx + 0x30], 0
lea eax, [edx + 8]
lea edx, [esi + 0x290]
sete cl
add ecx, ecx
mov dword [edx], ecx
mov dword [edx + 8], eax
and dword [edx + 0xc], 0
mov al, 1
lea ecx, [esi + 0x290]
mov dword [esi + 0x380], 2
mov byte [esi + 6], al
mov byte [esi + 7], al
call fcn.00448b88
mov dword [esi + 0x74], edx
test eax, eax
je 0x4c202c
mov cl, 1
mov dword [esi + 0x28], eax
mov byte [esi + 6], cl
mov byte [esi + 7], cl
lea ecx, [esi + 0x178]
call fcn.00439f72
mov edx, dword [esi + 0x28]
lea ecx, [esi + 0x178]
call fcn.004510c3
movzx ecx, word [esi + 0x1b0]
mov edi, eax
mov dword [esi + 0x2c], eax
mov eax, dword [esi + 0x1a0]
mov edx, dword [esi + 0x19c]
mov ebx, dword [esi + 0x194]
mov dword [esi + 8], 0
mov dword [esi + 0x14], ecx
and edi, ecx
mov ecx, dword [esi + 0x190]
mov dword [esi + 0x58], eax
mov dword [esi + 0x5c], edx
mov dword [esi + 0x34], ecx
mov eax, edi
mov edi, eax
xor eax, eax
cmp edi, ebx
jae 0x4c1e6b
movzx eax, word [ecx + edi*4]
mov dword [esi + 0x1c], edi
cmp eax, 0xffff
je 0x4c1f1d
mov dword [esi + 0x10], eax
movzx eax, word [ecx + edi*4 + 2]
mov ecx, dword [esi + 0x14]
mov edx, ecx
and edx, eax
sub edi, edx
and edi, ecx
cmp edi, dword [esi + 8]
jb 0x4c1f51
cmp ax, word [esi + 0x2c]
mov edi, dword [esi + 0x1c]
jne 0x4c1f11
mov ecx, dword [esi + 0x10]
cmp dword [esi + 0x58], ecx
jbe 0x4c2317
mov eax, dword [esi + 0x5c]
imul ecx, ecx, 0x34
mov dword [esi + 0x10], ecx
mov eax, dword [eax + ecx + 0x20]
mov ecx, dword [esi + 0x28]
test eax, eax
setne dl
cmp dword [ecx], 0
sete dh
cmp dl, dh
je 0x4c1f11
mov ecx, dword [esi + 0x5c]
mov edx, dword [esi + 0x10]
test eax, eax
lea edx, [ecx + edx + 0x20]
je 0x4c1f02
mov eax, dword [esi + 0x28]
mov ecx, dword [edx + 4]
mov edx, dword [edx + 8]
push dword [eax + 8]
push dword [eax + 4]
call fcn.00422071
pop ecx
pop edx
test al, al
je 0x4c1f11
jmp 0x4c1de4
mov al, byte [edx + 4]
mov ecx, dword [esi + 0x28]
cmp al, byte [ecx + 4]
je 0x4c1de4
inc dword [esi + 8]
mov ecx, dword [esi + 0x34]
inc edi
jmp 0x4c1e69
mov edx, dword [esi + 0x17c]
mov eax, dword [esi + 0x178]
mov cl, 1
mov dword [esi + 0x380], 2
mov byte [esi + 6], cl
mov byte [esi + 7], cl
lea ecx, [esi + 0xc8]
mov dword [esi + 0x14], edx
mov edx, dword [esi + 0x28]
mov dword [esi + 0x10], eax
call fcn.0044bfe4
jmp 0x4c1f83
mov edx, dword [esi + 0x17c]
mov eax, dword [esi + 0x178]
mov cl, 1
mov dword [esi + 0x380], 2
mov byte [esi + 6], cl
mov byte [esi + 7], cl
lea ecx, [esi + 0xc8]
mov dword [esi + 0x14], edx
mov edx, dword [esi + 0x28]
mov dword [esi + 0x10], eax
call fcn.0044bfe4
cmp dword [esi + 8], 0x200
mov eax, dword [esi + 0x10]
mov edx, dword [esi + 0xcc]
mov edi, dword [esi + 0xd4]
mov ebx, dword [esi + 0xd0]
mov byte [esi + 0x1a], 1
mov dword [esi + 0x380], 3
setae cl
xor eax, 2
or eax, dword [esi + 0x14]
setne al
and al, cl
mov ecx, dword [esi + 0xc8]
mov dword [esi + 8], ecx
lea ecx, [esi + 0x178]
mov dword [esi + 0xc8], ecx
mov ecx, dword [esi + 8]
mov dword [esi + 0xcc], ecx
mov ecx, dword [esi + 0x1c]
mov dword [esi + 0xd0], edx
mov dword [esi + 0xd4], ebx
mov dword [esi + 0xd8], edi
mov edx, dword [esi + 0x74]
mov dword [esi + 0xdc], ecx
mov ecx, dword [esi + 0x2c]
mov word [esi + 0xe0], cx
lea ecx, [esi + 0x1f8]
mov byte [esi + 0xe2], al
call fcn.004a9a41
lea ecx, [esi + 0xc8]
lea edx, [esi + 0x1f8]
mov byte [esi + 0x1a], 0
call fcn.00450ee1
jmp 0x4c1de4
mov edx, dword [esi + 0x30]
mov cl, 1
mov al, 1
mov byte [esi + 6], cl
mov byte [esi + 7], cl
mov dword [esi + 0x2c], eax
lea ecx, [esi + 0x1cc]
push dword [esi + 0x48]
call fcn.004bfb26
pop eax
cmp dword [esi + 0x78], 0
je 0x4c20b0
movsd xmm0, qword [esi + 0x7c]
movsd xmm1, qword [esi + 0x84]
movsd qword [esi + 0x60], xmm0
movsd qword [esi + 0x68], xmm1
cmp dword [esi + 0x60], 0
je 0x4c20c0
lea ecx, [esi + 0xc8]
lea edx, [esi + 0x60]
mov dword [esi + 0x380], 0xc
call fcn.00421ec4
mov eax, dword [esi + 0xc8]
movsd xmm0, qword [esi + 0xcc]
mov dword [esi + 8], eax
mov eax, dword [esi + 0xd4]
movsd qword [esi + 0x1f8], xmm0
mov dword [esi + 0x200], eax
mov eax, dword [esi + 0x60]
jmp 0x4c20c9
xor edx, edx
xor edi, edi
mov eax, 0x579680
xor ebx, ebx
xor ecx, ecx
inc edi
jmp 0x4c20f8
xor eax, eax
mov dword [esi + 8], 0
mov ecx, dword [esi + 0x200]
movsd xmm0, qword [esi + 0x1f8]
mov edi, dword [esi + 0x64]
mov edx, dword [esi + 0x68]
mov ebx, dword [esi + 0x6c]
mov dword [esi + 0x2c], 0
mov dword [esi + 0xd0], ecx
xor ecx, ecx
movsd qword [esi + 0xc8], xmm0
inc ecx
mov dword [esi + 0xb4], ecx
mov ecx, dword [esi + 8]
movsd xmm0, qword [esi + 0xc8]
mov dword [esi + 0x90], eax
mov eax, dword [esi + 0x20]
mov dword [esi + 0x94], edi
mov dword [esi + 0x98], edx
mov dword [esi + 0x9c], ebx
mov dword [esi + 0xb8], ecx
mov ecx, dword [esi + 0xd0]
movsd qword [esi + 0xbc], xmm0
mov dword [esi + 0xc4], ecx
cmp byte [eax + 0x129], 0
mov dword [esi + 0x380], 5
je 0x4c2488
xor ecx, ecx
cmp byte [esi + 0x1cc], 0
lea eax, [esi + 0x1cc]
mov edx, 0x57baa4
cmovne ecx, eax
mov al, 1
mov byte [esi + 4], al
mov byte [esi + 5], al
call fcn.00455fb0
test al, al
je 0x4c2488
lea edx, [esi + 0xc8]
mov al, 1
lea ecx, [esi + 0x178]
and dword [edx + 0xc], 0
and dword [edx + 8], 0
and dword [edx], 0
mov dword [edx + 4], 0x33
mov byte [esi + 4], al
mov byte [esi + 5], al
call fcn.0043a449
test al, al
jne 0x4c2488
mov eax, dword [esi + 0x20]
mov eax, dword [eax + 0x124]
mov ecx, dword [eax + 0xc]
imul eax, dword [eax + 0x10], 0x44
add eax, ecx
mov dword [esi + 8], ecx
mov dword [esi + 0x1c], eax
mov edi, dword [esi + 8]
cmp edi, dword [esi + 0x1c]
je 0x4c2488
mov eax, dword [edi]
lea ecx, [edi + 0x44]
mov dword [esi + 0x10], edi
mov dword [esi + 8], ecx
mov eax, dword [eax*4 + 0x4c2b70]
add eax, dword [esi + 0x54]
jmp eax
mov edx, dword [esi + 0x58]
mov al, 1
mov dword [esi + 0x380], 2
mov byte [esi + 6], al
mov byte [esi + 7], al
push 0x579480
call fcn.00526920
pop eax
jmp 0x4c28cf
mov al, 1
lea ecx, [esi + 0xc8]
mov byte [esi + 4], al
mov byte [esi + 5], al
call fcn.0044c4d6
lea ecx, [esi + 0x290]
lea edx, [esi + 0xa0]
mov byte [esi + 0x19], 1
mov dword [esi + 0x380], 6
call fcn.004bfb73
lea eax, [esi + 0x290]
mov byte [esi + 0x19], 0
lea ecx, [esi + 0x1f8]
lea edx, [esi + 0xc8]
push eax
call fcn.0043b0f1
pop eax
push 0x2c
lea eax, [esi + 0x1cc]
push eax
lea edi, [esi + 0x290]
push edi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov byte [esi + 4], 1
mov byte [esi + 5], 0
mov dword [esi + 0x380], 5
lea ecx, [esi + 0xc8]
lea edx, [esi + 0x1f8]
push edi
call fcn.004b2fc8
pop eax
mov ecx, dword [esi + 0xc8]
mov edx, dword [esi + 0xcc]
mov al, byte [esi + 0xd0]
mov bl, byte [esi + 0xd1]
mov edi, ecx
mov byte [esi + 8], al
mov byte [esi + 0x1c], bl
xor edi, 3
or edi, edx
je 0x4c2563
lea eax, [esi + 0xd2]
mov edi, dword [eax + 0x7a]
shr edi, 8
push 0x7a
push eax
lea eax, [esi + 0x1f8]
push eax
mov dword [esi + 0x10], ecx
mov ebx, edx
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [esi + 0x10]
mov edx, ebx
add esp, 0xc
mov al, byte [esi + 8]
lea ebx, [esi + 0x29a]
mov dword [ebx - 0xa], ecx
mov dword [ebx - 6], edx
mov byte [ebx - 2], al
mov al, byte [esi + 0x1c]
mov byte [ebx - 1], al
push 0x7a
lea eax, [esi + 0x1f8]
push eax
push ebx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov al, byte [esi + 0x27]
movsd xmm0, qword [esi + 0x90]
movsd xmm1, qword [esi + 0x98]
lea ecx, [esi + 0xc8]
lea edx, [esi + 0x290]
mov byte [ebx + 0x7a], al
mov eax, edi
mov word [ebx + 0x7b], di
movsd qword [esi + 0x200], xmm1
movsd qword [esi + 0x1f8], xmm0
shr eax, 0x10
mov byte [ebx + 0x7d], al
xor eax, eax
mov byte [esi + 4], al
mov byte [esi + 5], al
lea eax, [esi + 0x1f8]
push eax
call fcn.004b3190
pop eax
xor eax, eax
lea ecx, [esi + 0x1f8]
lea edx, [esi + 0xc8]
mov byte [esi + 4], al
mov byte [esi + 5], al
push 0x57ba94
call fcn.004bfbd3
pop eax
lea ecx, [esi + 0xc8]
lea edx, [esi + 0x178]
mov byte [esi + 0xf], 1
mov dword [esi + 0x380], 7
call fcn.004bfc13
lea ecx, [esi + 0x1f8]
mov dword [esi + 0x380], 8
call fcn.0046b44b
push 0x40
lea ebx, [esi + 0xc8]
push ebx
lea eax, [esi + 0x1f8]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, dword [esi + 0x20]
lea edi, [eax + 0x48]
push 0x98
lea eax, [esi + 0x1f8]
push eax
push ebx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov ecx, edi
mov edx, ebx
mov byte [esi + 0xf], 0
mov dword [esi + 0x380], 7
call fcn.004bbc20
mov dword [esi + 0x1c], eax
mov ebx, dword [esi + 0x70]
mov edi, dword [esi + 0x20]
mov ecx, 0x3b9aca00
cmp ebx, ecx
mov eax, ebx
jne 0x4c2697
mov eax, dword [edi + 0x110]
cmp eax, ecx
mov dword [esi + 8], 0
mov dword [esi + 0x10], edx
je 0x4c2738
cmp ebx, 0x3b9aca00
jne 0x4c26c3
mov ecx, dword [edi + 0x108]
mov edx, dword [edi + 0x10c]
mov dword [esi + 0x38], ecx
mov dword [esi + 0x3c], edx
mov edx, dword [esi + 0x38]
mov dword [esi + 0x380], 9
lea ecx, [esi + 0x1f8]
push 0x5791ec
push eax
push dword [esi + 0x3c]
call fcn.004f6270
add esp, 0xc
cmp dword [esi + 0x1f8], 2
mov edi, dword [esi + 0x20]
lea ecx, [esi + 0xc8]
je 0x4c2738
push 0x50
lea eax, [esi + 0x1f8]
push eax
push ecx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov dword [esi + 0x380], 0xa
push 0x50
pop ecx
push 8
pop edx
call fcn.004ea8ea
push 0x50
lea ecx, [esi + 0xc8]
push ecx
mov dword [esi + 8], eax
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov edi, dword [esi + 0x20]
push 0x40
lea eax, [esi + 0x178]
push eax
lea ebx, [esi + 0x1f8]
push ebx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, dword [esi + 0xc4]
movsd xmm0, qword [esi + 0xb4]
movsd xmm1, qword [esi + 0xbc]
mov dword [esi + 0x170], eax
movsd qword [esi + 0x168], xmm1
movsd qword [esi + 0x160], xmm0
lock inc dword [edi]
jle 0x4c28cf
mov edi, dword [esi + 0x50]
movsd xmm1, qword [esi + 0xa8]
mov eax, dword [esi + 0xb0]
movsd xmm0, qword [esi + 0xa0]
movsd xmm2, qword [esi + 0x1b8]
movsd qword [edi + 0xb8], xmm1
movsd xmm1, qword [esi + 0x1c0]
mov dword [edi + 0xc0], eax
movsd qword [edi + 0xb0], xmm0
movsd qword [esi + 0x108], xmm2
movsd qword [esi + 0x110], xmm1
push 0x2c
pop eax
lea ecx, [esi + 0x318]
push eax
lea eax, [esi + 0x344]
push eax
push ecx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
push 0x40
push ebx
lea ebx, [esi + 0xc8]
push ebx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
movsd xmm0, qword [esi + 0x160]
movsd xmm1, qword [esi + 0x168]
mov eax, dword [esi + 0x170]
movsd qword [edi + 0x90], xmm0
movsd qword [edi + 0x98], xmm1
mov dword [edi + 0xa0], eax
push 0x50
push ebx
push edi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, dword [esi + 0x40]
mov dword [edi + 0x50], eax
mov eax, dword [esi + 0x30]
mov dword [edi + 0x54], eax
mov eax, dword [esi + 0x48]
mov dword [edi + 0x58], eax
lea eax, [edi + 0x5c]
push 0x2c
pop ecx
push ecx
lea ecx, [esi + 0x318]
push ecx
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0x20]
mov dword [edi + 0x88], eax
mov dword [edi + 0x8c], ecx
mov ecx, dword [esi + 8]
and dword [edi + 0xa4], 0
mov dword [edi + 0xa8], 4
and dword [edi + 0xac], 0
mov dword [edi + 0xc4], edx
and dword [edi + 0xc8], 0
mov dword [edi + 0xcc], ecx
mov edi, dword [esi + 0x4c]
or dword [esi + 0x380], 0xffffffff
add edi, 0xc8
mov ecx, edi
call fcn.0040650d
mov eax, dword [esi + 0x378]
mov dword fs:[0], eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
ud2