Function at 0x4c2800
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], 0x505420
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 0x4c2849
pop eax
mov dword [esi + 0x54], eax
jne 0x4c2864
mov eax, dword [edi + 8]
and dword [ecx + 4], 0
mov dword [ecx], 3
mov dword [ecx + 8], eax
jmp 0x4c354d
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 + 0x140], xmm1
movsd qword [esi + 0x138], xmm0
movsd xmm0, qword [edi + 0x40]
movsd xmm1, qword [edi + 0x48]
mov dword [esi + 0x148], eax
mov eax, dword [edi + 0x8c]
movsd qword [esi + 0x1b8], xmm0
movsd qword [esi + 0x1c0], xmm1
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 fcn.00527800
add esp, 0xc
lea eax, [esi + 0x178]
push 0x40
push edi
push eax
call fcn.00527800
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.0046d6df
mov ecx, eax
push 4
push 0x5b8387
call fcn.004c06c7
pop ecx
pop edx
test al, al
je 0x4c29a8
mov ecx, dword [esi + 8]
mov al, 1
mov byte [esi + 6], al
mov byte [esi + 7], al
call fcn.0046d6df
mov ecx, eax
push 5
push 0x5b838b
call fcn.004c06c7
pop ecx
pop edx
test al, al
je 0x4c29a8
mov ecx, dword [esi + 8]
mov byte [esi + 6], 1
mov byte [esi + 7], 0
call fcn.004bd977
jmp 0x4c29f4
mov eax, dword [esi + 0x44]
mov edx, dword [eax]
cmp byte [edx + 0x12a], 0
mov dword [esi + 0x20], edx
je 0x4c2a43
mov ecx, dword [esi + 8]
mov al, 1
mov byte [esi + 6], al
mov byte [esi + 7], al
call fcn.0046d6df
mov ecx, eax
push 5
push 0x5b838b
call fcn.004c06c7
pop ecx
pop edx
mov edx, dword [esi + 0x20]
test al, al
je 0x4c2a43
mov ecx, dword [esi + 8]
mov byte [esi + 6], 1
mov byte [esi + 7], 0
call fcn.004bd977
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.004c0d3e
and dword [esi + 0x380], 0
lea ecx, [esi + 0x178]
mov byte [esi + 0x1b], 0
call fcn.0044ee2e
mov edi, dword [esi + 0x4c]
lea ecx, [edi + 0xac]
call fcn.00404e52
jmp 0x4c3546
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.00449009
mov dword [esi + 0x74], edx
test eax, eax
je 0x4c2ca7
mov cl, 1
mov dword [esi + 0x28], eax
mov byte [esi + 6], cl
mov byte [esi + 7], cl
lea ecx, [esi + 0x178]
call fcn.0043a5f9
mov edx, dword [esi + 0x28]
lea ecx, [esi + 0x178]
call fcn.00451739
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 0x4c2ae7
movzx eax, word [ecx + edi*4]
mov dword [esi + 0x1c], edi
cmp eax, 0xffff
je 0x4c2b98
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 0x4c2bcc
cmp ax, word [esi + 0x2c]
mov edi, dword [esi + 0x1c]
jne 0x4c2b8c
mov ecx, dword [esi + 0x10]
cmp dword [esi + 0x58], ecx
jbe 0x4c2f94
mov eax, dword [esi + 0x5c]
imul ecx, ecx, 0x34
mov eax, dword [eax + ecx + 0x20]
test eax, eax
mov dword [esi + 0x10], eax
mov eax, dword [esi + 0x28]
setne dl
cmp dword [eax], 0
sete dh
cmp dl, dh
je 0x4c2b8c
mov eax, dword [esi + 0x5c]
cmp dword [esi + 0x10], 0
lea edx, [eax + ecx + 0x20]
je 0x4c2b7d
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.004228ca
pop ecx
pop edx
test al, al
je 0x4c2b8c
jmp 0x4c2a60
mov al, byte [edx + 4]
mov ecx, dword [esi + 0x28]
cmp al, byte [ecx + 4]
je 0x4c2a60
inc dword [esi + 8]
mov ecx, dword [esi + 0x34]
inc edi
jmp 0x4c2ae5
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 + 0xa0]
mov dword [esi + 0x14], edx
mov edx, dword [esi + 0x28]
mov dword [esi + 0x10], eax
call fcn.0044c40e
jmp 0x4c2bfe
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 + 0xa0]
mov dword [esi + 0x14], edx
mov edx, dword [esi + 0x28]
mov dword [esi + 0x10], eax
call fcn.0044c40e
cmp dword [esi + 8], 0x200
mov eax, dword [esi + 0x10]
mov edi, dword [esi + 0xa4]
mov edx, dword [esi + 0xac]
mov ebx, dword [esi + 0xa8]
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 + 0xa0]
mov dword [esi + 8], ecx
lea ecx, [esi + 0x178]
mov dword [esi + 0xa0], ecx
mov ecx, dword [esi + 8]
mov dword [esi + 0xa4], ecx
mov ecx, dword [esi + 0x1c]
mov dword [esi + 0xa8], edi
mov dword [esi + 0xb0], edx
mov dword [esi + 0xac], ebx
mov edx, dword [esi + 0x74]
mov dword [esi + 0xb4], ecx
mov ecx, dword [esi + 0x2c]
mov word [esi + 0xb8], cx
lea ecx, [esi + 0x1f8]
mov byte [esi + 0xba], al
call fcn.004a0887
lea ecx, [esi + 0xa0]
lea edx, [esi + 0x1f8]
mov byte [esi + 0x1a], 0
call fcn.004514e1
jmp 0x4c2a60
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.004c06d9
pop eax
cmp dword [esi + 0x78], 0
je 0x4c2d2b
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 0x4c2d3d
lea ecx, [esi + 0xa0]
lea edx, [esi + 0x60]
mov dword [esi + 0x380], 0xc
call fcn.0042271d
mov eax, dword [esi + 0xa0]
movsd xmm0, qword [esi + 0xa4]
mov dword [esi + 8], eax
mov eax, dword [esi + 0xac]
movsd qword [esi + 0x1f8], xmm0
mov dword [esi + 0x200], eax
mov eax, dword [esi + 0x60]
jmp 0x4c2d46
xor edx, edx
mov edi, 0x5b8dd0
mov eax, 0x589a4c
xor ebx, ebx
xor ecx, ecx
jmp 0x4c2d75
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 + 0xa8], ecx
xor ecx, ecx
movsd qword [esi + 0xa0], xmm0
inc ecx
mov dword [esi + 0x14c], ecx
mov ecx, dword [esi + 8]
movsd xmm0, qword [esi + 0xa0]
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 + 0x150], ecx
mov ecx, dword [esi + 0xa8]
movsd qword [esi + 0x154], xmm0
mov dword [esi + 0x15c], ecx
cmp byte [eax + 0x129], 0
mov dword [esi + 0x380], 5
je 0x4c3105
xor ecx, ecx
cmp byte [esi + 0x1cc], 0
lea eax, [esi + 0x1cc]
mov edx, 0x58bf08
cmovne ecx, eax
mov al, 1
mov byte [esi + 4], al
mov byte [esi + 5], al
call fcn.00456340
test al, al
je 0x4c3105
lea edx, [esi + 0xa0]
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.0043aa84
test al, al
jne 0x4c3105
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 0x4c3105
mov eax, dword [edi]
lea ecx, [edi + 0x44]
mov dword [esi + 0x10], edi
mov dword [esi + 8], ecx
mov eax, dword [eax*4 + 0x4c3810]
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 0x58984c
call fcn.00535ff0
pop eax
jmp 0x4c356e
mov al, 1
lea ecx, [esi + 0xa0]
mov byte [esi + 4], al
mov byte [esi + 5], al
call fcn.004c0726
lea ecx, [esi + 0x290]
lea edx, [esi + 0x138]
mov byte [esi + 0x19], 1
mov dword [esi + 0x380], 6
call fcn.004c0758
lea eax, [esi + 0x290]
mov byte [esi + 0x19], 0
lea ecx, [esi + 0x1f8]
lea edx, [esi + 0xa0]
push eax
call fcn.0043b615
pop eax
push 0x2c
lea eax, [esi + 0x1cc]
push eax
lea edi, [esi + 0x290]
push edi
call fcn.00527800
add esp, 0xc
mov byte [esi + 4], 1
mov byte [esi + 5], 0
mov dword [esi + 0x380], 5
lea ecx, [esi + 0xa0]
lea edx, [esi + 0x1f8]
push edi
call fcn.004b2cef
pop eax
mov ecx, dword [esi + 0xa0]
mov edx, dword [esi + 0xa4]
mov al, byte [esi + 0xa8]
mov bl, byte [esi + 0xa9]
mov edi, ecx
mov byte [esi + 8], al
mov byte [esi + 0x1c], bl
xor edi, 3
or edi, edx
je 0x4c31e0
lea eax, [esi + 0xaa]
mov edi, dword [eax + 0x7a]
push 0x7a
push eax
lea eax, [esi + 0x1f8]
push eax
mov dword [esi + 0x10], ecx
mov ebx, edx
call fcn.00527800
mov ecx, dword [esi + 0x10]
mov edx, ebx
add esp, 0xc
shr edi, 8
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 fcn.00527800
add esp, 0xc
mov al, byte [esi + 0x27]
movsd xmm0, qword [esi + 0x90]
movsd xmm1, qword [esi + 0x98]
lea ecx, [esi + 0xa0]
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.004b355c
pop eax
xor eax, eax
lea ecx, [esi + 0x1f8]
lea edx, [esi + 0xa0]
mov byte [esi + 4], al
mov byte [esi + 5], al
push 0x58bef8
call fcn.004c0820
pop eax
lea ecx, [esi + 0xa0]
lea edx, [esi + 0x178]
mov byte [esi + 0xf], 1
mov dword [esi + 0x380], 7
call fcn.004c0860
lea ecx, [esi + 0x1f8]
mov dword [esi + 0x380], 8
call fcn.0044ee2e
push 0x40
lea ebx, [esi + 0xa0]
push ebx
lea eax, [esi + 0x1f8]
push eax
call fcn.00527800
add esp, 0xc
mov eax, dword [esi + 0x20]
lea edi, [eax + 0x48]
push 0x98
lea eax, [esi + 0x1f8]
push eax
push ebx
call fcn.00527800
add esp, 0xc
mov ecx, edi
mov edx, ebx
mov byte [esi + 0xf], 0
mov dword [esi + 0x380], 7
call fcn.004bc80d
mov dword [esi + 0x1c], eax
mov edi, dword [esi + 0x70]
mov ebx, dword [esi + 0x20]
mov ecx, 0x3b9aca00
cmp edi, ecx
mov eax, edi
jne 0x4c3314
mov eax, dword [ebx + 0x110]
cmp eax, ecx
mov dword [esi + 8], 0
mov dword [esi + 0x10], edx
je 0x4c33d1
cmp edi, 0x3b9aca00
jne 0x4c3340
mov ecx, dword [ebx + 0x108]
mov edx, dword [ebx + 0x10c]
mov dword [esi + 0x38], ecx
mov dword [esi + 0x3c], edx
mov edx, dword [esi + 0x38]
mov dword [esi + 0x380], 9
lea ecx, [esi + 0xa0]
push 0x5895dc
push eax
push dword [esi + 0x3c]
call fcn.004f7e26
add esp, 0xc
mov edi, dword [esi + 0xa0]
push 0x4c
lea eax, [esi + 0xa4]
push eax
lea ebx, [esi + 0x1f8]
push ebx
call fcn.00527800
mov ecx, ebx
add esp, 0xc
mov ebx, dword [esi + 0x20]
cmp edi, 2
je 0x4c33d7
mov dword [esi + 0xa0], edi
push 0x4c
push ecx
lea eax, [esi + 0xa4]
push eax
call fcn.00527800
add esp, 0xc
mov dword [esi + 0x380], 0xa
push 0x50
pop ecx
push 8
pop edx
call fcn.004ebf96
push 0x50
lea ecx, [esi + 0xa0]
push ecx
mov dword [esi + 8], eax
push eax
call fcn.00527800
add esp, 0xc
mov ebx, dword [esi + 0x20]
lea ecx, [esi + 0x1f8]
push 0x40
lea eax, [esi + 0x178]
push eax
push ecx
call fcn.00527800
add esp, 0xc
mov eax, dword [esi + 0x15c]
movsd xmm0, qword [esi + 0x14c]
movsd xmm1, qword [esi + 0x154]
mov dword [esi + 0x170], eax
movsd qword [esi + 0x168], xmm1
movsd qword [esi + 0x160], xmm0
lock inc dword [ebx]
jle 0x4c356e
mov edi, dword [esi + 0x50]
movsd xmm1, qword [esi + 0x140]
mov eax, dword [esi + 0x148]
movsd xmm0, qword [esi + 0x138]
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 + 0xe0], xmm2
movsd qword [esi + 0xe8], xmm1
push 0x2c
pop eax
lea ecx, [esi + 0x318]
push eax
lea eax, [esi + 0x344]
push eax
push ecx
call fcn.00527800
add esp, 0xc
push 0x40
lea eax, [esi + 0x1f8]
push eax
lea ebx, [esi + 0xa0]
push ebx
call fcn.00527800
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 fcn.00527800
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 fcn.00527800
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.004065f5
mov eax, dword [esi + 0x378]
mov dword fs:[0], eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
ud2