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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x268
lea eax, [ecx + 0x40]
mov ebx, edx
lea edi, [esp + 0x50]
lea esi, [esp + 0x148]
mov dword [esp], ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0xc], eax
lea eax, [ecx + 0x28]
mov dword [esp + 0x10], eax
mov eax, dword [edx]
mov dword [esp + 0x34], eax
mov al, byte [ecx + 0x3c]
test al, al
jne 0x4ccb73
mov edx, dword [esp + 0x10]
mov ecx, edi
push ebx
call fcn.0048fb06
pop eax
movzx eax, byte [esp + 0x50]
cmp eax, 6
je 0x4cc87e
cmp eax, 5
je 0x4cc88b
jmp 0x4ccc2a
mov eax, dword [esp]
cmp byte [eax + 0x3c], 0
jne 0x4ccc22
mov edx, dword [esp + 0xc]
mov ecx, esi
push dword [esp + 0x34]
call fcn.004cb5f0
pop eax
mov eax, dword [esp + 0x1a8]
cmp eax, 0x80000000
je 0x4cc919
cmp eax, 0x80000001
je 0x4ccc22
push 0x88
push esi
lea eax, [esp + 0x1e0]
push eax
call fcn.00616830
add esp, 0xc
mov eax, dword [esp]
cmp byte [eax + 0x3c], 0
jne 0x4cced2
mov eax, dword [esp + 0x1d0]
and word [esp + 0x248], 0
lea ecx, [esp + 0x88]
lea edx, [esp + 0x1e0]
mov dword [esp + 8], eax
call fcn.0049e588
cmp dword [esp + 0x88], 0x80000000
jne 0x4cc927
mov ebx, dword [esp + 0x8c]
push 2
jmp 0x4cc9d8
mov eax, dword [esp]
mov byte [eax + 0x3c], 1
mov al, 1
jmp 0x4cc855
mov esi, dword [esp]
mov eax, dword [esp + 0x90]
movsd xmm0, qword [esp + 0x88]
mov ecx, dword [esi + 0x28]
mov edx, dword [esi + 0x2c]
mov dword [esp + 0x58], eax
movsd qword [esp + 0x50], xmm0
call fcn.0049ce52
mov dword [esp + 0x6c], edx
lea ecx, [esp + 0xa8]
mov edx, edi
mov dword [esp + 4], eax
call fcn.004554cf
mov ecx, dword [esi + 0x20]
mov edx, dword [esi + 0x24]
call fcn.004f9bc1
mov edi, eax
mov esi, edx
mov ecx, 0x178
push 8
pop edx
call fcn.005086b2
mov ebx, eax
push 0xc0
lea eax, [esp + 0x8c]
push eax
push ebx
call fcn.00616830
add esp, 0xc
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x6c]
mov dword [ebx + 0xc0], edi
mov dword [ebx + 0xc4], esi
lea edi, [esp + 0x50]
mov dword [ebx + 0xdc], eax
mov dword [ebx + 0xe0], ecx
and dword [ebx + 0xe4], 0
mov byte [ebx + 0xf2], 0
mov dword [esp + 0x90], 0x730cf0
push 3
pop esi
lea ecx, [esp + 0x1e0]
call fcn.0048d5d6
mov edx, dword [esp + 8]
lea eax, [esp + 0x88]
mov dword [esp + 0x88], esi
mov dword [esp + 0x8c], ebx
mov byte [esp + 0x94], 0
lea ecx, [esp + 0x74]
push eax
call fcn.004bc49c
pop eax
cmp dword [esp + 0x74], 4
mov ebx, dword [esp + 0x14]
lea esi, [esp + 0x148]
je 0x4ccb63
mov eax, dword [0x7f50bc]
cmp eax, 2
jb 0x4ccb63
mov edi, dword [0x7f1ec8]
mov eax, dword [edi + 0x14]
mov ecx, dword [edi + 0x18]
mov dword [esp + 0x44], 2
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], ecx
call fcn.00513e14
mov ecx, eax
lea eax, [esp + 0x44]
push eax
mov dword [esp + 8], ecx
push ecx
mov dword [esp + 0x10], edx
call dword [edx + 0xc]
add esp, 8
test al, al
je 0x4ccb5f
mov eax, dword [esp + 0x4c]
movsd xmm0, qword [esp + 0x44]
mov esi, dword [0x7f1ec8]
mov dword [esp + 0x40], eax
movsd qword [esp + 0x38], xmm0
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x4ccabd
mov edx, dword [esi + 0x24]
mov ebx, dword [esi + 0x28]
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], edx
mov dword [esp + 0x94], ebx
and dword [esp + 0x98], 0
jmp 0x4ccabf
xor eax, eax
lea ebx, [esp + 0x88]
add esi, 0x1c
mov dword [esp + 0x88], eax
lea ecx, [esp + 0x50]
mov edx, ebx
push 0x738960
call fcn.0052f9f9
pop eax
xor ecx, ecx
lea eax, [esp + 0x50]
mov dword [esp + 0x88], 0x7389a8
mov edx, dword [esp + 4]
inc ecx
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], 0x737ff8
mov dword [esp + 0x8c], ecx
and dword [esp + 0x98], 0
mov dword [esp + 0x90], 0x7b0e68
and dword [esp + 0x94], 0
mov dword [esp + 0x28], eax
lea eax, [esp + 0x28]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], esi
mov ecx, edi
push eax
lea eax, [esp + 0x3c]
push eax
mov eax, dword [esp + 0x10]
push dword [eax + 0x10]
call fcn.005de194
add esp, 0xc
mov ebx, dword [esp + 0x14]
lea esi, [esp + 0x148]
lea edi, [esp + 0x50]
lea ecx, [esp + 0x74]
call fcn.004cb6c5
xor eax, eax
jmp 0x4cc855
mov eax, dword [0x7f50bc]
xor edi, edi
cmp eax, 4
mov eax, 0
jb 0x4ccdcf
mov ebx, esi
mov esi, dword [0x7f1eb0]
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 0x18]
mov dword [esp + 0x28], 4
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], ecx
call fcn.00513e14
mov ecx, eax
mov edi, edx
lea eax, [esp + 0x28]
push eax
mov dword [esp + 4], ecx
push ecx
call dword [edx + 0xc]
add esp, 8
test al, al
je 0x4ccdcb
mov eax, dword [esp + 0x30]
movsd xmm0, qword [esp + 0x28]
mov ecx, dword [0x7f1eb0]
mov dword [esp + 0x10], edi
mov dword [esp + 0x20], eax
movsd qword [esp + 0x18], xmm0
lea eax, [ecx + 0x1c]
mov edx, dword [ecx + 0x20]
mov dword [esp + 0xc], eax
test edx, edx
je 0x4ccd54
mov eax, dword [ecx + 0x1c]
mov edi, dword [ecx + 0x24]
mov ecx, dword [ecx + 0x28]
mov dword [esp + 0x8c], edx
mov dword [esp + 0x90], edi
mov dword [esp + 0x94], ecx
and dword [esp + 0x98], 0
jmp 0x4ccd56
xor eax, eax
inc eax
jmp 0x4ccdcf
xor ebx, ebx
movsd xmm0, qword [esp + 0x60]
movsd xmm2, qword [esp + 0x50]
movsd xmm1, qword [esp + 0x58]
lea edx, [esp + 0x88]
lea edi, [esp + 0x74]
lea eax, [esp + 0x18]
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], fcn.00474af0
inc ebx
mov dword [edx], 0x72d8dc
mov ecx, edi
mov dword [edx + 4], ebx
and dword [edx + 0x10], 0
mov dword [edx + 8], eax
mov dword [edx + 0xc], ebx
movsd qword [esp + 0x158], xmm0
movsd qword [esp + 0x150], xmm1
movsd qword [esp + 0x148], xmm2
call fcn.0041be53
mov ecx, edi
call fcn.0048a405
mov ecx, esi
mov edi, eax
call fcn.004a2cc7
mov dword [esp + 0x70], edi
mov eax, dword [0x7f50bc]
cmp eax, 4
jb 0x4ccdcd
mov esi, dword [0x7f1ebc]
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 0x18]
mov dword [esp + 0x38], 4
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], ecx
call fcn.00513e14
mov ecx, eax
lea eax, [esp + 0x38]
push eax
mov dword [esp + 0x14], ecx
push ecx
mov dword [esp + 8], edx
call dword [edx + 0xc]
add esp, 8
test al, al
je 0x4ccdcd
mov eax, dword [esp + 0x40]
movsd xmm0, qword [esp + 0x38]
mov dword [esp + 0xc], esi
mov esi, dword [0x7f1ebc]
mov dword [esp + 0x30], eax
movsd qword [esp + 0x28], xmm0
mov ecx, dword [esi + 0x20]
mov eax, dword [esi + 0x1c]
mov edx, dword [esi + 0x24]
mov edi, dword [esi + 0x28]
test ecx, ecx
mov dword [esp + 8], eax
mov dword [esp + 0x14], edx
mov dword [esp + 4], edi
mov dword [esp + 0x34], ecx
je 0x4ccdd9
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], edx
mov dword [esp + 0x94], edi
and dword [esp + 0x98], 0
jmp 0x4ccddd
xor eax, eax
lea edi, [esp + 0x88]
mov ecx, ebx
mov dword [edi], eax
mov edx, edi
push 0x7388e8
call fcn.0052f9f9
pop eax
xor eax, eax
lea ecx, [esp + 0x50]
mov dword [edi], str.io_stream_is_done__shutting_down
mov edx, dword [esp]
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], 0x737ff8
inc eax
mov dword [esp + 0x74], ecx
mov ecx, esi
mov dword [edi + 4], eax
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0xc]
and dword [edi + 0x10], 0
mov dword [edi + 8], 0x7b0e68
and dword [edi + 0xc], 0
mov dword [esp + 0x7c], eax
lea eax, [esp + 0x74]
push eax
lea eax, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x18]
push dword [eax + 0x10]
call fcn.005de194
add esp, 0xc
xor edi, edi
xor eax, eax
mov edx, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
xor ebx, ebx
xor eax, eax
lea edi, [esp + 0x88]
add esi, 0x1c
lea ecx, [esp + 0x74]
mov dword [edi], eax
mov edx, edi
push 0x738920
call fcn.0052f9f9
pop eax
mov eax, dword [esp + 0x34]
mov dword [edi], str.io_stream_hit_an_error__shutting_down
mov dword [edi + 4], 1
and dword [edi + 0x10], 0
mov dword [edi + 8], 0x7b0e68
and dword [edi + 0xc], 0
mov ecx, 0
cmp ebx, eax
jae 0x4cce4b
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 4]
mov dword [esp + 0x14c], eax
mov dword [esp + 0x150], edx
mov dword [esp + 0x154], ecx
mov ecx, dword [esp + 8]
mov dword [esp + 0x158], ebx
lea ebx, [esp + 0x148]
mov dword [ebx], ecx
lea ecx, [esp + 0x50]
mov edx, ebx
push 0x738920
call fcn.0052f9f9
pop eax
lea eax, [esp + 0x74]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], 2
mov dword [esp + 0x20], esi
lea esi, [esp + 0x70]
mov dword [ebx], eax
lea eax, [esp + 0x50]
mov dword [ebx + 4], edi
mov dword [ebx + 8], 0x737ff8
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], 0x739a44
mov dword [ebx + 0xc], eax
lea eax, [esp + 0x44]
mov dword [ebx + 0x10], eax
lea eax, [esp + 0x18]
mov dword [ebx + 0x14], 0x73854c
push eax
lea eax, [esp + 0x2c]
push eax
mov eax, dword [esp + 8]
push dword [eax + 0x10]
call fcn.005de194
add esp, 0xc
mov edi, dword [esi]
jmp 0x4ccdcd
lea ecx, [esp + 0x88]
mov edx, 0x72d8b8
mov dword [ecx], 0x738b60
mov dword [ecx + 4], 1
and dword [ecx + 0x10], 0
mov dword [ecx + 8], 0x7b0e68
and dword [ecx + 0xc], 0
call fcn.0062d360
int3