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

Disassembly:
push ebp
xor ecx, ecx
push edi
push esi
push ebx
sub esp, 0x5c
xor ebx, ebx
movzx edx, byte [esp + 0x98]
mov dword [esp + 0x58], ebx
mov ebp, dword [esp + 0x7c]
mov dword [esp + 0x50], ecx
mov esi, dword [esp + 0x70]
mov byte [esp + 0x4b], dl
mov byte [ebp], 0
mov eax, dword [0x42dc7c]
mov edx, dword [esp + 0x88]
mov dword [edx], eax
jmp 0x41f92e
mov dword [esp + 4], esi
mov dword [esp], edx
call sym._ungetc
xor eax, eax
test al, al
jne 0x41f9b8
mov dword [esp], esi
call sym._scan_eoln
mov edi, dword [esi + 4]
dec edi
test edi, edi
mov dword [esi + 4], edi
js 0x41fa01
mov eax, dword [esi]
movzx ebx, byte [eax]
inc eax
mov dword [esi], eax
cmp ebx, 0xffffffff
mov eax, 1
je 0x41f96c
mov dword [esp + 4], esi
mov dword [esp], ebx
call sym._ungetc
cmp ebx, 0xa
sete cl
cmp ebx, 0xd
sete al
or eax, ecx
and eax, 1
test al, al
je 0x41f9b8
test byte [esi + 0xc], 0x10
mov eax, 1
jne 0x41f91e
mov ebx, dword [esi + 4]
dec ebx
test ebx, ebx
mov dword [esi + 4], ebx
js 0x41fa10
mov edi, dword [esi]
movzx edx, byte [edi]
inc edi
mov dword [esi], edi
cmp edx, 0xffffffff
jne 0x41f910
mov dword [esp + 4], esi
mov dword [esp], 0xffffffff
call sym._ungetc
mov eax, 1
test al, al
je 0x41f926
test byte [esi + 0xc], 0x10
mov eax, 1
jne 0x41f9f1
mov edx, dword [esi + 4]
dec edx
test edx, edx
mov dword [esi + 4], edx
js 0x41fc9d
mov eax, dword [esi]
movzx edx, byte [eax]
inc eax
mov dword [esi], eax
cmp edx, 0xffffffff
je 0x41fc74
mov dword [esp + 4], esi
mov dword [esp], edx
call sym._ungetc
xor eax, eax
test al, al
je 0x41fa1f
mov byte [ebp], 1
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp], esi
call sym.__filbuf
mov ebx, eax
jmp 0x41f945
mov dword [esp], esi
call sym.__filbuf
mov edx, eax
jmp 0x41f992
mov dword [esp + 8], esi
lea edi, [esp + 0x58]
lea ebx, [esp + 0x57]
mov dword [esp + 4], edi
jmp 0x41fa39
mov dword [esp + 8], esi
mov dword [esp + 4], edi
mov dword [esp], ebx
call sym._getch
cmp byte [esp + 0x57], 0x28
jne 0x41fa31
mov ecx, dword [esp + 0x8c]
test ecx, ecx
je 0x41fa5d
mov edx, dword [esp + 0x8c]
mov byte [edx], 1
movzx edx, byte [esp + 0x4b]
mov dword [esp + 0x18], ebp
mov eax, dword [esp + 0x9c]
mov dword [esp + 8], ebx
mov ecx, dword [esp + 0x94]
xor ebx, ebx
mov dword [esp + 0x10], esi
mov ebp, dword [esp + 0x74]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x8c]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0x34], ecx
lea ecx, [esp + 0x50]
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x84]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x20], edx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0xc], edi
mov dword [esp + 4], ebx
mov dword [esp], ebp
call sym._addelement
jmp 0x41fafd
mov dword [esp + 4], esi
mov dword [esp], edx
call sym._ungetc
xor eax, eax
test al, al
jne 0x41fb90
mov dword [esp], esi
call sym._scan_eoln
mov edi, dword [esi + 4]
dec edi
test edi, edi
mov dword [esi + 4], edi
js 0x41fc65
mov ebp, dword [esi]
movzx ebx, byte [ebp]
inc ebp
mov dword [esi], ebp
cmp ebx, 0xffffffff
mov eax, 1
je 0x41fb44
mov dword [esp + 4], esi
mov dword [esp], ebx
call sym._ungetc
cmp ebx, 0xa
sete cl
cmp ebx, 0xd
sete al
or eax, ecx
and eax, 1
test al, al
je 0x41fb90
test byte [esi + 0xc], 0x10
mov eax, 1
jne 0x41faf5
mov ebx, dword [esi + 4]
dec ebx
test ebx, ebx
mov dword [esi + 4], ebx
js 0x41fc8e
mov eax, dword [esi]
movzx edx, byte [eax]
inc eax
mov dword [esi], eax
cmp edx, 0xffffffff
jne 0x41fae7
mov dword [esp + 4], esi
mov dword [esp], 0xffffffff
call sym._ungetc
mov eax, 1
test al, al
je 0x41fafd
mov esi, dword [esp + 0x80]
test esi, esi
je 0x41fba5
mov edx, dword [esp + 0x80]
mov byte [edx], 0
mov edi, dword [esp + 0x58]
test edi, edi
je 0x41f9f9
mov dword [esp], str._n_nERROR_in_tree_file:_unmatched_parentheses_n
call sym._puts
mov dword [esp], str.Press_enter_to_quit.
call sym._puts
mov ebx, dword [sym.imp.msvcrt.dll__iob]
add ebx, 0x20
mov dword [esp], ebx
call sym._fflush
mov ecx, dword [sym.imp.msvcrt.dll__iob]
mov ebp, dword [ecx + 4]
dec ebp
mov dword [ecx + 4], ebp
test ebp, ebp
js 0x41fcac
mov eax, dword [sym.imp.msvcrt.dll__iob]
inc dword [eax]
cmp byte [0x42d018], 0
je 0x41fc59
movsx edx, word [0x42dbfe]
mov eax, dword [0x42db8c]
movsx ebp, word [0x42dbfc]
movzx esi, word [0x42dc04]
mov dword [esp], eax
imul ebp, edx
mov dword [esp + 4], esi
call sub.KERNEL32.dll_SetConsoleTextAttribute
movzx edi, word [0x42dc04]
sub esp, 8
mov edx, dword [0x42db8c]
mov dword [esp + 8], ebp
lea ebx, [esp + 0x4c]
xor ecx, ecx
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], ecx
mov dword [esp + 4], edi
mov dword [esp], edx
call sub.KERNEL32.dll_FillConsoleOutputAttribute
sub esp, 0x14
mov dword [esp], 0xffffffff
call sym._exit
mov dword [esp], esi
call sym.__filbuf
mov ebx, eax
jmp 0x41fb1d
mov dword [esp + 4], esi
mov dword [esp], 0xffffffff
call sym._ungetc
mov eax, 1
jmp 0x41f9f1
mov dword [esp], esi
call sym.__filbuf
mov edx, eax
jmp 0x41fb6a
mov dword [esp], esi
call sym.__filbuf
mov edx, eax
jmp 0x41f9da
mov esi, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp], esi
call sym.__filbuf
jmp 0x41fbf6