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

Disassembly:
push 0xffffffffffffffff
push 0x628a10
mov eax, dword fs:[0]
push eax
sub esp, 0x54
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6e377c]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov eax, dword [esp + 0x80]
mov ebp, dword [esp + 0x78]
cmp byte [esp + 0x88], 0
jne 0x4d3acd
xor esi, esi
push str.FilterWithBufferedInput
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], esi
mov byte [esp + 0x28], 0
call fcn.005b5460
add esp, 4
push eax
push str.FilterWithBufferedInput
lea ecx, [esp + 0x28]
call fcn.00402853
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x40]
push ecx
mov dword [esp + 0x78], esi
call fcn.004d5330
push 0x6b04ac
lea edx, [esp + 0x40]
push edx
call fcn.005bb775
test eax, eax
je 0x4d3cec
cmp byte [ebp + 0x24], 0
mov ecx, dword [ebp + 0x3c]
lea ebx, [ecx + eax]
jne 0x4d3b55
mov eax, dword [ebp + 0x18]
lea edi, [ebp + 0x18]
cmp ebx, eax
jb 0x4d3b4b
sub eax, ecx
push eax
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x80]
lea esi, [ebp + 0x28]
push eax
call fcn.004d3790
mov eax, dword [ebp]
add eax, 0xc4
mov ecx, esi
mov dword [esp + 0x80], eax
call fcn.004d36b0
mov edx, dword [esp + 0x80]
push eax
mov eax, dword [edx]
mov ecx, ebp
call eax
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ebp + 0x20]
lea eax, [edx + ecx*2 - 2]
xor edx, edx
div ecx
push ecx
mov edi, eax
call fcn.004d3640
mov eax, dword [esp + 0x78]
add dword [esp + 0x7c], eax
sub ebx, dword [ebp + 0x18]
mov byte [ebp + 0x24], 1
cmp byte [ebp + 0x24], 0
je 0x4d3cdb
mov eax, dword [ebp + 0x1c]
cmp eax, 1
jne 0x4d3bd4
cmp ebx, dword [ebp + 0x20]
jbe 0x4d3ba0
cmp dword [ebp + 0x3c], 0
jbe 0x4d3ba0
mov ecx, ebx
sub ecx, dword [ebp + 0x20]
lea edi, [esp + 0x80]
mov dword [esp + 0x80], ecx
lea ecx, [ebp + 0x28]
call fcn.004d36b0
mov esi, dword [esp + 0x80]
mov edx, dword [ebp]
push esi
push eax
mov eax, dword [edx + 0xd0]
mov ecx, ebp
call eax
sub ebx, esi
cmp ebx, dword [ebp + 0x20]
ja 0x4d3b62
mov eax, dword [ebp + 0x20]
cmp ebx, eax
jbe 0x4d3cdb
mov esi, ebx
sub esi, eax
cmp byte [esp + 0x8c], 0
push esi
je 0x4d3cc0
mov edx, dword [ebp]
mov eax, dword [esp + 0x80]
mov edx, dword [edx + 0xd0]
push eax
jmp 0x4d3cd1
mov ecx, dword [ebp + 0x20]
add ecx, eax
cmp ebx, ecx
jb 0x4d3c3d
lea ecx, [ecx]
cmp dword [ebp + 0x3c], eax
jb 0x4d3c3d
mov eax, dword [ebp + 0x3c]
mov edx, dword [ebp + 0x34]
cmp eax, edx
jb 0x4d3c1b
mov ecx, dword [ebp + 0x40]
mov esi, dword [ebp + 0x30]
mov edi, dword [ebp + 0x2c]
mov dword [esp + 0x80], ecx
add ecx, edx
add edi, esi
mov dword [ebp + 0x40], ecx
cmp ecx, edi
jne 0x4d3c0d
mov dword [ebp + 0x40], esi
sub eax, edx
mov dword [ebp + 0x3c], eax
mov eax, dword [esp + 0x80]
jmp 0x4d3c1d
xor eax, eax
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ebp]
mov edx, dword [edx + 0xd0]
push ecx
push eax
mov ecx, ebp
call edx
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x20]
sub ebx, eax
add ecx, eax
cmp ebx, ecx
jae 0x4d3be0
mov edi, dword [ebp + 0x1c]
mov edx, dword [ebp + 0x20]
add edx, edi
cmp ebx, edx
jb 0x4d3c84
mov eax, dword [ebp + 0x3c]
test eax, eax
jbe 0x4d3c84
sub edi, eax
mov eax, dword [esp + 0x7c]
push edi
lea esi, [ebp + 0x28]
push eax
call fcn.004d3790
mov ecx, dword [ebp + 0x1c]
add dword [esp + 0x7c], edi
mov edi, dword [ebp]
push ecx
mov ecx, esi
add edi, 0xd0
call fcn.004d3670
mov edx, dword [edi]
push eax
mov ecx, ebp
call edx
mov edi, dword [ebp + 0x1c]
sub ebx, edi
mov eax, dword [ebp + 0x20]
lea ecx, [eax + edi]
cmp ebx, ecx
jb 0x4d3cdb
mov edx, ebx
sub edx, eax
lea ecx, [ebp + 0x1c]
lea eax, [esp + 0x80]
mov dword [esp + 0x80], edx
call fcn.004d50a0
cmp byte [esp + 0x8c], 0
mov esi, eax
push esi
je 0x4d3cc0
mov eax, dword [ebp]
mov edx, dword [eax + 0xd0]
jmp 0x4d3cc9
mov eax, dword [ebp]
mov edx, dword [eax + 0xcc]
mov ecx, dword [esp + 0x80]
push ecx
mov ecx, ebp
call edx
add dword [esp + 0x7c], esi
sub ebx, esi
sub ebx, dword [ebp + 0x3c]
mov eax, dword [esp + 0x7c]
push ebx
push eax
lea esi, [ebp + 0x28]
call fcn.004d3790
cmp dword [esp + 0x84], 0
je 0x4d3de4
cmp byte [ebp + 0x24], 0
jne 0x4d3d15
cmp dword [ebp + 0x18], 0
jne 0x4d3d15
mov edx, dword [ebp]
mov eax, dword [edx + 0xc4]
push 0
mov ecx, ebp
call eax
mov edi, dword [ebp + 0x3c]
push edi
mov dword [esp + 0x90], edi
mov dword [esp + 0x1c], edi
call fcn.004d1ee0
add esp, 4
test edi, edi
jne 0x4d3d34
xor ebx, ebx
jmp 0x4d3d3f
push edi
call fcn.004dadd0
add esp, 4
mov ebx, eax
mov dword [esp + 0x1c], ebx
lea esi, [ebp + 0x28]
push ebx
mov dword [esp + 0x74], 1
call fcn.004d3700
mov edx, dword [ebp]
mov eax, dword [edx + 0xd4]
push edi
push ebx
mov ecx, ebp
call eax
mov edi, dword [ebp + 0x18]
push edi
mov ecx, esi
mov byte [ebp + 0x24], 0
call fcn.004d1c10
mov eax, dword [esi + 8]
mov dword [esi + 0x18], eax
mov dword [esi + 0xc], 1
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], 0
mov edx, dword [ebp]
mov esi, dword [esp + 0x84]
mov eax, dword [edx + 0xa4]
mov ecx, ebp
dec esi
call eax
mov ecx, dword [esp + 0x88]
mov edx, dword [eax]
mov edx, dword [edx + 0x88]
push ecx
push esi
push 0
push 0
push 0x6e9218
mov ecx, eax
call edx
xor ecx, ecx
test eax, eax
setne cl
xor al, al
mov edi, ebx
push ebx
mov dword [ebp + 0x14], ecx
mov ecx, dword [esp + 0x90]
mov dword [esp + 0x74], 0xffffffff
rep stosb byte es:[edi], al
call fcn.005b5a6b
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret 0x18