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

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x30]
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], edx
mov dword [ebp - 8], ecx
cmp dword [ebp - 4], 0
je 0x4c9ae8
cmp dword [ebp + 0xc], 0
je 0x4c9ae8
push dword [ebp + 0xc]
push dword [ebp + 8]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov eax, 0x574f30
call fcn.004c8540
test edx, edx
jge 0x4c9ae8
mov ecx, dword [str.The_examined_position_must_be_greater_than_or_equal_to_the_consumed_position]
mov edx, 1
mov eax, 0x5129e4
call fcn.00430fb0
mov edx, 0x4c9ac6
mov ecx, ebp
call fcn.00413470
nop
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov byte [ebp - 0x18], 0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 8]
call fcn.0046a010
xor eax, eax
push fcn.004c9a80
push ebp
push 0x4135b0
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp + 0xc]
cmp eax, dword [edx + 0x8c]
jne 0x4c9b37
mov eax, dword [ebp + 8]
cmp eax, dword [edx + 0x90]
jne 0x4c9b37
mov byte [ebp - 0x2c], 1
jmp 0x4c9b3b
mov byte [ebp - 0x2c], 0
cmp dword [ebp + 0xc], 0
je 0x4c9c48
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x7c], 0
jl 0x4c9c48
mov eax, dword [ebp - 0xc]
push dword [eax + 0x7c]
push dword [eax + 0x78]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov eax, 0x574f30
call fcn.004c8570
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edx
test edx, edx
jge 0x4c9b98
mov ecx, dword [str.The_examined_position_cannot_be_less_than_the_previously_examined_position]
mov edx, 1
mov eax, 0x5129e4
call fcn.00430fb0
mov edx, 0x4c9b75
mov ecx, ebp
call fcn.00413470
mov esi, esi
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 0x68]
mov eax, dword [eax + 0x6c]
cmp eax, dword [ebp - 0x24]
jl 0x4c9bad
jg 0x4c9bd0
cmp edx, dword [ebp - 0x28]
jae 0x4c9bd0
mov ecx, dword [str.The_examined_position_cannot_be_less_than_the_previously_examined_position]
mov edx, 1
mov eax, 0x5129e4
call fcn.00430fb0
mov edx, 0x4c9bad
mov ecx, ebp
call fcn.00413470
mov esi, esi
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0x68]
mov dword [ebp - 0x20], eax
mov eax, dword [edx + 0x6c]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 0x68]
mov ecx, dword [eax + 0x6c]
sub edx, dword [ebp - 0x28]
sbb ecx, dword [ebp - 0x24]
mov dword [eax + 0x68], edx
mov dword [eax + 0x6c], ecx
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov eax, edx
sar eax, 0x1f
add edx, dword [ecx + 0x30]
adc eax, dword [ecx + 0x34]
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 0x78], edx
mov dword [ecx + 0x7c], eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0x18]
mov eax, dword [ecx + 0x1c]
cmp eax, dword [ebp - 0x1c]
jl 0x4c9c23
jg 0x4c9c48
cmp edx, dword [ebp - 0x20]
ja 0x4c9c48
cmp eax, dword [ecx + 0x6c]
jg 0x4c9c2f
jl 0x4c9c48
cmp edx, dword [ecx + 0x68]
jbe 0x4c9c48
mov byte [ebp - 0x18], 1
mov eax, dword [ebp - 0xc]
and byte [eax + 0x29], 0xfe
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x40]
call fcn.0046a2c0
lea esi, [esi]
cmp dword [ebp - 4], 0
je 0x4c9d8c
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x84], 0
jne 0x4c9c84
mov ecx, dword [str.The_PipeReader_has_already_advanced_past_the_provided_position]
mov edx, 1
mov eax, 0x5129e4
call fcn.00430fb0
mov edx, 0x4c9c5e
mov ecx, ebp
call fcn.00413470
jmp 0x4c9e00
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x84]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x14], eax
mov eax, dword [eax + 0x28]
cmp eax, dword [ebp - 8]
jne 0x4c9d71
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x94]
cmp eax, dword [ebp - 0x14]
je 0x4c9cbc
mov eax, ebp
call fcn.004c9e20
jmp 0x4c9d89
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0xa4], 0
jne 0x4c9d57
mov eax, dword [ebp - 0xc]
call fcn.004c90c0
test al, al
jne 0x4c9d12
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x94], 0
mov edx, dword [ebp - 0xc]
mov eax, dword [0x4fd760]
mov dword [edx + 0x98], eax
mov eax, dword [0x4fd764]
mov dword [edx + 0x9c], eax
mov eax, dword [0x4fd768]
mov dword [edx + 0xa0], eax
mov eax, ebp
call fcn.004c9e20
jmp 0x4c9d89
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0x90]
mov eax, edx
sar eax, 0x1f
mov dword [ecx + 0x78], edx
mov dword [ecx + 0x7c], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x94]
mov dword [eax + 0x30], 0
mov dword [eax + 0x34], 0
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
mov dword [eax + 0x84], edx
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
mov dword [eax + 0x88], edx
jmp 0x4c9d89
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov dword [edx + 0x84], eax
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov dword [edx + 0x88], eax
jmp 0x4c9d89
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov dword [edx + 0x84], eax
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov dword [edx + 0x88], eax
lea esi, [esi]
cmp byte [ebp - 0x2c], 0
je 0x4c9dda
mov eax, dword [ebp - 0xc]
test byte [eax + 0x29], 4
jne 0x4c9dda
mov eax, dword [ebp - 0xc]
or byte [eax + 0x28], 1
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x3c]
call fcn.0046a2b0
lea esi, [esi]
jmp 0x4c9dda
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x10]
call fcn.004c8490
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
call fcn.004c94b0
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x4c9de6
cmp eax, dword [ebp - 0x14]
jne 0x4c9db8
mov eax, dword [ebp - 0xc]
call fcn.004c9060
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.004c9a80
jmp 0x4c9e07
call fcn.00403710
jmp 0x4c9e18
cmp byte [ebp - 0x18], 0
je 0x4c9e18
mov eax, dword [ebp - 0xc]
call fcn.004ca170
lea esi, [esi]
mov esp, ebp
pop ebp
ret 8