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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x1c8
mov eax, dword [edx]
mov bl, byte [ecx + 0x2c]
lea edi, [ecx + 0x30]
mov esi, ecx
mov dword [esp + 4], ecx
mov dword [esp + 0x28], edi
mov dword [esp + 8], eax
test bl, bl
jne 0x4cc026
lea ecx, [esp + 0x130]
mov edx, edi
push dword [esp + 8]
call fcn.004cb5f0
pop eax
mov eax, dword [esp + 0x190]
cmp eax, 0x80000000
je 0x4cbf6b
cmp eax, 0x80000001
je 0x4cc139
cmp byte [esi + 0x2c], 0
jne 0x4cc14a
mov esi, dword [esi + 0x20]
mov eax, dword [esp + 0x1b8]
mov ecx, esi
mov dword [esp], eax
call fcn.0051ef26
push 0x88
lea eax, [esp + 0x134]
push eax
lea eax, [esp + 0xa8]
push eax
call fcn.00616830
add esp, 0xc
mov ecx, 0x240
push 8
pop edx
call fcn.005086b2
mov ebx, eax
push 0xc4
lea edi, [esp + 0x6c]
push edi
push eax
call fcn.00616830
add esp, 0xc
mov edx, dword [esp]
xor eax, eax
mov dword [ebx + 0xc4], esi
lea ecx, [esp + 0x38]
mov byte [ebx + 0xc9], al
mov dword [esp + 0x68], 3
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], 0x730ce0
mov byte [esp + 0x74], al
push edi
call fcn.004bc49c
pop eax
cmp dword [esp + 0x38], 4
je 0x4cc00e
mov eax, dword [0x7f50bc]
cmp eax, 2
jb 0x4cc00e
mov edi, dword [0x7f1ec8]
mov eax, dword [edi + 0x14]
mov ecx, dword [edi + 0x18]
mov dword [esp + 0x2c], 2
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
call fcn.00513e14
mov ebx, eax
mov esi, edx
lea eax, [esp + 0x2c]
push eax
push ebx
call dword [edx + 0xc]
add esp, 8
test al, al
je 0x4cc00e
mov eax, dword [esp + 0x34]
movsd xmm0, qword [esp + 0x2c]
mov dword [esp], esi
mov esi, dword [0x7f1ec8]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x50], eax
movsd qword [esp + 0x48], xmm0
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x4cbf8c
mov edx, dword [esi + 0x24]
mov ebx, dword [esi + 0x28]
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], edx
mov dword [esp + 0x74], ebx
and dword [esp + 0x78], 0
jmp 0x4cbf8e
mov byte [esi + 0x2c], 1
xor edx, edx
mov ecx, dword [esi + 0x20]
push 8
push 0x72e0b0
push 0
call fcn.0051ed0e
add esp, 0xc
mov bl, 1
jmp 0x4cbe0c
xor eax, eax
lea ebx, [esp + 0x54]
add esi, 0x1c
mov dword [esp + 0x68], eax
lea edx, [esp + 0x68]
mov ecx, ebx
push 0x738960
call fcn.0052f9f9
pop eax
xor ecx, ecx
mov dword [esp + 0x68], 0x7389a8
lea eax, [esp + 0x68]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x18], ebx
inc ecx
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x18]
mov dword [esp + 0x20], 0x737ff8
mov dword [esp + 0x6c], ecx
and dword [esp + 0x78], 0
mov dword [esp + 0x70], 0x7b0e68
and dword [esp + 0x74], 0
mov dword [esp + 0xc], eax
lea eax, [esp + 0xc]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], esi
mov ecx, edi
push eax
lea eax, [esp + 0x4c]
push eax
mov eax, dword [esp + 8]
push dword [eax + 0x10]
call fcn.005de194
add esp, 0xc
lea ecx, [esp + 0x38]
call fcn.004cb6c5
mov esi, dword [esp + 4]
mov edi, dword [esp + 0x28]
xor ebx, ebx
jmp 0x4cbe0c
mov eax, dword [0x7f50bc]
cmp eax, 4
jb 0x4cc139
mov esi, dword [0x7f1eb0]
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 0x18]
mov dword [esp + 0xc], 4
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
call fcn.00513e14
mov ecx, eax
mov edi, edx
lea eax, [esp + 0xc]
push eax
mov dword [esp + 0xc], ecx
push ecx
call dword [edx + 0xc]
add esp, 8
test al, al
je 0x4cc139
mov eax, dword [esp + 0x14]
movsd xmm0, qword [esp + 0xc]
mov ecx, dword [0x7f1eb0]
mov dword [esp], edi
mov dword [esp + 0x20], eax
movsd qword [esp + 0x18], xmm0
lea eax, [ecx + 0x1c]
mov edx, dword [ecx + 0x20]
mov dword [esp + 4], eax
test edx, edx
je 0x4cc0b8
mov eax, dword [ecx + 0x1c]
mov edi, dword [ecx + 0x24]
mov ecx, dword [ecx + 0x28]
mov dword [esp + 0x6c], edx
mov dword [esp + 0x70], edi
mov dword [esp + 0x74], ecx
and dword [esp + 0x78], 0
jmp 0x4cc0ba
xor eax, eax
lea edi, [esp + 0x68]
lea ecx, [esp + 0x130]
mov dword [edi], eax
mov edx, edi
push 0x7388e8
call fcn.0052f9f9
pop eax
lea eax, [esp + 0x130]
xor ecx, ecx
mov dword [edi], str.io_stream_is_done__shutting_down
mov edx, dword [esp + 8]
mov dword [esp + 0x54], eax
lea eax, [esp + 0x54]
inc ecx
mov dword [esp + 0x58], edi
mov dword [esp + 0x5c], 0x737ff8
mov dword [esp + 0x38], eax
mov eax, dword [esp + 4]
mov dword [edi + 4], ecx
and dword [edi + 0x10], 0
mov dword [edi + 8], 0x7b0e68
and dword [edi + 0xc], 0
mov dword [esp + 0x3c], ecx
mov ecx, esi
mov dword [esp + 0x40], eax
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x1c]
push eax
mov eax, dword [esp + 8]
push dword [eax + 0x10]
call fcn.005de194
add esp, 0xc
xor eax, eax
test bl, bl
sete al
xor edx, edx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
lea ecx, [esp + 0x68]
mov edx, 0x72e0a0
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
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x60
mov esi, dword [ebp + 8]
call 0x4cc188
pop ebx
mov ecx, esi
call fcn.005d7691
movzx eax, al
mov eax, dword [eax*4 + 0x4cc2d0]
add eax, ebx
jmp eax